SAP ABAP Data Element SCEN_MODE (Mode for Switchable Authorization Checks Scenario)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC (Application Component) Security
     SECU_ABAP (Package) Security and Protection of ABAP Programs
Basic Data
Data Element SCEN_MODE
Short Description Mode for Switchable Authorization Checks Scenario  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SCEN_MODE    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short Mode 
Medium Chk Mode 
Long 22 Check Mode f. Scenario 
Heading  
Documentation

Definition

The check status for each object influences the valuation of the result of a scenario-based authority check.
After the authority check with the statement AUTHORITY-CHECK OBJECT, the check result is returned in accordance with the following rules:

  • X - Actively check without restrictions
    The result of the scenario-based authority check for this object is identical to the general authority check.
  • N - Checks disabled (always passes)
    The result of the scenario-based authority check for this object is always passed (return code 0), irrespective of the available authorizations.
  • W - Failed checks result in warnings
    If the authority check for this object fails, warning message 100 of the message class is displayed. The value for the check status is then successful (return code 0).
  • O - Entry is obsolete
    The object is marked as not-relevant for this scenario.
    The result of the scenario-based authorization check for this object is identical to the check status X.
    This status is particularly useful for scenarios in learning mode, to avoid iterative maintenance processes.
  • U = Undefined
    The object was added to the object list of the scenario, but it has not yet been possible to determine the check status. The result of the scenario-based authorization check for this object is identical to the check status X.

Use

Dependencies

The check status for the object has no effect, if the scenario status is set to the value 'I - scenario in status "Inactive" (ignore all checks)'.

The check status is only relevant if the uathorization check is performed with the method call CL_SACF=> AUTH_CHECK_SPEC( ).

Example

History
Last changed by/on SAP  20141013 
SAP Release Created in 740