Hierarchy
⤷ PY-CH (Application Component) Switzerland
⤷ P02C (Package) HR Customizing: Switzerland
IMG Activity
ID | HRPAYCHLAW2B | BAdI: Override Comments on Part-Time Employment |
Transaction Code | S_L7D_24000476 | (empty) |
Created on | 20061114 | |
Customizing Attributes | HRPAYCHLAW2B | BAdI: Override Comments on Part-Time Employment |
Customizing Activity | HRPAYCHLAW2B | BAdI: Override Comments on Part-Time Employment |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HRPAYCHLAW2B |
Use
To insert the comments Part-Time Work or Part-Time Work ...%" in field 15, the wage statement 2005 program (RPLLAWC2) evaluates the employment percentage (field P0007-EMPCT) from the Planned Working Time (0007) infotype.
You can use this Business Add-In to use alternate criteria for comments relating to part-time work.
By implementing the method GET_PARTTIME, you can override the criteria for printing the comment and the percentage.
Requirements
Standard settings
Example
You want to use the capacity utilization level (field P0008-BSGRD) from the Basic Pay (0008) infotype for the Part-Time Work comment.
For an example implementation for comments using the capacity utilization level from the Basic Pay infotype (0008), see the documentation for the interface IF_EX_HRPAYCHLAW2B and the documentation for the method GET_PARTTIME.
Activities
After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.
If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:
- In the dialog box, enter a name for the implementation of the Add-In and choose Create.
The system displays the initial screen for creating Business Add-In implementations. - On this screen, enter a short description for your implementation in the Implementation Short Text field.
- If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
- Save your entries and assign the Add-In to a package.
- To edit a method, double-click its name.
- Enter your implementation code between the
method <Interface Name>~<Name of Method>.
andendmethod.
statements. - Save and activate your code. Navigate back to the Change Implementation screen.
Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step: - Choose Activate.
When the application program is executed, the code you created is run through.
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 |
---|---|---|
HRPAYCHLAW2B | CH | Switzerland |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | HRPAYCHLAW2B | 0 | HLA0003785 | Tax |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20061114 |
SAP Release Created in |