SAP DD_SHLP_GET_HELPMETHOD Function Module for Determine the help methods for a DDIC field









DD_SHLP_GET_HELPMETHOD is a standard dd shlp get helpmethod SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine the help methods for a DDIC field 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 dd shlp get helpmethod FM, simply by entering the name DD_SHLP_GET_HELPMETHOD into the relevant SAP transaction such as SE37 or SE38.

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



Function DD_SHLP_GET_HELPMETHOD 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 'DD_SHLP_GET_HELPMETHOD'"Determine the help methods for a DDIC field
EXPORTING
* TABNAME = ' ' "
* FIELDNAME = ' ' "
* LANGU = SY-LANGU "Language for short texts
* NO_CHKTAB_MAPPING = "
* GET_ENTITYTAB = ' ' "

CHANGING
SHLP = "
* CALLCONTROL = "

EXCEPTIONS
FIELD_NOT_FOUND = 1 NO_HELP_FOR_FIELD = 2
.



IMPORTING Parameters details for DD_SHLP_GET_HELPMETHOD

TABNAME -

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

FIELDNAME -

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

LANGU - Language for short texts

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

NO_CHKTAB_MAPPING -

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

GET_ENTITYTAB -

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

CHANGING Parameters details for DD_SHLP_GET_HELPMETHOD

SHLP -

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

CALLCONTROL -

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

EXCEPTIONS details

FIELD_NOT_FOUND -

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

NO_HELP_FOR_FIELD -

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

Copy and paste ABAP code example for DD_SHLP_GET_HELPMETHOD 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_shlp  TYPE SHLP_DESCR_T, "   
lv_tabname  TYPE DD03V-TABNAME, "   SPACE
lv_field_not_found  TYPE DD03V, "   
lv_fieldname  TYPE DD03V-FIELDNAME, "   SPACE
lv_callcontrol  TYPE DDSHF4CTRL, "   
lv_no_help_for_field  TYPE DDSHF4CTRL, "   
lv_langu  TYPE SY-LANGU, "   SY-LANGU
lv_no_chktab_mapping  TYPE C, "   
lv_get_entitytab  TYPE C. "   SPACE

  CALL FUNCTION 'DD_SHLP_GET_HELPMETHOD'  "Determine the help methods for a DDIC field
    EXPORTING
         TABNAME = lv_tabname
         FIELDNAME = lv_fieldname
         LANGU = lv_langu
         NO_CHKTAB_MAPPING = lv_no_chktab_mapping
         GET_ENTITYTAB = lv_get_entitytab
    CHANGING
         SHLP = lv_shlp
         CALLCONTROL = lv_callcontrol
    EXCEPTIONS
        FIELD_NOT_FOUND = 1
        NO_HELP_FOR_FIELD = 2
. " DD_SHLP_GET_HELPMETHOD




ABAP code using 7.40 inline data declarations to call FM DD_SHLP_GET_HELPMETHOD

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 TABNAME FROM DD03V INTO @DATA(ld_tabname).
DATA(ld_tabname) = ' '.
 
 
"SELECT single FIELDNAME FROM DD03V INTO @DATA(ld_fieldname).
DATA(ld_fieldname) = ' '.
 
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_langu).
DATA(ld_langu) = SY-LANGU.
 
 
DATA(ld_get_entitytab) = ' '.
 


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!