Hierarchy

⤷

⤷

IMG Activity
ID | PAY_BR_GRNS401 | Define processing units |
Transaction Code | S_L6B_69000225 | (empty) |
Created on | 20021029 | |
Customizing Attributes | PAY_BR_GRNS401 | Define processing unit |
Customizing Activity | PAY_BR_GRNS401 | Define processing unit |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HR_BR_GARN_UNIT |
Use
This BAdI allows the user to define how to calculate the amount required for alimony, based on a number of personal wages.
In the standard configuration, the units used in the calculation of the alimony amount are defined in table V_T7BRG4. The user may define an own unit for a number of wages, through the customer name range included in this view. If a user calculation unit is defined for a number of wages, it is necessary that the BAdI is implemented, so that this unit may be used.
As import parameters are supplied the user's calculation unit and the number of wages, as indicated in the master data. The calculation date is also supplied.
As a result, the required amount, calculated for the alimony, will be edited.
Recommendation
This Business Add-In should only be implemented if:
- the standard SAP method doesn't meet your requirements; ....
- the user has sufficient ABAP programming skills;
- this BAdI is only used for the purposes already metioned, since there is no guarantee for correct results in the sistem in case of an usage of any other type.
If the Business Add-In is to be used:
- NEVER CHANGE the default code.
Recommendation: create an implementation, copy the default code to the new implementation and only perform the changes exclusively in the copy.
Activities
Once implemented the Business Add-In and copied the default code, it is possible to change this copy in the corresponding section. Next, you should activate these modifications.
To implement a business add-in, you should follow these instructions:
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 |
---|---|---|
PAY_BR_GRNS401 | BR | Brazil |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20021029 |
SAP Release Created in | 470 |