Customizing Scenario-Based Authorizations

Development can deliver scenarios in applications. To activate the scenarios in the application, create productive scenarios from the scenario definitions delivered by development.

Prerequisites

You have a user with the required authorizations.

Context

Scenarios enable developers to deliver alternative authorization checks for specific scenarios. The scenarios do not change the behavior of the application until you make the scenarios productive. The scenario definition defines the authorization objects used and how the system should check them. In the productive scenario, you can override the authorization status suggested by developer in the scenario definition.

Productive scenarios are customizing objects, which you can transfer through your landscape.

Procedure

  1. Start Compare Active Scenarios for Switchable Authorizations (transaction SACF_COMPARE).
  2. Determine the comparison method.
    Option Description
    Set initial values

    Choose this option to copy the configuration of the scenario definition to the productive scenario. If there is already a productive scenario, this option overwrites any content.

    Automatic comparison with scenario definitions

    Choose this option to automatically create the productive scenario. It sets the scenario status, security audit log status, and assignment of any authorization objects and their status in the productive scenario to that of the scenario definition. This option cannot overwrite existing values.

    Manual comparison with scenario definitions

    Choose this option to open the productive scenario in editing mode. Manually set the scenario status, security audit log status, change the authorization objects, and change the status of the authorization objects.

  3. Enter selection parameters.
  4. Choose Execute Object (Execute).
  5. Select a scenario definition and choose the action according to the comparison method.

    You chose the option to...

    Then...

    Set initial values

    Choose the SAP Menu Initialize pushbutton.

    Automatic comparison with scenario definitions

    Choose the SAP Menu Automatic Comparison pushbutton.

    Manual comparison with scenario definitions

    Double-click an active scenario and edit the data as required.

Next Steps

Once you have customized and tested the productive scenario, you can transport it to other systems in your landscape.