Ansicht
Dokumentation
HR_ECM_00_AD_E14A - Business Add-In: Determine Employee Currency
BAL Application Log Documentation rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Implement this Business Add-In (BAdI) to redefine the employee currency. The standard routine determines the employee currency from the country implicit in the organizational assignment of the employee.
- Note
- SAP provides a sample implementation (HRECM00_EE_CURR_BASICPAY) for this BAdI, which determines the currency from the Basic Pay infotype (0008) of the employee. This sample implementation may be copied or redefined as required.
This BAdI consists of the method
- GET_EMPLOYEE_CURRENCY
- The following import parameters are provided:
- PERNR
- The personnel number for which the employee currency should be determined.
- BEGDA
- The start date for the employee currency determination; this corresponds to the Selection Period Begin Date defined for the Compensation Review.
- ENDDA
- The end date for the employee currency determination; this corresponds to the Selection Period End Date defined for the Compensation Review.
- MESSAGE_HANDLER
- A reference to interface IF_HRPA_MESSAGE_HANDLER. If the determination of the employee currency triggers messages that should be sent to the frontend, you can add them to the message list via method ADD_MESSAGE of this interface, or via function module HR_ECM_ADD_MESSAGE.
- CURRE
- The currency determined for the given personnel number.
- IS_OK
- Indicator to be set to SPACE if any error has prevented the employee currency from being determined. If the determination of the employee currency was successful, the parameter should be set to 'X'.
- READ_FROM_IT1
- Indicator to be set to 'X' if the employee currency should be read by the standard method. In this case, indicator IS_OK also must be set to 'X'.
Execute this activity, if desired, to create a customer-specific implementation of the indicated BAdI.
BAL_S_LOG - Application Log: Log header data BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 2819 Date: 20240523 Time: 213356 sap01-206 ( 48 ms )