SAP® Documentation

Single view

EXIT_SAPLCMPEXITS_002 -

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

Customer-Specific Enhancement for Determining the Effective Date of an Adjustment Type

The effective date is determined during compensation administration by using the data stored for the adjustment types in customizing, and the information currently available. For example, you want the bonus payment to be included in the employee's pay on the first of the next month after compensation administration has been performed. Or you want the effective date of a salary increase to be dependent on the job the employee holds. In this case, you must read the job data from the database yourself as this is not one of the input parameters.

You receive the following input parameters:

You can specify the following output parameter:

  • _EFFDA Effective date

In addition to this, you can define an exception to the standard coding:

  • CUST_USER_EXIT_ERROR

This exception tells the program that an error occurred determining the effective date.

In Compensation Management, the effective date must be within the planning period being used.

  • In an exception in the function exit, the start date of the planning period is used as the effective date.
  • Therefore, if the function exit does not return a date, or the date is not valid, then the start date of the compensation period is used as the effective date.
  • If the effective date returned from the function exit is outside of the planning period, either the start or end date of the planning period is used as the effective date, depending on whether the returned date is before or after the planning period.

Sample coding

In this sample coding, the effective is set to the beginning of the planning period if the adjustment type belongs to category 1 (fixed), and to the end of the compensation period if the adjustment type belongs to category 2 (variable). This means that you stipulate when you plan for 1999 that the salary increases, for example, become effective on January 1st 1999 and the bonus payments on December 31st 1999.

if _categ = '1'.
_effda = _begda.
elseif _categ = '2'.
_effda = _endda.
endif.






BAL_S_LOG - Application Log: Log header data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3444 Date: 20191018 Time: 064212     sap01-206 ( 26 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.