Ansicht
Dokumentation

EXIT_SAPLHRGPBS_OSP_OMP_LEN - Customer Exit to decide RollBack Period Length In Days

EXIT_SAPLHRGPBS_OSP_OMP_LEN - Customer Exit to decide RollBack Period Length In Days

ABAP Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Why it may be necessary;

If the Time Unit Length defined using the standard tables provides a 'Length in Days' that is not correct for your needs.

When this is processed;

As each day of an absence is processed, the employee's applicable SchemeRules are derived and processed through one by one. For the current Scheme Rule being processed, the Check Window, Entitlement, Absence Grouping and Payment Band are derived. Then the day is processed and if there are any Entitlement days for the Absence Grouping and Payment Band that have not been used up in the Check Window, then the day will be 'marked' with the 'Valuation Rule' associated with the Payment Band.

Just before this routine is called;

The Time Unit is NOT an SAP standard one of 'Days' (010), 'Entitlement Weeks' (E11), 'Rollback Months' (R12) or 'Rollback Years' (R13). So the Time Unit MUST be further defined into a number of days in some way.

If the Time Unit is NOT on the Time Units Multiplier table, then it MUST be defined in this Customer Exit otherwise this Customer Exit is omitted.

This Customer Exit will ONLY be processed if a match was NOT found on the Time Units Multiplier table.

Just after this routine is called;

The calculated length of the time in days is passed back the calling routine. This will either be the "Derive Entitlement in Days" function or the "Derive the Rollback Period in Days" function. In the first case this can be adjusted by the Customer Exit EXIT_SAPLHRGPBS_OSP_OMP_ENT and in the second EXIT_SAPLHRGPBS_OSP_OMP_PER.

Example

This routine is used to derive the Rollback Period Length in days (or Entitlement in days) to a Customer Specification that cannot be simply stated by using a number of days.

Notes

This "Customer Exit" is one of seven available as part of the Absence Evaluation & Payment Scheme functionality. They are ordered from the most likely to be used to the least likely.

1) EXIT_SAPLHRGPBS_OSP_OMP_CVR
Derive an employee's scheme based on client specific rules.

2) EXIT_SAPLHRGPBS_OSP_OMP_MIN
Define a part day absence as entitlement in MINUTES.

3) EXIT_SAPLHRGPBS_OSP_OMP_SEN
Define the Seniority Time Units parameters.

4) EXIT_SAPLHRGPBS_OSP_OMP_ENT
Adjust the employee's ENTITLEMENT.

5) EXIT_SAPLHRGPBS_OSP_OMP_LEN
Define a time unit LENGTH in days.

6) EXIT_SAPLHRGPBS_OSP_OMP_MTD
Define a rollback METHOD.

7) EXIT_SAPLHRGPBS_OSP_OMP_MAN
Perform CUSTOMER SPECIFIC processing for Manual Splitting.

These are the only "Customer Exits" provided to supplement the GB functionality. Before using any of the "Customer Exits" make sure you have consulted with SAP. This will ensure the changes you need are necessary (cannot be fulfilled elsewhere in customising) and that the changes you are about to make will have the desired results with little impact on performance.

General Information About Interfaced Data

All seven "Customer Exits" have the following fields;
IMPORTING
VALUE(P_PERNR) LIKE PERNR-PERNR
VALUE(P_CHECK_DATE) LIKE SY-DATUM
TABLES
P_P0000 STRUCTURE P0000
P_P0001 STRUCTURE P0001
P_P0002 STRUCTURE P0002
P_P0004 STRUCTURE P0004
P_P0007 STRUCTURE P0007
P_P0008 STRUCTURE P0008
P_P0016 STRUCTURE P0016
P_P0041 STRUCTURE P0041
P_P2001 STRUCTURE P2001
P_ERROR STRUCTURE EDIMESSAGE

DO NOT CHANGE THE DATA IN THE INFOTYPE TABLES.

"P_ERROR" has the fields msgid, msgty, msgno, msgv1, msgv2, msgv3 & msgv4. This table should not be refreshed as it may contain "warning" messages that have not halted processing previously.

If an error happens in this function, then fill the record "P_ERROR" and append the record to the table. DO NOT perform any ERROR handling in this function as it is used in Payroll, Dialog & Reporting. (i.e. Statement "MESSAGE" etc.)

Further information

By defining a Customer Time Unit Multiplier for each Rollback Period Time Unit and Entitlement Amount Time Unit or using the SAP standard ones there may be NO need to use this Customer Exit





Parameters

P_AMOUNT
P_CHECK_DATE
P_ERROR
P_LENGTH_IN_DAYS
P_P0000
P_P0001
P_P0002
P_P0004
P_P0007
P_P0008
P_P0016
P_P0041
P_P2001
P_PERNR
P_UNIT

Exceptions

Function Group

XP08P13

ROGBILLS - Synchronize billing plans   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4862 Date: 20240604 Time: 030419     sap01-206 ( 84 ms )