We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

EXIT_SAPLCMPEXITS_001 -

EXIT_SAPLCMPEXITS_001 -

PERFORM Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Customer-Specific Enhancement to Check the Variable Eligibility Rules
of an Adjustment Type

The function exit EXIT_SAPFHCMP_001 (function group XCMA) described here enables you to check an eligibility rule yourself rather than using the standard eligibility checks for an adjustment type. Before you can use this function exit, you must have maintained user-defined criteria in customizing.

The function exit has the return parameter _ELIGB. If this parameter is not SPACE, then the user-defined eligibility rules apply.

However, if the return code is SPACE, the employee cannot participate in the corresponding adjustment type.

You receive the following input parameters:

  • _VARRL Variable rule that can be chosen by the user
  • _PERNR Personnel number
  • _BEGDA Start date of validity period
  • _ENDDA End date of validity period

You can use the following variable as an output parameter:

  • _ELIGB Eligibility of employee

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 eligibility. In this case, the employee is eligible for the adjustment type.

For additional information on how to store your own coding and data declarations in a function exit, refer to the online documentation on the transaction Project Management of SAP Enhancements.






CPI1466 during Backup   General Material Data  
This documentation is copyright by SAP AG.

Length: 1893 Date: 20200919 Time: 212948     sap01-206 ( 46 ms )