Hierarchy

⤷

⤷

IMG Activity
ID | CPRO_PRP_ASSIGN_BADI | BAdI: Define Assigned Structural Profiles |
Transaction Code | S_CP4_60000034 | (empty) |
Created on | 20040219 | |
Customizing Attributes | CPRO_PRP_ASSIGN_BADI | BAdI: Define Assigned Structural Profiles |
Customizing Activity | CPRO_PRP_ASSIGN_BADI | 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.
- 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.
- On this screen, in the Short Text for Implementation field, enter a short text for the implementation.
- 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.
- Save your entries and make an assignment to a development class.
- Double click on each method in turn to call processing for that method.
- Between the commands
method IF_EX_HRBAS00_GET_PROFL
~<Name der Methode
andendmethod
, enter the code you require for the implementation.To implement th BAdI you must process all the methods of the interface:
- GET_T77PR_TAB (Determine structural user profile)
- Navigate back to the Change Implementation screen.
- 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.
- 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 | 20040409 |
SAP Release Created in | 310 |