Ansicht
Dokumentation

CPRO_PRP_BADI01 - Business Add-In: Customer Fields for Business Partner for Display in PRP

CPRO_PRP_BADI01 - Business Add-In: Customer Fields for Business Partner for Display in PRP

TXBHW - Original Tax Base Amount in Local Currency   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

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

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.
  1. In the Implementation short text field, enter a short text for the implementation.
  2. 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.
  1. Save your entries and assign a package.
  2. Place the cursor on each method and double-click to branch to method processing.
  3. Enter the required code for the implementation between the method ~. and endmethod. statements.
  4. Save and activate your code. Return to the Change Implementation screen.
  5. Save the data on the Change Implementationscreen.
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.
  1. 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 fieldin the Define Display Details for Business Partneractivity 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.

Further Information

GET_FIELD_VALUE






ROGBILLS - Synchronize billing plans   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3306 Date: 20240523 Time: 171134     sap01-206 ( 52 ms )