SAP RKD_RKB1X_SET Function Module for Aspect, operating concern, etc. found from table









RKD_RKB1X_SET is a standard rkd rkb1x set SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Aspect, operating concern, etc. found from table 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 rkd rkb1x set FM, simply by entering the name RKD_RKB1X_SET into the relevant SAP transaction such as SE37 or SE38.

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



Function RKD_RKB1X_SET 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_RKB1X_SET'"Aspect, operating concern, etc. found from table
EXPORTING
APPLCLASS = "
* I_GET_TABLE = '1' "Display or hide popup for aspect
I_RKB1X = "
* I_SET_VERSION = 'X' "
* I_TABLE = ' ' "
* I_SET_KOKRS = 'X' "
* I_RAISE_USER_ABEND = "
* I_RAISE_ERKRS_INACTIVE = 'X' "

IMPORTING
E_RKB1X = "
E_FCODE = "
E_TABLE = "

EXCEPTIONS
USER_ABEND = 1 ERKRS_INACTIVE = 2
.



IMPORTING Parameters details for RKD_RKB1X_SET

APPLCLASS -

Data type: RKB1D-APPLCLASS
Optional: No
Call by Reference: No ( called with pass by value option)

I_GET_TABLE - Display or hide popup for aspect

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

I_RKB1X -

Data type: RKB1X
Optional: No
Call by Reference: No ( called with pass by value option)

I_SET_VERSION -

Data type: CCVALID-XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TABLE -

Data type: RKB1D-TABNAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SET_KOKRS -

Data type: CCVALID-XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RAISE_USER_ABEND -

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

I_RAISE_ERKRS_INACTIVE -

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

EXPORTING Parameters details for RKD_RKB1X_SET

E_RKB1X -

Data type: RKB1X
Optional: No
Call by Reference: No ( called with pass by value option)

E_FCODE -

Data type: SY-PFKEY
Optional: No
Call by Reference: No ( called with pass by value option)

E_TABLE -

Data type: RKB1D-TABNAME
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

USER_ABEND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ERKRS_INACTIVE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RKD_RKB1X_SET 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_e_rkb1x  TYPE RKB1X, "   
lv_applclass  TYPE RKB1D-APPLCLASS, "   
lv_user_abend  TYPE RKB1D, "   
lv_e_fcode  TYPE SY-PFKEY, "   
lv_i_get_table  TYPE CLIKE, "   '1'
lv_erkrs_inactive  TYPE CLIKE, "   
lv_e_table  TYPE RKB1D-TABNAME, "   
lv_i_rkb1x  TYPE RKB1X, "   
lv_i_set_version  TYPE CCVALID-XFELD, "   'X'
lv_i_table  TYPE RKB1D-TABNAME, "   SPACE
lv_i_set_kokrs  TYPE CCVALID-XFELD, "   'X'
lv_i_raise_user_abend  TYPE RKD_FLAG, "   
lv_i_raise_erkrs_inactive  TYPE RKD_FLAG. "   'X'

  CALL FUNCTION 'RKD_RKB1X_SET'  "Aspect, operating concern, etc. found from table
    EXPORTING
         APPLCLASS = lv_applclass
         I_GET_TABLE = lv_i_get_table
         I_RKB1X = lv_i_rkb1x
         I_SET_VERSION = lv_i_set_version
         I_TABLE = lv_i_table
         I_SET_KOKRS = lv_i_set_kokrs
         I_RAISE_USER_ABEND = lv_i_raise_user_abend
         I_RAISE_ERKRS_INACTIVE = lv_i_raise_erkrs_inactive
    IMPORTING
         E_RKB1X = lv_e_rkb1x
         E_FCODE = lv_e_fcode
         E_TABLE = lv_e_table
    EXCEPTIONS
        USER_ABEND = 1
        ERKRS_INACTIVE = 2
. " RKD_RKB1X_SET




ABAP code using 7.40 inline data declarations to call FM RKD_RKB1X_SET

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 APPLCLASS FROM RKB1D INTO @DATA(ld_applclass).
 
 
"SELECT single PFKEY FROM SY INTO @DATA(ld_e_fcode).
 
DATA(ld_i_get_table) = '1'.
 
 
"SELECT single TABNAME FROM RKB1D INTO @DATA(ld_e_table).
 
 
"SELECT single XFELD FROM CCVALID INTO @DATA(ld_i_set_version).
DATA(ld_i_set_version) = 'X'.
 
"SELECT single TABNAME FROM RKB1D INTO @DATA(ld_i_table).
DATA(ld_i_table) = ' '.
 
"SELECT single XFELD FROM CCVALID INTO @DATA(ld_i_set_kokrs).
DATA(ld_i_set_kokrs) = 'X'.
 
 
DATA(ld_i_raise_erkrs_inactive) = 'X'.
 


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!