SAP EXIT_RPCWEXIT_060 Function Module for HR-CPS: Customer Exit for Dynamic Processing of Pension Payments
EXIT_RPCWEXIT_060 is a standard exit rpcwexit 060 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for HR-CPS: Customer Exit for Dynamic Processing of Pension Payments 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 rpcwexit 060 FM, simply by entering the name EXIT_RPCWEXIT_060 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XAV1
Program Name: SAPLXAV1
Main Program:
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_RPCWEXIT_060 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_RPCWEXIT_060'"HR-CPS: Customer Exit for Dynamic Processing of Pension Payments.
EXPORTING
CEX060_PERNR = "Personnel Number
CEX060_RNTOP = "Processing Type
CEX060_REART = "Processing Subtype
CEX060_KEYDT = "Key Date for Pension Calculation
CEX060_DTYBS = "Type of Dynamic Processing of Pension Payment
* CEX060_INCRS = ' ' "Increase
* CEX060_PROTO = ' ' "Log Option On
* CEX060_WAERS = "
TABLES
CEX060_SAVE_WMENT = "Processing Table for Entitlements
CEX060_SAVE_WMRES = "Processing Table for Entitlement Valuation
CEX060_ORG_GPAY = "Vested Pension Payments After Import
CEX060_NEW_GPAY = "Result: Pension Payment After Dynamic Processing
CEX060_ISTRU = "Global Statement Table
CEX060_ERROR_TAB = "Error Message Table
EXCEPTIONS
ERROR_TAB_FILLED = 1
IMPORTING Parameters details for EXIT_RPCWEXIT_060
CEX060_PERNR - Personnel Number
Data type: PERNR-PERNROptional: No
Call by Reference: No ( called with pass by value option)
CEX060_RNTOP - Processing Type
Data type: T5DC5-RNTOPOptional: No
Call by Reference: No ( called with pass by value option)
CEX060_REART - Processing Subtype
Data type: T5DC5-REARTOptional: No
Call by Reference: No ( called with pass by value option)
CEX060_KEYDT - Key Date for Pension Calculation
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
CEX060_DTYBS - Type of Dynamic Processing of Pension Payment
Data type: P01C_GPAY-DTYBSOptional: No
Call by Reference: No ( called with pass by value option)
CEX060_INCRS - Increase
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
CEX060_PROTO - Log Option On
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
CEX060_WAERS -
Data type: WAERSOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_RPCWEXIT_060
CEX060_SAVE_WMENT - Processing Table for Entitlements
Data type: P01C_IENTOptional: No
Call by Reference: No ( called with pass by value option)
CEX060_SAVE_WMRES - Processing Table for Entitlement Valuation
Data type: P01C_IRESOptional: No
Call by Reference: No ( called with pass by value option)
CEX060_ORG_GPAY - Vested Pension Payments After Import
Data type: P01C_GPAYOptional: No
Call by Reference: No ( called with pass by value option)
CEX060_NEW_GPAY - Result: Pension Payment After Dynamic Processing
Data type: P01C_GPAYOptional: No
Call by Reference: No ( called with pass by value option)
CEX060_ISTRU - Global Statement Table
Data type: P01C_ISTRUOptional: No
Call by Reference: No ( called with pass by value option)
CEX060_ERROR_TAB - Error Message Table
Data type: HRERROROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_TAB_FILLED - Entry Exists in Error Table
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_RPCWEXIT_060 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_cex060_pernr | TYPE PERNR-PERNR, " | |||
lv_error_tab_filled | TYPE PERNR, " | |||
lt_cex060_save_wment | TYPE STANDARD TABLE OF P01C_IENT, " | |||
lv_cex060_rntop | TYPE T5DC5-RNTOP, " | |||
lt_cex060_save_wmres | TYPE STANDARD TABLE OF P01C_IRES, " | |||
lv_cex060_reart | TYPE T5DC5-REART, " | |||
lt_cex060_org_gpay | TYPE STANDARD TABLE OF P01C_GPAY, " | |||
lv_cex060_keydt | TYPE SY-DATUM, " | |||
lt_cex060_new_gpay | TYPE STANDARD TABLE OF P01C_GPAY, " | |||
lv_cex060_dtybs | TYPE P01C_GPAY-DTYBS, " | |||
lt_cex060_istru | TYPE STANDARD TABLE OF P01C_ISTRU, " | |||
lv_cex060_incrs | TYPE P01C_ISTRU, " ' ' | |||
lt_cex060_error_tab | TYPE STANDARD TABLE OF HRERROR, " | |||
lv_cex060_proto | TYPE HRERROR, " ' ' | |||
lv_cex060_waers | TYPE WAERS. " |
  CALL FUNCTION 'EXIT_RPCWEXIT_060' "HR-CPS: Customer Exit for Dynamic Processing of Pension Payments |
EXPORTING | ||
CEX060_PERNR | = lv_cex060_pernr | |
CEX060_RNTOP | = lv_cex060_rntop | |
CEX060_REART | = lv_cex060_reart | |
CEX060_KEYDT | = lv_cex060_keydt | |
CEX060_DTYBS | = lv_cex060_dtybs | |
CEX060_INCRS | = lv_cex060_incrs | |
CEX060_PROTO | = lv_cex060_proto | |
CEX060_WAERS | = lv_cex060_waers | |
TABLES | ||
CEX060_SAVE_WMENT | = lt_cex060_save_wment | |
CEX060_SAVE_WMRES | = lt_cex060_save_wmres | |
CEX060_ORG_GPAY | = lt_cex060_org_gpay | |
CEX060_NEW_GPAY | = lt_cex060_new_gpay | |
CEX060_ISTRU | = lt_cex060_istru | |
CEX060_ERROR_TAB | = lt_cex060_error_tab | |
EXCEPTIONS | ||
ERROR_TAB_FILLED = 1 | ||
. " EXIT_RPCWEXIT_060 |
ABAP code using 7.40 inline data declarations to call FM EXIT_RPCWEXIT_060
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 PERNR FROM PERNR INTO @DATA(ld_cex060_pernr). | ||||
"SELECT single RNTOP FROM T5DC5 INTO @DATA(ld_cex060_rntop). | ||||
"SELECT single REART FROM T5DC5 INTO @DATA(ld_cex060_reart). | ||||
"SELECT single DATUM FROM SY INTO @DATA(ld_cex060_keydt). | ||||
"SELECT single DTYBS FROM P01C_GPAY INTO @DATA(ld_cex060_dtybs). | ||||
DATA(ld_cex060_incrs) | = ' '. | |||
DATA(ld_cex060_proto) | = ' '. | |||
Search for further information about these or an SAP related objects