Ansicht
Dokumentation

PBEN0010 - BAdI: Configure Calculation Method for Benefit Salary

PBEN0010 - BAdI: Configure Calculation Method for Benefit Salary

ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

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

Implement this BAdI to calculate the benefit salary based on the benefit plan. This is used if the benefit cost currency is different from the employee's payroll currency.

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.

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

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.
  1. Save your entries, and assign the implementation to a development class.
  2. Place the cursor on the method, and double-click to enter method processing.
  3. Enter the code for the implementation between the statements method ~ and end method.
  4. 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.
  1. Save the entries on the Edit Implementation screen.
  2. Choose Activate.

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






ABAP Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2051 Date: 20240523 Time: 203006     sap01-206 ( 31 ms )