Hierarchy

⤷

⤷

IMG Activity
ID | HR_MX_VSDI_KEY_DATE | BAdI: Change variable SDI calculation date |
Transaction Code | S_L7D_24000149 | (empty) |
Created on | 20060208 | |
Customizing Attributes | HR_MX_VSDI_KEY_DATE | BAdI: Change variable SDI calculation date |
Customizing Activity | HR_MX_VSDI_KEY_DATE | BAdI: Change variable SDI calculation date |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HR_MX_VSDI_KEY_DATE |
Use
The standard system uses the payroll period End date to calculate the accumulation of variable elements when calculating the variable integrated daily wage.
For employees that are paid monthly or twice per month, this does not generally pose a problem. However, problems can arise when using the payroll period End date with employees who are paid weekly or every fourteen days.
You can use this BAdI to change the date that the system will use to calculate the variable integrated daily wage.
Example
If a payroll period that starts on October 29 and ends on November 3, the standard system will associate it to the month of November when calculating the variable integrated daily wage. That means, for example, that any comissions for this period will be included in the variable integrated daily wage for November (and not October).
Recommendation
We recommend that you only implement this Business Add-In if you meet the following requirements:
- The standard SAP procedure does not meet the needs of your company.
- You have extensive ABAP programming knowledge.
- You only use this Business Add-In for the purposes mentioned above. Using it for any other purpose may not produce correct results in the system.
If you have decided to implement this Business Add-In:
- DO NOT change the default code.
- The recommended procedure is to create an implementation, copy the default code to this implementation, and make any required changes to this copy.
Once you have implemented the Business Add-In and copied the default code, the changes you have made to the copy will be carried out in the section of code that corresponds to the calculation itself.
To implement a Business Add-In, follow the steps set out in:
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.
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | I | Valid for countries specified |
Customizing Attributes | Country Key | Country Name |
---|---|---|
HR_MX_VSDI_KEY_DATE | MX | Mexico |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | HR_MX_VSDI_KEY_DATE | 0 | AHR0000143 | Social Insurance |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20060208 |
SAP Release Created in | 600 |