Test your solution with an active 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.
Context
Note
Active scenarios are client-independent customizing objects in SAP NetWeaver Application Server ABAP.
Procedure
- Start Workbench for Switchable Authorization Check Scenarios
(transaction SACF).
- Select Scenario definition.
- Enter selection parameters.
- Choose (Execute).
- Select a scenario definition and choose (Show <-> Change).
- Determine if you want to record the authorization checks in the security audit
log.
By default, the scenario does not record authorization checks in the security audit log.
Enable the checks for troubleshooting and testing, so that the security
audit log can return information about the user ID, the terminal, and the
authorization objects involved. In productive systems, only enable the
security audit log for critical processes for which you want information
about authorization checks that failed. Activate the security audit log only
in exceptional circumstances.
For more information, see the F1 help for the SAL
Status field.
- Choose
Active Scenario.
Next Steps
Test your application with the active 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.