Hierarchy

⤷

⤷

IMG Activity
ID | HRPAYCHFMZR02 | BAdI: Grouping of Payroll Results for Overall Monthly Report (FamRelBReg) |
Transaction Code | S_L4H_49001582 | (empty) |
Created on | 20100922 | |
Customizing Attributes | HRPAYCHFMZR02 | BAdI: Override Data for Overall Monthly Report (FamRelBReg) |
Customizing Activity | HRPAYCHFMZR02 | BAdI: Grouping of Payroll Results for Overall Monthly Report FamRelBReg |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HRPAYCHFMZR02 |
Use
This Business Add-In (BAdI) is used in the Payroll Switzerland (PY-CH) component.
With this BAdI you can override entries that the system uses to determine relevant payroll results for the total confirmation of family-related bonuses (family-related bonus register).
During the creation of the total confirmation of family-related bonuses (family-related bonus register) (report RPLFAKC7)
, the system checks which payroll results are relevant for the message. For this the system uses one or several of the following entries as standard:
- FEF payroll unit
- Insurance number of the employer at the FEF
- Healthcare insurance fund number of the family equalization fund (FEF number)
This BAdI contains the following methods:
PERNR_PAYR_GET_PAYROLL_UNIT
With this method you override the settlement unit of the payroll results. You can assign, the payroll unit AL instead of the payroll unit FAF to the payroll result. In report RPLFAKC7, you can use the payroll unit AL instead of the payroll unit FEF as a selection criterion.
PERNR_PAYR_GET_BRANCHNR_VERSNR
With this method you determine the healthcare insurance fund number and the insurance policy number. As standard, the system uses payroll unit FEF to determine these entries. With this method you can read out the entries from an alternative unit, for example payroll unit AL. The entries can be used as a selection criterion in report RPLFAKC7 as well as for the output in the XML file.
The healthcare insurance fund number must be specified in the format
NNN.MMM
orNNN
.GET_VALUE_TAB_BRANCHNR_VERSNR
With this method you override the input help for the fields FEF number and health insurance number in the selection screen of report RPLFAKC7. by default, the input help displays all available combinations of healthcare insurance fund number/health insurance number of the FEF payroll units. Alternatively, you can display all combinations of healthcare insurance fund number/health insurance number of the AL payroll units, for example.
(GET_VALUE_TAB_PAYROLL_UNIT)
With this method you override the input help for the Payroll Unit field in the selection screen of report RPLFAKC7. By default the input help displays all available FEF payroll units. As an alternative, you can display all AL payroll units, for example.
Note: If you use this BAdI, you always implement all of the named methods to enable error-free processing.
Requirements
Standard settings
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.
Example
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 |
---|---|---|
HRPAYCHFMZR02 | CH | Switzerland |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | HRPAYCHFMZR02 | 0 | HLA0003800 | Evaluations/Statistics |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20100922 |
SAP Release Created in |