SAP RKC_FTAB_DISP_ATR_GET Function Module for









RKC_FTAB_DISP_ATR_GET is a standard rkc ftab disp atr get 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 ftab disp atr get FM, simply by entering the name RKC_FTAB_DISP_ATR_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: KXDI
Program Name: SAPLKXDI
Main Program:
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RKC_FTAB_DISP_ATR_GET 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_FTAB_DISP_ATR_GET'"
EXPORTING
* I_TABNM = ' ' "
* I_STATE = 'A' "
* I_APPLC = 'KC' "
* I_FIENM = '*' "
* I_REFRESH_BUF = ' ' "

TABLES
E_DISP_ATR_TAB = "

EXCEPTIONS
NO_INFO = 1 SELECTION_ERROR = 2 FTAB_EMPTY = 3
.



IMPORTING Parameters details for RKC_FTAB_DISP_ATR_GET

I_TABNM -

Data type: CDIFIE-TABNM
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_STATE -

Data type: DDREFSTRUC-STATE
Default: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_APPLC -

Data type: TKCK-APPLC
Default: 'KC'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FIENM -

Data type: CDIFIE-FIENM
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_REFRESH_BUF -

Data type: KCDB_BOOL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RKC_FTAB_DISP_ATR_GET

E_DISP_ATR_TAB -

Data type: CDIFIE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_INFO -

Data type:
Optional: No
Call by Reference: Yes

SELECTION_ERROR -

Data type:
Optional: No
Call by Reference: Yes

FTAB_EMPTY -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RKC_FTAB_DISP_ATR_GET 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_i_tabnm  TYPE CDIFIE-TABNM, "   ' '
lv_no_info  TYPE CDIFIE, "   
lt_e_disp_atr_tab  TYPE STANDARD TABLE OF CDIFIE, "   
lv_i_state  TYPE DDREFSTRUC-STATE, "   'A'
lv_selection_error  TYPE DDREFSTRUC, "   
lv_i_applc  TYPE TKCK-APPLC, "   'KC'
lv_ftab_empty  TYPE TKCK, "   
lv_i_fienm  TYPE CDIFIE-FIENM, "   '*'
lv_i_refresh_buf  TYPE KCDB_BOOL. "   ' '

  CALL FUNCTION 'RKC_FTAB_DISP_ATR_GET'  "
    EXPORTING
         I_TABNM = lv_i_tabnm
         I_STATE = lv_i_state
         I_APPLC = lv_i_applc
         I_FIENM = lv_i_fienm
         I_REFRESH_BUF = lv_i_refresh_buf
    TABLES
         E_DISP_ATR_TAB = lt_e_disp_atr_tab
    EXCEPTIONS
        NO_INFO = 1
        SELECTION_ERROR = 2
        FTAB_EMPTY = 3
. " RKC_FTAB_DISP_ATR_GET




ABAP code using 7.40 inline data declarations to call FM RKC_FTAB_DISP_ATR_GET

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 TABNM FROM CDIFIE INTO @DATA(ld_i_tabnm).
DATA(ld_i_tabnm) = ' '.
 
 
 
"SELECT single STATE FROM DDREFSTRUC INTO @DATA(ld_i_state).
DATA(ld_i_state) = 'A'.
 
 
"SELECT single APPLC FROM TKCK INTO @DATA(ld_i_applc).
DATA(ld_i_applc) = 'KC'.
 
 
"SELECT single FIENM FROM CDIFIE INTO @DATA(ld_i_fienm).
DATA(ld_i_fienm) = '*'.
 
DATA(ld_i_refresh_buf) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!