SAP RKC_GET_RETAB_REFIE Function Module for
RKC_GET_RETAB_REFIE is a standard rkc get retab refie SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 rkc get retab refie FM, simply by entering the name RKC_GET_RETAB_REFIE into the relevant SAP transaction such as SE37 or SE38.
Function Group: KXDU
Program Name: SAPLKXDU
Main Program:
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function RKC_GET_RETAB_REFIE 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 'RKC_GET_RETAB_REFIE'".
EXPORTING
CHTAB = "
* CHFIE = ' ' "
* RETAB_INP = ' ' "
* REFIE_INP = ' ' "
* REFIL_INP = ' ' "
IMPORTING
REFIE = "
REFIL = "
RETAB = "
REFLL = "
EXCEPTIONS
NO_RETAB_FOUND = 1
IMPORTING Parameters details for RKC_GET_RETAB_REFIE
CHTAB -
Data type: CDIFIE-CHTABOptional: No
Call by Reference: No ( called with pass by value option)
CHFIE -
Data type: CDIFIE-CHFIEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
RETAB_INP -
Data type: CDIFIE-RETABDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
REFIE_INP -
Data type: CDIFIE-REFIEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
REFIL_INP -
Data type: CDIFIE-REFILDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RKC_GET_RETAB_REFIE
REFIE -
Data type: CDIFIE-REFIEOptional: No
Call by Reference: No ( called with pass by value option)
REFIL -
Data type: CDIFIE-REFILOptional: No
Call by Reference: No ( called with pass by value option)
RETAB -
Data type: CDIFIE-RETABOptional: No
Call by Reference: No ( called with pass by value option)
REFLL -
Data type: CDIFIE-REFLLOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_RETAB_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RKC_GET_RETAB_REFIE 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_chtab | TYPE CDIFIE-CHTAB, " | |||
lv_refie | TYPE CDIFIE-REFIE, " | |||
lv_no_retab_found | TYPE CDIFIE, " | |||
lv_chfie | TYPE CDIFIE-CHFIE, " SPACE | |||
lv_refil | TYPE CDIFIE-REFIL, " | |||
lv_retab | TYPE CDIFIE-RETAB, " | |||
lv_retab_inp | TYPE CDIFIE-RETAB, " SPACE | |||
lv_refll | TYPE CDIFIE-REFLL, " | |||
lv_refie_inp | TYPE CDIFIE-REFIE, " SPACE | |||
lv_refil_inp | TYPE CDIFIE-REFIL. " SPACE |
  CALL FUNCTION 'RKC_GET_RETAB_REFIE' " |
EXPORTING | ||
CHTAB | = lv_chtab | |
CHFIE | = lv_chfie | |
RETAB_INP | = lv_retab_inp | |
REFIE_INP | = lv_refie_inp | |
REFIL_INP | = lv_refil_inp | |
IMPORTING | ||
REFIE | = lv_refie | |
REFIL | = lv_refil | |
RETAB | = lv_retab | |
REFLL | = lv_refll | |
EXCEPTIONS | ||
NO_RETAB_FOUND = 1 | ||
. " RKC_GET_RETAB_REFIE |
ABAP code using 7.40 inline data declarations to call FM RKC_GET_RETAB_REFIE
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 CHTAB FROM CDIFIE INTO @DATA(ld_chtab). | ||||
"SELECT single REFIE FROM CDIFIE INTO @DATA(ld_refie). | ||||
"SELECT single CHFIE FROM CDIFIE INTO @DATA(ld_chfie). | ||||
DATA(ld_chfie) | = ' '. | |||
"SELECT single REFIL FROM CDIFIE INTO @DATA(ld_refil). | ||||
"SELECT single RETAB FROM CDIFIE INTO @DATA(ld_retab). | ||||
"SELECT single RETAB FROM CDIFIE INTO @DATA(ld_retab_inp). | ||||
DATA(ld_retab_inp) | = ' '. | |||
"SELECT single REFLL FROM CDIFIE INTO @DATA(ld_refll). | ||||
"SELECT single REFIE FROM CDIFIE INTO @DATA(ld_refie_inp). | ||||
DATA(ld_refie_inp) | = ' '. | |||
"SELECT single REFIL FROM CDIFIE INTO @DATA(ld_refil_inp). | ||||
DATA(ld_refil_inp) | = ' '. | |||
Search for further information about these or an SAP related objects