SAP FIELDHELP_CREATE Function Module for









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

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



Function FIELDHELP_CREATE 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 'FIELDHELP_CREATE'"
EXPORTING
* DE_ZUSATZ = ' ' "Internal table with tuples for bui
DYNPRO = "Internal table with tuples for bui
FIELDNAME = "Internal table with tuples for bui
KEYWORD = "Internal table with tuples for bui
* KZ_ANZEIGE = 'H' "Internal table with tuples for bui
LANGU = "Internal table with tuples for bui
PROGRAMM = "Internal table with tuples for bui
TABNAME = "Internal table with tuples for bui

IMPORTING
DE_NAME = "Internal table with tuples for bui
HEADER = "Internal table with tuples for bui

TABLES
LINES = "Internal table with tuples for bui

EXCEPTIONS
DE_NOT_FOUND = 1 DEDOKU_NOT_FOUND = 2
.



IMPORTING Parameters details for FIELDHELP_CREATE

DE_ZUSATZ - Internal table with tuples for bui

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

DYNPRO - Internal table with tuples for bui

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

FIELDNAME - Internal table with tuples for bui

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

KEYWORD - Internal table with tuples for bui

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

KZ_ANZEIGE - Internal table with tuples for bui

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

LANGU - Internal table with tuples for bui

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

PROGRAMM - Internal table with tuples for bui

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

TABNAME - Internal table with tuples for bui

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

EXPORTING Parameters details for FIELDHELP_CREATE

DE_NAME - Internal table with tuples for bui

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

HEADER - Internal table with tuples for bui

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

TABLES Parameters details for FIELDHELP_CREATE

LINES - Internal table with tuples for bui

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

EXCEPTIONS details

DE_NOT_FOUND - Internal table with tuples for bui

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

DEDOKU_NOT_FOUND - Internal table with tuples for bui

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

Copy and paste ABAP code example for FIELDHELP_CREATE 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:
lt_lines  TYPE STANDARD TABLE OF TLINE, "   
lv_de_name  TYPE DD03L-ROLLNAME, "   
lv_de_zusatz  TYPE SHLPOBJ-DE_ZUSATZ, "   SPACE
lv_de_not_found  TYPE SHLPOBJ, "   
lv_dynpro  TYPE TSTC-DYPNO, "   
lv_header  TYPE THEAD, "   
lv_dedoku_not_found  TYPE THEAD, "   
lv_fieldname  TYPE DFIES-FIELDNAME, "   
lv_keyword  TYPE DFIES-SCRTEXT_L, "   
lv_kz_anzeige  TYPE DFIES, "   'H'
lv_langu  TYPE SY-LANGU, "   
lv_programm  TYPE D301T-DDNAME, "   
lv_tabname  TYPE DFIES-TABNAME. "   

  CALL FUNCTION 'FIELDHELP_CREATE'  "
    EXPORTING
         DE_ZUSATZ = lv_de_zusatz
         DYNPRO = lv_dynpro
         FIELDNAME = lv_fieldname
         KEYWORD = lv_keyword
         KZ_ANZEIGE = lv_kz_anzeige
         LANGU = lv_langu
         PROGRAMM = lv_programm
         TABNAME = lv_tabname
    IMPORTING
         DE_NAME = lv_de_name
         HEADER = lv_header
    TABLES
         LINES = lt_lines
    EXCEPTIONS
        DE_NOT_FOUND = 1
        DEDOKU_NOT_FOUND = 2
. " FIELDHELP_CREATE




ABAP code using 7.40 inline data declarations to call FM FIELDHELP_CREATE

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 ROLLNAME FROM DD03L INTO @DATA(ld_de_name).
 
"SELECT single DE_ZUSATZ FROM SHLPOBJ INTO @DATA(ld_de_zusatz).
DATA(ld_de_zusatz) = ' '.
 
 
"SELECT single DYPNO FROM TSTC INTO @DATA(ld_dynpro).
 
 
 
"SELECT single FIELDNAME FROM DFIES INTO @DATA(ld_fieldname).
 
"SELECT single SCRTEXT_L FROM DFIES INTO @DATA(ld_keyword).
 
DATA(ld_kz_anzeige) = 'H'.
 
"SELECT single LANGU FROM SY INTO @DATA(ld_langu).
 
"SELECT single DDNAME FROM D301T INTO @DATA(ld_programm).
 
"SELECT single TABNAME FROM DFIES INTO @DATA(ld_tabname).
 


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!