SAP Function Modules

RKD_HELP_VALUES_GET SAP Function module







RKD_HELP_VALUES_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name RKD_HELP_VALUES_GET into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: KYP3
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM RKD_HELP_VALUES_GET - RKD HELP VALUES GET





CALL FUNCTION 'RKD_HELP_VALUES_GET' "
  EXPORTING
*   longtext = SPACE            " ccvalid-xfeld  Long text in popup
    applclass =                 " rkb1d-applclass  Application
*   display = SPACE             "               'X' = Popup in display mode
    field =                     " cdifie-fienm  Name of the F4 field
*   hclass =                    " cfbvp01-hclass  Hierarchy class
*   mc_object = SPACE           " dd23l-mconame  Match code objekt
*   message_type = 'S'          " sy-msgty      Message type
*   rkb1x =                     " rkb1x         RKB1X
*   selstr = SPACE              "               Entry string in F4 field
    table =                     " cdifie-tabnm  Table name
*   vartyp = '1'                " cfbvp01-vartyp  Type of variable
*   hienm =                     " cfbse01-hienm
  IMPORTING
    keyid =                     "               Characteristic value
* TABLES
*   dependancy_tab =            " cfbdp01       Dependency table
*   i_field_tab =               " cdifie        Field Catalog
    .  "  RKD_HELP_VALUES_GET

ABAP code example for Function Module RKD_HELP_VALUES_GET





The ABAP code below is a full code listing to execute function module RKD_HELP_VALUES_GET including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_keyid  TYPE STRING ,
it_dependancy_tab  TYPE STANDARD TABLE OF CFBDP01,"TABLES PARAM
wa_dependancy_tab  LIKE LINE OF it_dependancy_tab ,
it_i_field_tab  TYPE STANDARD TABLE OF CDIFIE,"TABLES PARAM
wa_i_field_tab  LIKE LINE OF it_i_field_tab .


DATA(ld_longtext) = some text here

DATA(ld_applclass) = some text here
DATA(ld_display) = 'some text here'.

DATA(ld_field) = some text here

DATA(ld_hclass) = some text here

SELECT single MCONAME
FROM DD23L
INTO @DATA(ld_mc_object).

DATA(ld_message_type) = 'some text here'.
DATA(ld_rkb1x) = 'some text here'.
DATA(ld_selstr) = 'some text here'.

DATA(ld_table) = some text here

DATA(ld_vartyp) = some text here

DATA(ld_hienm) = some text here

"populate fields of struture and append to itab
append wa_dependancy_tab to it_dependancy_tab.

"populate fields of struture and append to itab
append wa_i_field_tab to it_i_field_tab. . CALL FUNCTION 'RKD_HELP_VALUES_GET' EXPORTING * longtext = ld_longtext applclass = ld_applclass * display = ld_display field = ld_field * hclass = ld_hclass * mc_object = ld_mc_object * message_type = ld_message_type * rkb1x = ld_rkb1x * selstr = ld_selstr table = ld_table * vartyp = ld_vartyp * hienm = ld_hienm IMPORTING keyid = ld_keyid * TABLES * dependancy_tab = it_dependancy_tab * i_field_tab = it_i_field_tab . " RKD_HELP_VALUES_GET
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_keyid  TYPE STRING ,
ld_longtext  TYPE CCVALID-XFELD ,
it_dependancy_tab  TYPE STANDARD TABLE OF CFBDP01 ,
wa_dependancy_tab  LIKE LINE OF it_dependancy_tab,
ld_applclass  TYPE RKB1D-APPLCLASS ,
it_i_field_tab  TYPE STANDARD TABLE OF CDIFIE ,
wa_i_field_tab  LIKE LINE OF it_i_field_tab,
ld_display  TYPE STRING ,
ld_field  TYPE CDIFIE-FIENM ,
ld_hclass  TYPE CFBVP01-HCLASS ,
ld_mc_object  TYPE DD23L-MCONAME ,
ld_message_type  TYPE SY-MSGTY ,
ld_rkb1x  TYPE RKB1X ,
ld_selstr  TYPE STRING ,
ld_table  TYPE CDIFIE-TABNM ,
ld_vartyp  TYPE CFBVP01-VARTYP ,
ld_hienm  TYPE CFBSE01-HIENM .


ld_longtext = some text here

"populate fields of struture and append to itab
append wa_dependancy_tab to it_dependancy_tab.

ld_applclass = some text here

"populate fields of struture and append to itab
append wa_i_field_tab to it_i_field_tab.
ld_display = 'some text here'.

ld_field = some text here

ld_hclass = some text here

SELECT single MCONAME
FROM DD23L
INTO ld_mc_object.

ld_message_type = 'some text here'.
ld_rkb1x = 'some text here'.
ld_selstr = 'some text here'.

ld_table = some text here

ld_vartyp = some text here

ld_hienm = some text here

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RKD_HELP_VALUES_GET or its description.