SAP ABAP IMG Activity OHAIEOSP00108B (Activate Customer Exit for Overriding Absence Schemes)
Hierarchy
SAP_HRCIE (Software Component) Sub component SAP_HRCIE of SAP_HR
   PY-IE (Application Component) Ireland
     P11C (Package) HR customizing: Ireland
IMG Activity
ID OHAIEOSP00108B Activate Customer Exit for Overriding Absence Schemes  
Transaction Code S_L7D_24000314   (empty) 
Created on 20060531    
Customizing Attributes OHAIEOSP00108B   Activate Customer Exit for Overriding Absence Schemes 
Customizing Activity OHAIEOSP00108B   Activate Customer Exit for Overriding Absence Schemes 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHAIEOSP00108B    

In this step, you can override the employees absence scheme AFTER it has been derived from the feature COVER and BEFORE the override has been applied from the infotype Absence Scheme Override (0572).

In this step, you override the standard Absence Scheme derived from the feature COVER using the code in the pre-delivered customer exit EXIT_SAPLHRGPBS_OSP_OMP_COV.

Why this customer exit may be necessary

Use this exit if the Absence Scheme derived for an employee from the feature COVER is not sufficiently flexible for your needs. This Customer Exit allows the "Return Value" of the feature to be overridden without having to use infotype 0572.

When is this customer exit processed

As absence history is generated, the employee's scheme must be derived on the first day of any absence that is processed. The value in the variable P_CHECK_DATE is the same absence start date that is used by the feature COVER and infotype 0572.

Just before this routine is called

The return value from the feature COVER has been passed into the variable P_PACKAGE_ID.

Just after this routine is called

The variable P_PACKAGE_ID can be overridden by the value of the first field on infotype Absence Scheme Override (0572).

Example

Requirements

Standard settings

Recommendation

This customer exit is one of seven available as part of the absence evaluation and 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 according to 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 unit 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 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 no negative 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, and 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, and reporting (for example, statement "MESSAGE" etc.)

Activities

Further notes

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
OHAIEOSP00108B IE Ireland
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHAIEOSP00108B 0 AHR0000011 Absences 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
CMOD L - Logical transport object CMOD  
History
Last changed by/on SAP  20060531 
SAP Release Created in