Test BOPF object using BOBT
April 9, 2019

  1. Design / Prototype
  2. Create Dictionary Objects
  3. Create Interface View (CDS)
  4. Business Object Generation (CDS – Object Model Annotations )
  5. Generated Business Object
  6. BOPF – Development
  7. Test BOPF Object using BOBT
  8. Access Control (CDS)
  9. Consumption View (CDS)
  10. OData Service Generation and Registration
  11. Test OData Service using SAP Gateway Client
  12. UI development

This blog showcase Business object testing using transaction BOBT. Step number and count mentioned is very specific (not a generic sequence) to the application scenario. It is just to show, how to carry out the different activities in BOBT.

Step 1: Go to Transaction ‘BOBT

Step 2: Enter the Business Object name as shown below

Step 3: Click on ‘New Entry’ to create new instance of the node.

As soon as a new node instance is created the determination to get Phone Book ID is executed and the same is assigned and updated along with admin data.

Step 4: If you have header level validation the enter wrong value to trigger the error message. In this scenario, invalid E-Mail ID is entered and the validation check fails.

Step 5: Go to Item Node. You can navigate to an item using the association or by instance tree in the left pane.

Step 6: Create item node instance and If you have item level validation the enter wrong value to trigger the error message. In this scenario, the invalid telephone number is entered and the validation check fails.

Step 7: Navigate back to Parent Node, using Back or Association or Node Tree.

Step 8: Select the node and Activate it. It will prepare the node for persistence.

Step 9: Save the transaction to persist the entry.

Step 10: Verify the entries persisted in database.

Step 11: Go to BOBT and open the Business Object, then use the Alternative Key Phone Book ID to get the node instance.

Step 12: If you have any add-on action for the given business object then execute the same. In this scenario, node instance is selected and COPY is executed. Activate and save the data, then check the new entry in database.

<< Top