Ansicht
Dokumentation

EHHSS_CREATE_AC_LVL - Create Incident Access Levels

EHHSS_CREATE_AC_LVL - Create Incident Access Levels

Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

In this organizational activity, you can learn about creating access levels in the incident management of Environment, Health, and Safety.

To create incident access levels that can be used to toggle visibility of incident UI elements, proceed as follows.

  1. Start transaction SE11.
  2. Select the Domainradio button and then in the text field enter EHHSS_INC_ACCESS_LEVEL_CODE.
  3. Choose the Changepushbutton.
  4. Open the Value Range tab.
  5. Insert a new row in the Single Vals table and then proceed as follows:
  • In the Fix. Val. field, enter a code for the access level that is used internally in the business logic.

  • In the Short Description field enter a name of the access level.

  1. Save your entries.
  2. Open the Gotomenu and then choose Fixed Value Append.
  3. In the Append Name field enter the name of the append structure that you want to create.]
This structure is used to decouple the business logic of the standard delivery and the custom implementation. It also hosts the implementation of all user-defined access levels.
  1. Enter a description of the append structure and then in the Single Vals table enter the fixed vallue and the short description of the access level that you specified above.
  2. Save and activate your entries.

The procedure above is sufficient to create an access level with which you can control the visilibility of incident UI elements by assigning this access level to them. Note that the UI elements will be hidden for the users but they can still be reached programatically in the background. However, if you want to additionally restrict the access to concrete fields, you should implement your own business logic for the newly specified access level. To do this, you can use the business add-in (BAdI) for authorization. For more information, see the documentation of the BAdI: Extended Authorization Checks.

  1. Insert a new row in the Single Vals table and then proceed as follows:
  • In the Fix. Val. field, enter 005.

  • In the Short Description field enter Financial Access.

  1. Open the Gotomenu and then choose Fixed Value Append.
  2. In the Append Name field enter ZEHHSS_INC_ACCESS_LEVEL_CODE.
  3. Using BAdI: Extended Authorization Checks, implement in the ZEHHSS_INC_ACCESS_LEVEL_CODE structure your own enhanced business logic for handling access to financial-related data.

For more information about managing visibility of incident tabs by assigning access levels to the corresponding tabbed UIBB components, see the documentation of the Assign Access Level to Tabs activity.






CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4164 Date: 20240523 Time: 180233     sap01-206 ( 56 ms )