Ansicht
Dokumentation

CPRO_PRP_ASSIGN_BADI - BAdI: Define Assigned Structural Profiles

CPRO_PRP_ASSIGN_BADI - BAdI: Define Assigned Structural Profiles

ROGBILLS - Synchronize billing plans   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

The implementation of the context solution and the maintainance of structural profiles in the new authorization objects mean that the requirement of some customers not to have to maintain table T77UA is becoming more and more important. For that reason we are offering the BAdI HRBAS00_GET_PROFL.

This BAdI enables customers to implement an alternative way of determining structural profiles.

You can display example code in the BAdI by choosing Goto -> Example Code. You can also display the example code in the Class Builder (SE24), by displaying the class CL_EXM_IM_HRBAS00_GET_PROFL and the corresponding methods.

When you start the Customizing activity, the system displays a dialog box where you enter a name for the implementation.

If you have already created implementations for this BAdI, a dialog box appears showing the existing implementations. In the dialog box, choose Create and continue with step 1.

  1. In the dialog box, in the Implementation field, enter a name for the BAdI implementation and then choose Create.
The system displays the initial screen for creating BAdI implementations.
  1. On this screen, in the Short Text for Implementation field, enter a short text for the implementation.
  2. Choose the Interface tab page.
On the tab page the Name of Implemented Class field is filled automatically, as the system assigns a class name depending on the name of your implementation.
  1. Save your entries and make an assignment to a development class.
  2. Double click on each method in turn to call processing for that method.
  3. Between the commands method IF_EX_HRBAS00_GET_PROFL ~ and endmethod, enter the code you require for the implementation.
To implement th BAdI you must process all the methods of the interface:

  1. Navigate back to the Change Implementation screen.
  2. On the Change Implementation screen, save.
Note: You can also create an implementation for a BAdI and activate it later. In that case, you should end processing at this point.
  1. Choose Activate.
If you execute the application program now, the system runs the code that you stored in the method.

For further information on implementing BAdIs, see the SAP Library, under Basis Components -> ABAP Workbench -> Changing the SAP Standard (BC) -> Business Add-Ins.






ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3156 Date: 20240523 Time: 180740     sap01-206 ( 45 ms )