SAP ABAP IMG Activity PBCS_0041 (Create BAdI Implementation for Filter Value)
Hierarchy
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
   PA-PM-PB (Application Component) Position Budgeting and Control
     PAOC_FPM_CUSTOMIZING (Package) Position Management: Customizing
IMG Activity
ID PBCS_0041 Create BAdI Implementation for Filter Value  
Transaction Code S_ALN_01000554   (empty) 
Created on 20020110    
Customizing Attributes PBCS_0041   Maintain BAdI Implementation for Filter Value 
Customizing Activity PBCS_0041   Maintain BAdI Implementation for Filter Value 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRFPM_ENC_PER    

Use

This Business Add In (BAdI) is used in the component Position Budgeting and Control (PA-PM-PB).

Using this BAdI, you can individually define the commitment period depending on the person or position for which the commitment should be created.

The BAdI is called at the start of an automatic commitment creation run for each person/position selected. In this way, you can replace specific objects of the commitment period which you entered in the implementation guide (IMG) Position Budgeting and Control in the IMG activity Define Period for Automatic Commitment Creation.

Requirements

If you require your own implementation, you first have to define your own filter value in the IMG activity Create Filter Value for BAdI. You enter this filter value in your BAdI implementation.

Standard settings

SAP delivers the implementation HRFPM_ENC_STANDARD which is assigned to the filter value STANDARD. This implementation evaluates the periods defined in the IMG Position Budgeting and Control.

If you want to create your own implementation, define a new filter value and assign your implementation to this filter value. Then define the new filter value as a global filter.

Activities

After calling up the IMG activity, a dialog box appears, in which you can enter a name for the implementation.

If you have already made other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed. In this case, choose Create, and proceed as follows:

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

    The screen for creating BAdI implementations is now displayed.

  2. Enter a short text for the implementation in the Short text for implementation field.
  3. From the tab index, choose Interface.

    The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.

  4. Save your entries, and assign the implementation to a development class.
  5. Place the cursor on the method, and double-click to enter method processing.
  6. Enter the code for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  7. Save and implement your code. Return to the Edit Implementation screen.
  8. Save the entries on the Edit Implementation screen.

    Note: You can also create an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.

  9. Choose Activate

    The code you stored in the method will be run when the application program is executed.

If you created your own implementation with your own filter value, you have to define this filter value as a global filter in the IMG activity Define Global Filter Value for BAdI.

Example

An individual implementation may be required, for example, if you want to determine the commitment period depending on the financing source.

You can find code examples in the implementation delivered by SAP.

See also:

Method: Determining Commitment Periods

You can find more information on using Business Add Ins in the SAP library under SAP NetWeaver Components -> SAP Web Application Server -> ABAP Workbench -> Changes to SAP Standard -> Business Add Ins.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
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  20020703 
SAP Release Created in 110