SAP ABAP IMG Activity SIMGHRBAS00_GET_PROF (BAdI: Define Assigned Structural Profiles)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PA-PA (Application Component) Personnel Administration
     PBAC (Package) Customizing HR Master Data
IMG Activity
ID SIMGHRBAS00_GET_PROF BAdI: Define Assigned Structural Profiles  
Transaction Code S_AL0_96000304   (empty) 
Created on 20011026    
Customizing Attributes SIMGHRBAS00_GET_PROF   BAdI: Define Assigned Structural Profiles 
Customizing Activity SIMGHRBAS00_GET_PROF   BAdI: Define Assigned Structural Profiles 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRBAS00_GET_PROFL    

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.

Example

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.

Activities

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.

  2. On this screen, in the Short Text for Implementation field, enter a short text for the implementation.
  3. 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.

  4. Save your entries and make an assignment to a development class.
  5. Double click on each method in turn to call processing for that method.
  6. Between the commands method IF_EX_HRBAS00_GET_PROFL ~<Name der Methode and endmethod , enter the code you require for the implementation.

    To implement th BAdI you must process all the methods of the interface:

  7. Navigate back to the Change Implementation screen.
  8. 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.

  9. Choose Activate.

    If you execute the application program now, the system runs the code that you stored in the method.

Further notes

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

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20011026 
SAP Release Created in 470