SAP EXIT_RPCFUDI0_005 Function Module for CUD 2003: user exit for changing total income
EXIT_RPCFUDI0_005 is a standard exit rpcfudi0 005 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for CUD 2003: user exit for changing total income 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 rpcfudi0 005 FM, simply by entering the name EXIT_RPCFUDI0_005 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XFI0
Program Name: SAPLXFI0
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_RPCFUDI0_005 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_RPCFUDI0_005'"CUD 2003: user exit for changing total income.
EXPORTING
P_PERNR = "Personnel Number
P_ENDDA = "Date and time, current date (Application server)
P_PAYBEG = "Validity start
P_PAYEND = "Validity end
CHANGING
P_REDDITO_COMPL = "Payroll: amount
TABLES
P_RE5ITW5 = "
P_RT_TAB = "
P_INFO160 = "
EXCEPTIONS
USED_USER_EXIT = 1
IMPORTING Parameters details for EXIT_RPCFUDI0_005
P_PERNR - Personnel Number
Data type: PERNR-PERNROptional: No
Call by Reference: No ( called with pass by value option)
P_ENDDA - Date and time, current date (Application server)
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
P_PAYBEG - Validity start
Data type: P0160-BEGDAOptional: No
Call by Reference: No ( called with pass by value option)
P_PAYEND - Validity end
Data type: P0160-ENDDAOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for EXIT_RPCFUDI0_005
P_REDDITO_COMPL - Payroll: amount
Data type: PC207-BETRGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_RPCFUDI0_005
P_RE5ITW5 -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_RT_TAB -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_INFO160 -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
USED_USER_EXIT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_RPCFUDI0_005 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_p_pernr | TYPE PERNR-PERNR, " | |||
lt_p_re5itw5 | TYPE STANDARD TABLE OF PERNR, " | |||
lv_used_user_exit | TYPE PERNR, " | |||
lv_p_reddito_compl | TYPE PC207-BETRG, " | |||
lv_p_endda | TYPE SY-DATUM, " | |||
lt_p_rt_tab | TYPE STANDARD TABLE OF SY, " | |||
lv_p_paybeg | TYPE P0160-BEGDA, " | |||
lt_p_info160 | TYPE STANDARD TABLE OF P0160, " | |||
lv_p_payend | TYPE P0160-ENDDA. " |
  CALL FUNCTION 'EXIT_RPCFUDI0_005' "CUD 2003: user exit for changing total income |
EXPORTING | ||
P_PERNR | = lv_p_pernr | |
P_ENDDA | = lv_p_endda | |
P_PAYBEG | = lv_p_paybeg | |
P_PAYEND | = lv_p_payend | |
CHANGING | ||
P_REDDITO_COMPL | = lv_p_reddito_compl | |
TABLES | ||
P_RE5ITW5 | = lt_p_re5itw5 | |
P_RT_TAB | = lt_p_rt_tab | |
P_INFO160 | = lt_p_info160 | |
EXCEPTIONS | ||
USED_USER_EXIT = 1 | ||
. " EXIT_RPCFUDI0_005 |
ABAP code using 7.40 inline data declarations to call FM EXIT_RPCFUDI0_005
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_p_pernr). | ||||
"SELECT single BETRG FROM PC207 INTO @DATA(ld_p_reddito_compl). | ||||
"SELECT single DATUM FROM SY INTO @DATA(ld_p_endda). | ||||
"SELECT single BEGDA FROM P0160 INTO @DATA(ld_p_paybeg). | ||||
"SELECT single ENDDA FROM P0160 INTO @DATA(ld_p_payend). | ||||
Search for further information about these or an SAP related objects