Ansicht
Dokumentation
SRP_SA_6 - Business Add-In: Structural Authorization
rdisp/max_wprun_time - Maximum work process run time PERFORM Short ReferenceThis documentation is copyright by SAP AG.
This Business Add-In implements customer-specific authorization checks.
In the BAdI, you can display sample implementation coding under Goto -> Display Sample Coding.
You can also view this sample coding in the Class Builder (SE24), by displaying the class CL_EXM_IM_HRBAS00_STRUAUTH and the corresponding methods.
After the customizing activity has started, the system first opens a dialog box for entering a name for the implementation.
If an implementation for this BAdI has already been created, the system opens a dialog box showing existing implementations. In this dialog box, choose Create and continue as described in step 1.
- In the Implementation field in the dialog box, enter a name for the implemenation of the BAdI and then choose Create.
- The system opens up the initial screen for creating BAdI implementations.
- In the Short text for implementation field on this screen, enter a short text for the implementation.
- Then choose the Interface tab page.
- On the tab page the field Name of the implementation class has been filled automatically, since the system assigns a class name on the basis of the name of your implementation.
- Save your entries and make an assignment to a development class.
- Double-click on the selected method to access method processing.
- Between the instructions method IF_EX_AUTHORITY_BADI~<Name of Method and endmethod, enter the required coding.
- To implement the BAdI, you must process all the interface methods:
- CHECK_AUTHORITY_VIEW (Check structural authorization of an object)
- FILL_DATE_VIEW (Fill table of authorization ranges for an object)
- FILL_HYPER_VIEW (Fill table of authorization relationships )
- CHECK_AUTH_PLAN1 (Check personnel authorization)
- CHECK_AUTHORITY_SEARCH (Search function - check hit list)
- GET_PROFILES(Determine structural profile of an object)
- Save and activate your coding. Navigate back to the Change implementation screen.
- Save on the Change implementation screen.
- Note: it is also possible to create an implementation for a BADI and to activate it later. In that case, you can now close the process.
- Choose activate.
- When you execute the application program, the system runs the coding you saved in the method.
You can obtain further information on implementation of BAdIs in the SAP Library under Changing the SAP Standard -> Business Add-Ins
(Path: SAP Library -> Basis Components -> ABAP Workbench -> Changing the SAP Standard).
ROGBILLS - Synchronize billing plans Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 4010 Date: 20240523 Time: 162503 sap01-206 ( 47 ms )