Creating Productive Scenarios for Testing
Test your solution with a productive scenario to make sure the solution you developed works as you expect. You can also record the authorization objects used in your scenario for inclusion in your scenario definition.
Prerequisites
The scenario defintion has the status inactive (P).
Context
Procedure
- Start Workbench for Switchable Authorization Check Scenarios (transaction SACF).
- Select Scenario Definition.
- Enter selection parameters.
- Choose
(Execute). - Select a scenario definition and choose
(Display <-> Change). - Choose
Scenario. - Set the initial status of the productive scenario.
Status
Description
Active
When the system runs through authorization checks for the scenario the result of the authorization check is in accordance with the object list of the scenario. If an authorization check is performed on an object that is not part of the object list, the result of the authorization check is the same as with the statement AUTHORITY-CHECK OBJECT.
Logging
When the system runs through the authorization checks for the scenario, it records them in the trace. Regardless of the result of the authorization check, the result is always positive.
Next Steps
Test your application with the productive scenario. To effectively test your scenario, you must add the relevant authorization objects. Depending on the scenario status you chose, the system does this automatically during testing. Otherwise you must add the authorization objects manually.