Hierarchy

⤷

⤷

IMG Activity
ID | PAY_00_GP_005 | BAdI: Determine the Date for Currency Conversions |
Transaction Code | S_PLN_16000274 | (empty) |
Created on | 20020502 | |
Customizing Attributes | PAY_00_GP_ATTRIBUTE | Attribute IMG Structure for Global Payroll |
Customizing Activity | PAY_00_GP_005 | BAdI: Determine the Date for Currency Conversions |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HRMGE00CURRCONVDATE |
Use
This Business Add-In (BAdI) is used in the following components:
- Management of Global Employees (PA-GE)
- Payroll for Global Employees (PY-XX-GP)
This BAdI enables you to define the conversion date for currency conversion rules. SAP R/3 uses this date to read the TCURR table (Exchange Rates). It specifies the key date on which the exchange rate is taken.
In the Management of Global Employees component, the currency conversion rules are used for compensation packages.
In the Payroll for Global Employees component, the currency conversion rules determine the exchange rate that is used to convert the wage types of the sending payroll into the currency of the receiving payroll. During processing, the BAdI is called by the XGP function (Payroll for Global Employees) in the receiving payroll.
Requirements
To use the BAdI in Management of Global Employees, you must make the following settings in the Customizing for Personnel Management under Management of Global Employees -> Assignment Master Data:
- Under Business Add-Ins -> Date Rules for Currency Conversion, create a date rule.
- You use this date rule as filter value for the implementation of the BAdI.
Under Currency Conversion Rules, assign a currency conversion rule to the date rule.
To use the BAdI in Payroll for Global Employees, you must make the following settings in the Customizing for Payroll in the Payroll for Global Employees section:
- Under Date Rules -> Define Date Rules for Currency Conversion, create a date rule.
- You use this date rule as filter value for the implementation of the BAdI.
- Under Define Currency Conversion Rules, assign a currency conversion rule to the date rule.
Standard settings
In the standard system, the BAdI is used in the date rule FY (First Day of Calendar Year).
The BAdI is filter-dependent. Create an implementation for each date rule.
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:
- 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.
- Enter a short text for the implementation in the Short text for implementation field.
- 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.
- Save your entries, and assign the implementation to a development class.
- Place the cursor on the method, and double-click to enter method processing.
- Enter the code for the implementation between the statements
method <Interface name> ~ <Name of method>
andendmethod
. - Save and implement your code. Return to the Edit Implementation screen.
- 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.
- Choose Activate
The code you stored in the method will be run when the application program is executed.
Example
You can, for example, define that the conversion takes place according to the exchange rate that was valid on the first day of the current year. In the standard system, this is realized by the HR_CCR_FIRST_YEAR implementation for the date rule FY, for example.
See also
Methods
Business Attributes
ASAP Roadmap ID | 204 | Establish Functions and Processes |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | E | Invalid for countries specified |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20020510 |
SAP Release Created in | 110 |