SAP HELP_FORM_VALUES_GET Function Module for









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

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



Function HELP_FORM_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 'HELP_FORM_VALUES_GET'"
EXPORTING
* I_APPLCLASS = 'KC ' "
I_FORM = "
* I_SUBCLASSF = '01' "
* I_TABNAME = 'CF001' "
I_TXTMT = "
* I_DOCU_TABNAME = 'TKES1' "
* I_DOCU_FIELDNAME = 'FORM' "
* I_TABNAME_COL_TITLE = "
* I_ACTIVE_ONLY = "

IMPORTING
E_FORM = "
E_TXTKZ = "
E_TXTLG = "
E_TXTMT = "
E_TABNAME = "
.



IMPORTING Parameters details for HELP_FORM_VALUES_GET

I_APPLCLASS -

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

I_FORM -

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

I_SUBCLASSF -

Data type: RKB1D-SUBCLASSF
Default: '01'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TABNAME -

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

I_TXTMT -

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

I_DOCU_TABNAME -

Data type: HELP_INFO-TABNAME
Default: 'TKES1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DOCU_FIELDNAME -

Data type: HELP_INFO-FIELDNAME
Default: 'FORM'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TABNAME_COL_TITLE -

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

I_ACTIVE_ONLY -

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

EXPORTING Parameters details for HELP_FORM_VALUES_GET

E_FORM -

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

E_TXTKZ -

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

E_TXTLG -

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

E_TXTMT -

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

E_TABNAME -

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

Copy and paste ABAP code example for HELP_FORM_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_e_form  TYPE RKB1D-FORM, "   
lv_i_applclass  TYPE RKB1D-APPLCLASS, "   'KC '
lv_i_form  TYPE RKB1D-FORM, "   
lv_e_txtkz  TYPE TKES2-TXTKZ, "   
lv_e_txtlg  TYPE TKES2-TXTLG, "   
lv_i_subclassf  TYPE RKB1D-SUBCLASSF, "   '01'
lv_e_txtmt  TYPE TKES2-TXTMT, "   
lv_i_tabname  TYPE RKB1D-TABNAME, "   'CF001'
lv_i_txtmt  TYPE TKES2-TXTMT, "   
lv_e_tabname  TYPE RKB1D-TABNAME, "   
lv_i_docu_tabname  TYPE HELP_INFO-TABNAME, "   'TKES1'
lv_i_docu_fieldname  TYPE HELP_INFO-FIELDNAME, "   'FORM'
lv_i_tabname_col_title  TYPE TKES2-TXTMT, "   
lv_i_active_only  TYPE TKES1-INACT. "   

  CALL FUNCTION 'HELP_FORM_VALUES_GET'  "
    EXPORTING
         I_APPLCLASS = lv_i_applclass
         I_FORM = lv_i_form
         I_SUBCLASSF = lv_i_subclassf
         I_TABNAME = lv_i_tabname
         I_TXTMT = lv_i_txtmt
         I_DOCU_TABNAME = lv_i_docu_tabname
         I_DOCU_FIELDNAME = lv_i_docu_fieldname
         I_TABNAME_COL_TITLE = lv_i_tabname_col_title
         I_ACTIVE_ONLY = lv_i_active_only
    IMPORTING
         E_FORM = lv_e_form
         E_TXTKZ = lv_e_txtkz
         E_TXTLG = lv_e_txtlg
         E_TXTMT = lv_e_txtmt
         E_TABNAME = lv_e_tabname
. " HELP_FORM_VALUES_GET




ABAP code using 7.40 inline data declarations to call FM HELP_FORM_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 FORM FROM RKB1D INTO @DATA(ld_e_form).
 
"SELECT single APPLCLASS FROM RKB1D INTO @DATA(ld_i_applclass).
DATA(ld_i_applclass) = 'KC '.
 
"SELECT single FORM FROM RKB1D INTO @DATA(ld_i_form).
 
"SELECT single TXTKZ FROM TKES2 INTO @DATA(ld_e_txtkz).
 
"SELECT single TXTLG FROM TKES2 INTO @DATA(ld_e_txtlg).
 
"SELECT single SUBCLASSF FROM RKB1D INTO @DATA(ld_i_subclassf).
DATA(ld_i_subclassf) = '01'.
 
"SELECT single TXTMT FROM TKES2 INTO @DATA(ld_e_txtmt).
 
"SELECT single TABNAME FROM RKB1D INTO @DATA(ld_i_tabname).
DATA(ld_i_tabname) = 'CF001'.
 
"SELECT single TXTMT FROM TKES2 INTO @DATA(ld_i_txtmt).
 
"SELECT single TABNAME FROM RKB1D INTO @DATA(ld_e_tabname).
 
"SELECT single TABNAME FROM HELP_INFO INTO @DATA(ld_i_docu_tabname).
DATA(ld_i_docu_tabname) = 'TKES1'.
 
"SELECT single FIELDNAME FROM HELP_INFO INTO @DATA(ld_i_docu_fieldname).
DATA(ld_i_docu_fieldname) = 'FORM'.
 
"SELECT single TXTMT FROM TKES2 INTO @DATA(ld_i_tabname_col_title).
 
"SELECT single INACT FROM TKES1 INTO @DATA(ld_i_active_only).
 


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!