SAP ABAP IMG Activity CPRO_PRP_STRUCT_BADI (BAdI: Structural Authorization)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PPM-PRO (Application Component) Project Management
     DEVELOPMENT_PROJECTS_CUSTOMIZE (Package) General Customizing for Project Management
IMG Activity
ID CPRO_PRP_STRUCT_BADI BAdI: Structural Authorization  
Transaction Code S_CP4_60000033   (empty) 
Created on 20040219    
Customizing Attributes CPRO_PRP_STRUCT_BADI   BAdI: Structural Authorization 
Customizing Activity CPRO_PRP_STRUCT_BADI   BAdI: Structural Authorization 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name AUTHORITY_BADI    

This Business Add-In implements customer-specific authorization checks.

Example

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.

Activities

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.

  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.

  2. In the Short text for implementation field on this screen, enter a short text for the implementation.
  3. 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.

  4. Save your entries and make an assignment to a development class.
  5. Double-click on the selected method to access method processing.
  6. 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:

  7. Save and activate your coding. Navigate back to the Change implementation screen.
  8. 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.

  9. Choose activate.

    When you execute the application program, the system runs the coding you saved in the method.

Further notes

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).

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional 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