SAP ABAP IMG Activity PBEN0008 (BAdI: Calculation Methods for Costs of a Benefit Plan)
Hierarchy
SAP_HRCUN (Software Component) Sub component SAP_HRCUN of SAP_HR
   PY-NPO (Application Component) Non Profit Organizations
     PUNC (Package) Customizing: Non Profit Organizations (NPO)
IMG Activity
ID PBEN0008 BAdI: Calculation Methods for Costs of a Benefit Plan  
Transaction Code S_PAD_19000032   (empty) 
Created on 20051121    
Customizing Attributes PBEN0008   BAdI: Calculation Methods for Costs of a Benefit Plan 
Customizing Activity PBEN0008   BAdI: Calculation Methods for Costs of a Benefit Plan 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_PBEN0008    

Use

This Business Add-In (Add-In) (BAdI) is used in the Payroll for NPO: Benefits component.

Implement this BAdI to configure calculation methods for costs of a benefit plan.

To display the costs of benefit plan, you must attach an appropriate cost rule variant to the plan.

Requirements

Carry out this activity only if the following conditions apply:

  • The SAP standard processes do not suit your needs.
  • You are a competent ABAP/4 programmer.

Standard settings

In the standard system, the Business Add-In is not activated.

Activities

After calling up the IMG activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:

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

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

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

  6. Save the entries on the Edit Implementation screen.
  7. Choose Activate.

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

Example

Business Attributes
ASAP Roadmap ID 105   Define functions and processes 
Mandatory / Optional 1   Mandatory 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  20070806 
SAP Release Created in 200