SAP ABAP IMG Activity FPB_SNI_003 (BAdI: Change Manager in the Hierarchy)
Hierarchy
EA-FIN (Software Component) EA-FIN
   EP-PCT-MGR-CO (Application Component) Business Package for Manager Self-Service (FI)
     FPB_CUSTOMIZING (Package) Customizing
IMG Activity
ID FPB_SNI_003 BAdI: Change Manager in the Hierarchy  
Transaction Code S_PEN_05000353   (empty) 
Created on 20050614    
Customizing Attributes FPB_SNI_003   BAdI: Change Manager in the Hierarchy 
Customizing Activity FPB_SNI_003   BAdI: Change Manager in the Hierarchy 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FCOM_SNI_RESPMAN    

Use

This Business Add-In (BAdI) is used in the role Business Unit Analyst (BUA) 2.0.

You can use this BAdI to determine a manager for a cost center or a profit center for display in the hierarchy. Moreover, you can influence how the name of the manager is represented in the hierarchy, in the monitors, and in the planning session.

In the standard system, the manager is determined using the User Responsible field in the master record for the cost center or profit center. This is the user name that the user uses to logon to the SAP system. The name is taken from the user data and displayed as follows: <Last Name>, <First Name>.

Requirements

Standard settings

No standard implementation is delivered for this BAdI. The BAdI cannot be used more than once and does not depend on filter settings.

Activities

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.
    The system displays the initial screen for creating Business Add-In implementations.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

Example

You want to derive the manager from the User Responsible field in the master record of your cost centers or profit centers. This is a simple text field. You create a BAdI implementation that uses this text to display this user as manager in the hierarchy.

To display the default code, choose Goto -> Default Code -> Display.

Business Attributes
ASAP Roadmap ID 899   not to be assigned 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20110411 
SAP Release Created in 600