SAP RKD_CONTROL_INTERFACE Function Module for









RKD_CONTROL_INTERFACE is a standard rkd control interface 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 rkd control interface FM, simply by entering the name RKD_CONTROL_INTERFACE into the relevant SAP transaction such as SE37 or SE38.

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



Function RKD_CONTROL_INTERFACE 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 'RKD_CONTROL_INTERFACE'"
EXPORTING
* I_T_DATA = "Value Table
* I_T_KOPF = "
* I_T_LCOL = "
* I_T_LC_HELP = "
* I_T_ATTR = "Attributes
* I_T_FIELD = "Field Catalog
* I_LIST_TYPE = "List Type
* I_COL_NO = "Number of Columns
* I_COL_OFF = "
* I_UNIT = "
* I_RKB1F = "
* I_T_LEADCOLUMN = "
* I_RKB1D = "
* I_RKB1U = "
* I_T_BERTXT = "
* I_T_FIX = "
* I_T_HEADER = "
* I_T_FOOTER = "
* I_METHOD = 'DISPLAY' "
* I_TS_FUNC = "
* I_TX_MID = "
* I_T_HIERARCHY = "Hierarchy Table
* I_T_DETAIL = "Detail List
* I_T_PRINT = "Print
* I_T_TEXT = "Text Table
* I_T_SEIG = "Characteristics
* I_S_SEIG = "Current Characteristic

CHANGING
* C_ID = "
.



IMPORTING Parameters details for RKD_CONTROL_INTERFACE

I_T_DATA - Value Table

Data type: KCDD_T_DATA
Optional: Yes
Call by Reference: Yes

I_T_KOPF -

Data type: KCDD_T_KOPF
Optional: Yes
Call by Reference: Yes

I_T_LCOL -

Data type: RKD_T_LCOL
Optional: Yes
Call by Reference: Yes

I_T_LC_HELP -

Data type: RKD11_T_LC_HELP
Optional: Yes
Call by Reference: Yes

I_T_ATTR - Attributes

Data type: KCDB_T_TKCQ
Optional: Yes
Call by Reference: Yes

I_T_FIELD - Field Catalog

Data type: RKD_T_FIELD
Optional: Yes
Call by Reference: Yes

I_LIST_TYPE - List Type

Data type: RKB1D-ALIST
Optional: Yes
Call by Reference: Yes

I_COL_NO - Number of Columns

Data type: I
Optional: Yes
Call by Reference: Yes

I_COL_OFF -

Data type: RKB1D-SPOFF
Optional: Yes
Call by Reference: Yes

I_UNIT -

Data type: CHAR1
Optional: Yes
Call by Reference: Yes

I_RKB1F -

Data type: RKB1F
Optional: Yes
Call by Reference: Yes

I_T_LEADCOLUMN -

Data type: KCDD_T_LEADCOLUMN
Optional: Yes
Call by Reference: Yes

I_RKB1D -

Data type: RKB1D
Optional: Yes
Call by Reference: Yes

I_RKB1U -

Data type: RKB1U
Optional: Yes
Call by Reference: Yes

I_T_BERTXT -

Data type: KCDD_T_HTML
Optional: Yes
Call by Reference: Yes

I_T_FIX -

Data type: KCDD_T_HTML
Optional: Yes
Call by Reference: Yes

I_T_HEADER -

Data type: KCDD_T_HTML
Optional: Yes
Call by Reference: Yes

I_T_FOOTER -

Data type: KCDD_T_HTML
Optional: Yes
Call by Reference: Yes

I_METHOD -

Data type: C
Default: 'DISPLAY'
Optional: Yes
Call by Reference: Yes

I_TS_FUNC -

Data type: KCDD_T_FUNC
Optional: Yes
Call by Reference: Yes

I_TX_MID -

Data type: KCDD_TX_MID
Optional: Yes
Call by Reference: Yes

I_T_HIERARCHY - Hierarchy Table

Data type: KCDD_T_HIERARCHY
Optional: Yes
Call by Reference: Yes

I_T_DETAIL - Detail List

Data type: KCDD_T_HTML
Optional: Yes
Call by Reference: Yes

I_T_PRINT - Print

Data type: RKD_T_PRINT
Optional: Yes
Call by Reference: Yes

I_T_TEXT - Text Table

Data type: RKD_T_TEXTE
Optional: Yes
Call by Reference: Yes

I_T_SEIG - Characteristics

Data type: RKD_T_SEIG
Optional: Yes
Call by Reference: Yes

I_S_SEIG - Current Characteristic

Data type: RKD_S_SEIG
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for RKD_CONTROL_INTERFACE

C_ID -

Data type: I
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for RKD_CONTROL_INTERFACE 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_c_id  TYPE I, "   
lv_i_t_data  TYPE KCDD_T_DATA, "   
lv_i_t_kopf  TYPE KCDD_T_KOPF, "   
lv_i_t_lcol  TYPE RKD_T_LCOL, "   
lv_i_t_lc_help  TYPE RKD11_T_LC_HELP, "   
lv_i_t_attr  TYPE KCDB_T_TKCQ, "   
lv_i_t_field  TYPE RKD_T_FIELD, "   
lv_i_list_type  TYPE RKB1D-ALIST, "   
lv_i_col_no  TYPE I, "   
lv_i_col_off  TYPE RKB1D-SPOFF, "   
lv_i_unit  TYPE CHAR1, "   
lv_i_rkb1f  TYPE RKB1F, "   
lv_i_t_leadcolumn  TYPE KCDD_T_LEADCOLUMN, "   
lv_i_rkb1d  TYPE RKB1D, "   
lv_i_rkb1u  TYPE RKB1U, "   
lv_i_t_bertxt  TYPE KCDD_T_HTML, "   
lv_i_t_fix  TYPE KCDD_T_HTML, "   
lv_i_t_header  TYPE KCDD_T_HTML, "   
lv_i_t_footer  TYPE KCDD_T_HTML, "   
lv_i_method  TYPE C, "   'DISPLAY'
lv_i_ts_func  TYPE KCDD_T_FUNC, "   
lv_i_tx_mid  TYPE KCDD_TX_MID, "   
lv_i_t_hierarchy  TYPE KCDD_T_HIERARCHY, "   
lv_i_t_detail  TYPE KCDD_T_HTML, "   
lv_i_t_print  TYPE RKD_T_PRINT, "   
lv_i_t_text  TYPE RKD_T_TEXTE, "   
lv_i_t_seig  TYPE RKD_T_SEIG, "   
lv_i_s_seig  TYPE RKD_S_SEIG. "   

  CALL FUNCTION 'RKD_CONTROL_INTERFACE'  "
    EXPORTING
         I_T_DATA = lv_i_t_data
         I_T_KOPF = lv_i_t_kopf
         I_T_LCOL = lv_i_t_lcol
         I_T_LC_HELP = lv_i_t_lc_help
         I_T_ATTR = lv_i_t_attr
         I_T_FIELD = lv_i_t_field
         I_LIST_TYPE = lv_i_list_type
         I_COL_NO = lv_i_col_no
         I_COL_OFF = lv_i_col_off
         I_UNIT = lv_i_unit
         I_RKB1F = lv_i_rkb1f
         I_T_LEADCOLUMN = lv_i_t_leadcolumn
         I_RKB1D = lv_i_rkb1d
         I_RKB1U = lv_i_rkb1u
         I_T_BERTXT = lv_i_t_bertxt
         I_T_FIX = lv_i_t_fix
         I_T_HEADER = lv_i_t_header
         I_T_FOOTER = lv_i_t_footer
         I_METHOD = lv_i_method
         I_TS_FUNC = lv_i_ts_func
         I_TX_MID = lv_i_tx_mid
         I_T_HIERARCHY = lv_i_t_hierarchy
         I_T_DETAIL = lv_i_t_detail
         I_T_PRINT = lv_i_t_print
         I_T_TEXT = lv_i_t_text
         I_T_SEIG = lv_i_t_seig
         I_S_SEIG = lv_i_s_seig
    CHANGING
         C_ID = lv_c_id
. " RKD_CONTROL_INTERFACE




ABAP code using 7.40 inline data declarations to call FM RKD_CONTROL_INTERFACE

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 ALIST FROM RKB1D INTO @DATA(ld_i_list_type).
 
 
"SELECT single SPOFF FROM RKB1D INTO @DATA(ld_i_col_off).
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_method) = 'DISPLAY'.
 
 
 
 
 
 
 
 
 


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!