Hierarchy
⤷ PY-TW (Application Component) Taiwan
⤷ P42C (Package) HR Customizing: Taiwan
IMG Activity
ID | OHATW_NP337 | BAdI: Final Amount Adjustment before Tax Deduction (HTWLNPP0) |
Transaction Code | S_L7D_24000332 | (empty) |
Created on | 20060621 | |
Customizing Attributes | OHATW_NP337 | BAdI: Final Amount Adjustment before Tax Deduction (HTWLNPP0) |
Customizing Activity | OHATW_NP337 | BAdI: Final Amount Adjustment before Tax Deduction (HTWLNPP0) |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | PC420004 |
Use
This Business Add-In (BAdI) is used in the Taiwan Reporting (PY-TW-RP) component.
You can use this Business Add-In (BAdI) to adjust the amount of pension or severance payment before tax deduction.
The BAdI contains method ADJUST_CALCULATED_AMOUNT, with which you can create your own formula to calculate the final amount.
Requirements
Standard settings
Activities
The following steps are applicable to all the methods of this BAdI.
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 Enhancement 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 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> and endmethod.
- 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
See also:
This BAdI uses the interface IF_EX_PC420004. For more information, display the interface in the Class Builder.
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.
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 1 | Critical |
Country-Dependency | I | Valid for countries specified |
Customizing Attributes | Country Key | Country Name |
---|---|---|
OHATW_NP337 | TW | Taiwan |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20060627 |
SAP Release Created in |