Ansicht
Dokumentation

ESS_PAJP_CMU_007 - BAdI: Calculation of Default Commuting Allowance Amount

ESS_PAJP_CMU_007 - BAdI: Calculation of Default Commuting Allowance Amount

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Personnel Administration Japan (PA-PA-JP) component.

When an employee select the BAdI push button in the Commuting Allowance scenario, the BAdI enables the system to calculate the default commuting allowance amount according to the employee's maser data saved in the backend system, and fill in the relevant field.

In the standard system, the example class CL_COM_EE_DEF_AMOUNT is activated, by which the system calculates the default commuting allowance as follows:

Default commuting allowance = a x b x 2

The meanings of the parameters are:

a - The commuting allowance per kilometer

b - The distance for single trip

To calculate the default amount by your own BAdI implementation, you must deactivate the example class first.

Information about the implementation of BAdIs in the context of the enhancement concept is available in the SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

This BAdI uses the interface IF_EX_COM_EE_DEF_AMOUNT and the following methods:

For more information on using Business Add-Ins, refer to the SAP Library under Basis Components ->ABAP Workbench (BC-DWB) ->Changing the SAP Standard (BC) ->Business Add-Ins.






BAL_S_LOG - Application Log: Log header data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2666 Date: 20240523 Time: 220752     sap01-206 ( 83 ms )