SAP RKD_HELP_VALUES_GET Function Module for









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

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



Function RKD_HELP_VALUES_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 'RKD_HELP_VALUES_GET'"
EXPORTING
* LONGTEXT = ' ' "Long text in popup
TABLE = "Table name
* VARTYP = '1' "Type of variable
* HIENM = "
APPLCLASS = "Application
* DISPLAY = ' ' "'X' = Popup in display mode
FIELD = "Name of the F4 field
* HCLASS = "Hierarchy class
* MC_OBJECT = ' ' "Match code objekt
* MESSAGE_TYPE = 'S' "Message type
* RKB1X = "RKB1X
* SELSTR = ' ' "Entry string in F4 field

IMPORTING
KEYID = "Characteristic value

TABLES
* DEPENDANCY_TAB = "Dependency table
* I_FIELD_TAB = "Field Catalog
.



IMPORTING Parameters details for RKD_HELP_VALUES_GET

LONGTEXT - Long text in popup

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

TABLE - Table name

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

VARTYP - Type of variable

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

HIENM -

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

APPLCLASS - Application

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

DISPLAY - 'X' = Popup in display mode

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

FIELD - Name of the F4 field

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

HCLASS - Hierarchy class

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

MC_OBJECT - Match code objekt

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

MESSAGE_TYPE - Message type

Data type: SY-MSGTY
Default: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RKB1X - RKB1X

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

SELSTR - Entry string in F4 field

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

EXPORTING Parameters details for RKD_HELP_VALUES_GET

KEYID - Characteristic value

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

TABLES Parameters details for RKD_HELP_VALUES_GET

DEPENDANCY_TAB - Dependency table

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

I_FIELD_TAB - Field Catalog

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

Copy and paste ABAP code example for RKD_HELP_VALUES_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_keyid  TYPE STRING, "   
lv_longtext  TYPE CCVALID-XFELD, "   SPACE
lt_dependancy_tab  TYPE STANDARD TABLE OF CFBDP01, "   
lv_table  TYPE CDIFIE-TABNM, "   
lv_vartyp  TYPE CFBVP01-VARTYP, "   '1'
lv_hienm  TYPE CFBSE01-HIENM, "   
lv_applclass  TYPE RKB1D-APPLCLASS, "   
lt_i_field_tab  TYPE STANDARD TABLE OF CDIFIE, "   
lv_display  TYPE CDIFIE, "   SPACE
lv_field  TYPE CDIFIE-FIENM, "   
lv_hclass  TYPE CFBVP01-HCLASS, "   
lv_mc_object  TYPE DD23L-MCONAME, "   SPACE
lv_message_type  TYPE SY-MSGTY, "   'S'
lv_rkb1x  TYPE RKB1X, "   
lv_selstr  TYPE RKB1X. "   SPACE

  CALL FUNCTION 'RKD_HELP_VALUES_GET'  "
    EXPORTING
         LONGTEXT = lv_longtext
         TABLE = lv_table
         VARTYP = lv_vartyp
         HIENM = lv_hienm
         APPLCLASS = lv_applclass
         DISPLAY = lv_display
         FIELD = lv_field
         HCLASS = lv_hclass
         MC_OBJECT = lv_mc_object
         MESSAGE_TYPE = lv_message_type
         RKB1X = lv_rkb1x
         SELSTR = lv_selstr
    IMPORTING
         KEYID = lv_keyid
    TABLES
         DEPENDANCY_TAB = lt_dependancy_tab
         I_FIELD_TAB = lt_i_field_tab
. " RKD_HELP_VALUES_GET




ABAP code using 7.40 inline data declarations to call FM RKD_HELP_VALUES_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 XFELD FROM CCVALID INTO @DATA(ld_longtext).
DATA(ld_longtext) = ' '.
 
 
"SELECT single TABNM FROM CDIFIE INTO @DATA(ld_table).
 
"SELECT single VARTYP FROM CFBVP01 INTO @DATA(ld_vartyp).
DATA(ld_vartyp) = '1'.
 
"SELECT single HIENM FROM CFBSE01 INTO @DATA(ld_hienm).
 
"SELECT single APPLCLASS FROM RKB1D INTO @DATA(ld_applclass).
 
 
DATA(ld_display) = ' '.
 
"SELECT single FIENM FROM CDIFIE INTO @DATA(ld_field).
 
"SELECT single HCLASS FROM CFBVP01 INTO @DATA(ld_hclass).
 
"SELECT single MCONAME FROM DD23L INTO @DATA(ld_mc_object).
DATA(ld_mc_object) = ' '.
 
"SELECT single MSGTY FROM SY INTO @DATA(ld_message_type).
DATA(ld_message_type) = 'S'.
 
 
DATA(ld_selstr) = ' '.
 


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!