SAP ABAP IMG Activity CPRO_PRP_BADI01 (Business Add-In: Customer Fields for Business Partner for Display in PRP)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PPM-PRO-RES (Application Component) Resources
     PRP_RESOURCE (Package) Resource Management
IMG Activity
ID CPRO_PRP_BADI01 Business Add-In: Customer Fields for Business Partner for Display in PRP  
Transaction Code S_APL_52000043   (empty) 
Created on 20020806    
Customizing Attributes CPRO_PRP_BADI01   Customer Fields for Business Partner for Display in PRP 
Customizing Activity CPRO_PRP_BADI01   Customer Fields for Business Partner for Display in PRP 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PRP_BUPA_CUST_FIELDS    

Use

This Business Add-In (BAdI) is used in the Project Management (PPM-PRO) component.

You can use it to define values to be displayed in the display details for the business partner in Resource Planning. You create customer fields in the Define Display Details for Business Partner activity and use this BAdI to fill them with the values you require.

Requirements

You have created customer fields in the Define Display Details for Business Partner activity.

Standard settings

Activities

After you access the Customizing activity, a dialog box appears in which you have to enter a name for the implementation.

If implementations have already been created for the BAdI, a dialog box appears displaying the existing implementations. Choose Create and continue as follows:

  1. In the Implementation field on the dialog box, enter a name for the BAdI implementation and choose Create.

    The initial screen for creating BAdI implementations appears.

  2. In the Implementation short text field, enter a short text for the implementation.
  3. In the tab index, choose Interface.

    The Name of implemented class field is automatically filled on the tab page since a class name is assigned on the basis of the name of your implementation.

  4. Save your entries and assign a package.
  5. Place the cursor on each method and double-click to branch to method processing.
  6. Enter the required code for the implementation between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Return to the Change Implementation screen.
  8. Save the data on the Change Implementation screen.

    Note: Alternatively, you can create an implementation for a BAdI and activate it at a later time. If you would prefer to do so, exit processing now.

  9. Choose Activate.

    When the application program is executed, the code you stored in the method is now processed.

Example

You want to be able to see which type of driver's license a business partner has in the display details in the resource search. You define a customer field in the Define Display Details for Business Partner activity and use the GET_FIELD_VALUE method to program a master data query. Each time the business partner's details are displayed, the current information from the master data is now displayed.

See also

Methods

GET_FIELD_VALUE

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional 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  20070720 
SAP Release Created in 200