SAP EXIT_RPCWEXIT_150 Function Module for HR-CPS: Customer Exit Transfer Basic Data to CPS-DB
EXIT_RPCWEXIT_150 is a standard exit rpcwexit 150 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 Transfer Basic Data to CPS-DB 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 150 FM, simply by entering the name EXIT_RPCWEXIT_150 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_150 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_150'"HR-CPS: Customer Exit Transfer Basic Data to CPS-DB.
EXPORTING
CEX150_PERNR = "Personnel Number
CEX150_BEGDA = "Start Period for Transfer
CEX150_ENDDA = "End Period for Transfer
TABLES
CEX150_LGART_TAB = "New Wage Types
CEX150_ERROR_TAB = "Error Message Table
CEX150_BEITR = "
CEX150_EINKO = "
EXCEPTIONS
ERROR_TAB_FILLED = 1
IMPORTING Parameters details for EXIT_RPCWEXIT_150
CEX150_PERNR - Personnel Number
Data type: PERNR-PERNROptional: No
Call by Reference: No ( called with pass by value option)
CEX150_BEGDA - Start Period for Transfer
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
CEX150_ENDDA - End Period for Transfer
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_RPCWEXIT_150
CEX150_LGART_TAB - New Wage Types
Data type: P01C_CEXUBOptional: No
Call by Reference: No ( called with pass by value option)
CEX150_ERROR_TAB - Error Message Table
Data type: HRERROROptional: No
Call by Reference: No ( called with pass by value option)
CEX150_BEITR -
Data type: P01C_TBPEROptional: No
Call by Reference: No ( called with pass by value option)
CEX150_EINKO -
Data type: P01C_TEPEROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_TAB_FILLED - Entry Made 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_150 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_cex150_pernr | TYPE PERNR-PERNR, " | |||
| lt_cex150_lgart_tab | TYPE STANDARD TABLE OF P01C_CEXUB, " | |||
| lv_error_tab_filled | TYPE P01C_CEXUB, " | |||
| lv_cex150_begda | TYPE SY-DATUM, " | |||
| lt_cex150_error_tab | TYPE STANDARD TABLE OF HRERROR, " | |||
| lt_cex150_beitr | TYPE STANDARD TABLE OF P01C_TBPER, " | |||
| lv_cex150_endda | TYPE SY-DATUM, " | |||
| lt_cex150_einko | TYPE STANDARD TABLE OF P01C_TEPER. " |
|   CALL FUNCTION 'EXIT_RPCWEXIT_150' "HR-CPS: Customer Exit Transfer Basic Data to CPS-DB |
| EXPORTING | ||
| CEX150_PERNR | = lv_cex150_pernr | |
| CEX150_BEGDA | = lv_cex150_begda | |
| CEX150_ENDDA | = lv_cex150_endda | |
| TABLES | ||
| CEX150_LGART_TAB | = lt_cex150_lgart_tab | |
| CEX150_ERROR_TAB | = lt_cex150_error_tab | |
| CEX150_BEITR | = lt_cex150_beitr | |
| CEX150_EINKO | = lt_cex150_einko | |
| EXCEPTIONS | ||
| ERROR_TAB_FILLED = 1 | ||
| . " EXIT_RPCWEXIT_150 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_RPCWEXIT_150
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_cex150_pernr). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_cex150_begda). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_cex150_endda). | ||||
Search for further information about these or an SAP related objects