- Design / Prototype
- Create Dictionary Objects
- Create Interface View (CDS)
- Business Object Generation (CDS – Object Model Annotations )
- Generated Business Object
- BOPF – Development
- Test BOPF Object using BOBT
- Access Control (CDS)
- Consumption View (CDS)
- OData Service Generation and Registration
- Test OData Service using SAP Gateway Client
- 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
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.