Ansicht
Dokumentation

EXIT_SAPLCMPEXITS_002 -

EXIT_SAPLCMPEXITS_002 -

rdisp/max_wprun_time - Maximum work process run time   General Data in Customer Master  
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.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.

Length: 3288 Date: 20240419 Time: 102201     sap01-206 ( 74 ms )