SAP EASYDMS_CLSEARCHHELP_GETVALUE Function Module for Characteristic Search Help (Get Value)
EASYDMS_CLSEARCHHELP_GETVALUE is a standard easydms clsearchhelp getvalue SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Characteristic Search Help (Get Value) 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 clsearchhelp getvalue FM, simply by entering the name EASYDMS_CLSEARCHHELP_GETVALUE into the relevant SAP transaction such as SE37 or SE38.
Function Group: EASYDMS70
Program Name: SAPLEASYDMS70
Main Program: SAPLEASYDMS70
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function EASYDMS_CLSEARCHHELP_GETVALUE 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_CLSEARCHHELP_GETVALUE'"Characteristic Search Help (Get Value).
EXPORTING
* IV_DOCUMENTTYPE = "Document Type
* IV_DOCUMENTNUMBER = "Document number
* IV_DOCUMENTPART = "Document Part
* IV_DOCUMENTVERSION = "Document Version
* IV_CLASSNAME = "Class number
* IV_CLASSTYPE = "Class Type
IV_CHARNAME = "Characteristic Name
IMPORTING
RETURN = "Return Parameter
TABLES
CT_CURRENTCHARVALUE = "Structure holding char value
CT_NEWCHARVALUE = "Structure holding char value
IMPORTING Parameters details for EASYDMS_CLSEARCHHELP_GETVALUE
IV_DOCUMENTTYPE - Document Type
Data type: BAPI_DOC_AUX-DOCTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DOCUMENTNUMBER - Document number
Data type: BAPI_DOC_AUX-DOCNUMBEROptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DOCUMENTPART - Document Part
Data type: BAPI_DOC_AUX-DOCPARTOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DOCUMENTVERSION - Document Version
Data type: BAPI_DOC_AUX-DOCVERSIONOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CLASSNAME - Class number
Data type: BAPI_CHARACTERISTIC_VALUES-CLASSNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CLASSTYPE - Class Type
Data type: BAPI_CHARACTERISTIC_VALUES-CLASSTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CHARNAME - Characteristic Name
Data type: BAPI_CHARACTERISTIC_VALUES-CHARNAMEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EASYDMS_CLSEARCHHELP_GETVALUE
RETURN - Return Parameter
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EASYDMS_CLSEARCHHELP_GETVALUE
CT_CURRENTCHARVALUE - Structure holding char value
Data type: EDMS_CHARVALUEOptional: No
Call by Reference: Yes
CT_NEWCHARVALUE - Structure holding char value
Data type: EDMS_CHARVALUEOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EASYDMS_CLSEARCHHELP_GETVALUE 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 BAPIRET2, " | |||
| lv_iv_documenttype | TYPE BAPI_DOC_AUX-DOCTYPE, " | |||
| lt_ct_currentcharvalue | TYPE STANDARD TABLE OF EDMS_CHARVALUE, " | |||
| lt_ct_newcharvalue | TYPE STANDARD TABLE OF EDMS_CHARVALUE, " | |||
| lv_iv_documentnumber | TYPE BAPI_DOC_AUX-DOCNUMBER, " | |||
| lv_iv_documentpart | TYPE BAPI_DOC_AUX-DOCPART, " | |||
| lv_iv_documentversion | TYPE BAPI_DOC_AUX-DOCVERSION, " | |||
| lv_iv_classname | TYPE BAPI_CHARACTERISTIC_VALUES-CLASSNAME, " | |||
| lv_iv_classtype | TYPE BAPI_CHARACTERISTIC_VALUES-CLASSTYPE, " | |||
| lv_iv_charname | TYPE BAPI_CHARACTERISTIC_VALUES-CHARNAME. " |
|   CALL FUNCTION 'EASYDMS_CLSEARCHHELP_GETVALUE' "Characteristic Search Help (Get Value) |
| EXPORTING | ||
| IV_DOCUMENTTYPE | = lv_iv_documenttype | |
| IV_DOCUMENTNUMBER | = lv_iv_documentnumber | |
| IV_DOCUMENTPART | = lv_iv_documentpart | |
| IV_DOCUMENTVERSION | = lv_iv_documentversion | |
| IV_CLASSNAME | = lv_iv_classname | |
| IV_CLASSTYPE | = lv_iv_classtype | |
| IV_CHARNAME | = lv_iv_charname | |
| IMPORTING | ||
| RETURN | = lv_return | |
| TABLES | ||
| CT_CURRENTCHARVALUE | = lt_ct_currentcharvalue | |
| CT_NEWCHARVALUE | = lt_ct_newcharvalue | |
| . " EASYDMS_CLSEARCHHELP_GETVALUE | ||
ABAP code using 7.40 inline data declarations to call FM EASYDMS_CLSEARCHHELP_GETVALUE
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 DOCTYPE FROM BAPI_DOC_AUX INTO @DATA(ld_iv_documenttype). | ||||
| "SELECT single DOCNUMBER FROM BAPI_DOC_AUX INTO @DATA(ld_iv_documentnumber). | ||||
| "SELECT single DOCPART FROM BAPI_DOC_AUX INTO @DATA(ld_iv_documentpart). | ||||
| "SELECT single DOCVERSION FROM BAPI_DOC_AUX INTO @DATA(ld_iv_documentversion). | ||||
| "SELECT single CLASSNAME FROM BAPI_CHARACTERISTIC_VALUES INTO @DATA(ld_iv_classname). | ||||
| "SELECT single CLASSTYPE FROM BAPI_CHARACTERISTIC_VALUES INTO @DATA(ld_iv_classtype). | ||||
| "SELECT single CHARNAME FROM BAPI_CHARACTERISTIC_VALUES INTO @DATA(ld_iv_charname). | ||||
Search for further information about these or an SAP related objects