SAP EXIT_SAPLCMPEXITS_003 Function Module for User Exit for Compensation Management Guidelines
EXIT_SAPLCMPEXITS_003 is a standard exit saplcmpexits 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User Exit for Compensation Management Guidelines processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for exit saplcmpexits 003 FM, simply by entering the name EXIT_SAPLCMPEXITS_003 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XCMA
Program Name: SAPLXCMA
Main Program:
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLCMPEXITS_003 pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'EXIT_SAPLCMPEXITS_003'"User Exit for Compensation Management Guidelines.
EXPORTING
_GUIDE = "Guidelines
* _GDGRP = "Guideline Group
_CAREA = "Compensation Area
_PERNR = "Personnel Number
_BSDTE = "Selection Date
IMPORTING
_PERCENTAGE = "Increase by Percentage
_AMOUNT = "Increase by Absolute Amount
_CURCY = "
_NUMBER = "Absolute Increase of Number
_LTI_NUMBER = "Number of Awards
_VTYPE = "Calculation Variant
EXCEPTIONS
CUST_USER_EXIT_ERROR = 1
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.HRCM_USER_EXIT_ACTIVATE
HRCM_USER_EXIT_CALC_BASE
HRCM_USER_EXIT_EFFECTIVE_DATE
HRCM_USER_EXIT_ELIGIBILITY
HRCM_USER_EXIT_GL_CALC_VARIANT
HRCM_USER_EXIT_GUIDELINES
IMPORTING Parameters details for EXIT_SAPLCMPEXITS_003
_GUIDE - Guidelines
Data type: T71E0-GUIDEOptional: No
Call by Reference: No ( called with pass by value option)
_GDGRP - Guideline Group
Data type: T71E1-GDGRPOptional: Yes
Call by Reference: No ( called with pass by value option)
_CAREA - Compensation Area
Data type: T71C3-CAREAOptional: No
Call by Reference: No ( called with pass by value option)
_PERNR - Personnel Number
Data type: PSKEY-PERNROptional: No
Call by Reference: No ( called with pass by value option)
_BSDTE - Selection Date
Data type: P0380-BSDTEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLCMPEXITS_003
_PERCENTAGE - Increase by Percentage
Data type: P0380-PCT01Optional: No
Call by Reference: No ( called with pass by value option)
_AMOUNT - Increase by Absolute Amount
Data type: P0380-BET01Optional: No
Call by Reference: No ( called with pass by value option)
_CURCY -
Data type: T71E0-CURCYOptional: No
Call by Reference: No ( called with pass by value option)
_NUMBER - Absolute Increase of Number
Data type: P0380-ANZ01Optional: No
Call by Reference: No ( called with pass by value option)
_LTI_NUMBER - Number of Awards
Data type: CMP_FNUMBOptional: No
Call by Reference: No ( called with pass by value option)
_VTYPE - Calculation Variant
Data type: T71E0-VTYPEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CUST_USER_EXIT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLCMPEXITS_003 Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv__guide | TYPE T71E0-GUIDE, " | |||
| lv__percentage | TYPE P0380-PCT01, " | |||
| lv_cust_user_exit_error | TYPE P0380, " | |||
| lv__gdgrp | TYPE T71E1-GDGRP, " | |||
| lv__amount | TYPE P0380-BET01, " | |||
| lv__carea | TYPE T71C3-CAREA, " | |||
| lv__curcy | TYPE T71E0-CURCY, " | |||
| lv__pernr | TYPE PSKEY-PERNR, " | |||
| lv__number | TYPE P0380-ANZ01, " | |||
| lv__bsdte | TYPE P0380-BSDTE, " | |||
| lv__lti_number | TYPE CMP_FNUMB, " | |||
| lv__vtype | TYPE T71E0-VTYPE. " |
|   CALL FUNCTION 'EXIT_SAPLCMPEXITS_003' "User Exit for Compensation Management Guidelines |
| EXPORTING | ||
| _GUIDE | = lv__guide | |
| _GDGRP | = lv__gdgrp | |
| _CAREA | = lv__carea | |
| _PERNR | = lv__pernr | |
| _BSDTE | = lv__bsdte | |
| IMPORTING | ||
| _PERCENTAGE | = lv__percentage | |
| _AMOUNT | = lv__amount | |
| _CURCY | = lv__curcy | |
| _NUMBER | = lv__number | |
| _LTI_NUMBER | = lv__lti_number | |
| _VTYPE | = lv__vtype | |
| EXCEPTIONS | ||
| CUST_USER_EXIT_ERROR = 1 | ||
| . " EXIT_SAPLCMPEXITS_003 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLCMPEXITS_003
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single GUIDE FROM T71E0 INTO @DATA(ld__guide). | ||||
| "SELECT single PCT01 FROM P0380 INTO @DATA(ld__percentage). | ||||
| "SELECT single GDGRP FROM T71E1 INTO @DATA(ld__gdgrp). | ||||
| "SELECT single BET01 FROM P0380 INTO @DATA(ld__amount). | ||||
| "SELECT single CAREA FROM T71C3 INTO @DATA(ld__carea). | ||||
| "SELECT single CURCY FROM T71E0 INTO @DATA(ld__curcy). | ||||
| "SELECT single PERNR FROM PSKEY INTO @DATA(ld__pernr). | ||||
| "SELECT single ANZ01 FROM P0380 INTO @DATA(ld__number). | ||||
| "SELECT single BSDTE FROM P0380 INTO @DATA(ld__bsdte). | ||||
| "SELECT single VTYPE FROM T71E0 INTO @DATA(ld__vtype). | ||||
Search for further information about these or an SAP related objects