Using the BOPF test environment, you can test not only the CRUD of business object instances,
but also execute the action (which you implemented and activated in the previous
step) to check whether it runs correctly.
Procedure
- Launch the BOPF Test Environment in ABAP Development Tools
- Test the Action
- To test the action that you implemented in the previous step, create a node for the business object in the editor pane.
- Then choose Execute Action from the toolbar and click the proposed
action SET_TO_PAID.
Figure 1:
Testing action SET_TO_PAID in the BOPF test shell
As a result of action execution, the attributes
billing_status and
overall_status display the new value
P (
PAID).
Figure 2:
Results of action execution
Results
With only a few clicks, you have verified that the action works fine and you can now save the changes you have made or discard them.
To finish a test session, close the test environment.