SAP EASYDMS_HELPVALUES_GET Function Module for Determine Allowed Input Values (F4) for Fields in BAPI Parameters
EASYDMS_HELPVALUES_GET is a standard easydms helpvalues get 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 Allowed Input Values (F4) for Fields in BAPI Parameters 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 easydms helpvalues get FM, simply by entering the name EASYDMS_HELPVALUES_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: EASYDMS70
Program Name: SAPLEASYDMS70
Main Program: SAPLEASYDMS70
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function EASYDMS_HELPVALUES_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 'EASYDMS_HELPVALUES_GET'"Determine Allowed Input Values (F4) for Fields in BAPI Parameters.
EXPORTING
* OBJTYPE = ' ' "Object type
* OBJNAME = ' ' "Object Name
METHOD = "Method name of object type
PARAMETER = "Name of parameter in method
* FIELD = "Field name in the parameter for F4 values
* EXPLICIT_SHLP = "Details of Value Retrieval
* MAX_OF_ROWS = 0 "Maximum number of lines of hits
* DESCRIPTIONONLY = ' ' "Only determine description of help values
IMPORTING
RETURN = "Return Messages
TABLES
* SELECTION_FOR_HELPVALUES = "Definition of selection criteria
HELPVALUES = "Hit list matching selection criteria
VALUES_FOR_FIELD = "Hit list for the field selected
DESCRIPTION_FOR_HELPVALUES = "Structure Description of Parameter Helpvalues
IMPORTING Parameters details for EASYDMS_HELPVALUES_GET
OBJTYPE - Object type
Data type: BAPIF4A-OBJTYPEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJNAME - Object Name
Data type: BAPIF4A-OBJNAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
METHOD - Method name of object type
Data type: BAPIF4A-METHODOptional: No
Call by Reference: No ( called with pass by value option)
PARAMETER - Name of parameter in method
Data type: BAPIF4A-PARAMOptional: No
Call by Reference: No ( called with pass by value option)
FIELD - Field name in the parameter for F4 values
Data type: BAPIF4A-FIELDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPLICIT_SHLP - Details of Value Retrieval
Data type: BAPISHLPOptional: Yes
Call by Reference: No ( called with pass by value option)
MAX_OF_ROWS - Maximum number of lines of hits
Data type: BAPIF4A-MAX_ROWSOptional: Yes
Call by Reference: No ( called with pass by value option)
DESCRIPTIONONLY - Only determine description of help values
Data type: BAPIF4A-DESCRIPDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EASYDMS_HELPVALUES_GET
RETURN - Return Messages
Data type: BAPIRETURNOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EASYDMS_HELPVALUES_GET
SELECTION_FOR_HELPVALUES - Definition of selection criteria
Data type: BAPIF4BOptional: Yes
Call by Reference: No ( called with pass by value option)
HELPVALUES - Hit list matching selection criteria
Data type: BAPIF4COptional: No
Call by Reference: No ( called with pass by value option)
VALUES_FOR_FIELD - Hit list for the field selected
Data type: BAPIF4DOptional: No
Call by Reference: No ( called with pass by value option)
DESCRIPTION_FOR_HELPVALUES - Structure Description of Parameter Helpvalues
Data type: BAPIF4EOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EASYDMS_HELPVALUES_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_return | TYPE BAPIRETURN, " | |||
| lv_objtype | TYPE BAPIF4A-OBJTYPE, " SPACE | |||
| lt_selection_for_helpvalues | TYPE STANDARD TABLE OF BAPIF4B, " | |||
| lv_objname | TYPE BAPIF4A-OBJNAME, " SPACE | |||
| lt_helpvalues | TYPE STANDARD TABLE OF BAPIF4C, " | |||
| lv_method | TYPE BAPIF4A-METHOD, " | |||
| lt_values_for_field | TYPE STANDARD TABLE OF BAPIF4D, " | |||
| lv_parameter | TYPE BAPIF4A-PARAM, " | |||
| lt_description_for_helpvalues | TYPE STANDARD TABLE OF BAPIF4E, " | |||
| lv_field | TYPE BAPIF4A-FIELD, " | |||
| lv_explicit_shlp | TYPE BAPISHLP, " | |||
| lv_max_of_rows | TYPE BAPIF4A-MAX_ROWS, " 0 | |||
| lv_descriptiononly | TYPE BAPIF4A-DESCRIP. " SPACE |
|   CALL FUNCTION 'EASYDMS_HELPVALUES_GET' "Determine Allowed Input Values (F4) for Fields in BAPI Parameters |
| EXPORTING | ||
| OBJTYPE | = lv_objtype | |
| OBJNAME | = lv_objname | |
| METHOD | = lv_method | |
| PARAMETER | = lv_parameter | |
| FIELD | = lv_field | |
| EXPLICIT_SHLP | = lv_explicit_shlp | |
| MAX_OF_ROWS | = lv_max_of_rows | |
| DESCRIPTIONONLY | = lv_descriptiononly | |
| IMPORTING | ||
| RETURN | = lv_return | |
| TABLES | ||
| SELECTION_FOR_HELPVALUES | = lt_selection_for_helpvalues | |
| HELPVALUES | = lt_helpvalues | |
| VALUES_FOR_FIELD | = lt_values_for_field | |
| DESCRIPTION_FOR_HELPVALUES | = lt_description_for_helpvalues | |
| . " EASYDMS_HELPVALUES_GET | ||
ABAP code using 7.40 inline data declarations to call FM EASYDMS_HELPVALUES_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 OBJTYPE FROM BAPIF4A INTO @DATA(ld_objtype). | ||||
| DATA(ld_objtype) | = ' '. | |||
| "SELECT single OBJNAME FROM BAPIF4A INTO @DATA(ld_objname). | ||||
| DATA(ld_objname) | = ' '. | |||
| "SELECT single METHOD FROM BAPIF4A INTO @DATA(ld_method). | ||||
| "SELECT single PARAM FROM BAPIF4A INTO @DATA(ld_parameter). | ||||
| "SELECT single FIELD FROM BAPIF4A INTO @DATA(ld_field). | ||||
| "SELECT single MAX_ROWS FROM BAPIF4A INTO @DATA(ld_max_of_rows). | ||||
| "SELECT single DESCRIP FROM BAPIF4A INTO @DATA(ld_descriptiononly). | ||||
| DATA(ld_descriptiononly) | = ' '. | |||
Search for further information about these or an SAP related objects