GET_DOMAINVALUE_BY_TEXT SAP Method Get domain value by text (by code text)









Below is documentation, parameters and attributes of ABAP Method GET_DOMAINVALUE_BY_TEXT within SAP class /SCMTMS/CL_COMMON_HELPER. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMTMS/CL_COMMON_HELPER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method GET_DOMAINVALUE_BY_TEXT can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_DOMAINVALUE_BY_TEXT

.

NameTypeData TypeDescriptionDefault Value
IT_TEXT_RImportingTYPE
/SCMTMS/T_STRING_RANGE
Table type for /SCMTMS/S_STRING_RANGE
IV_DOMNAMEImportingTYPE
DOMNAME
Domain name
IV_LANGUImportingTYPE
SYLANGU
Language Key
ET_CODESExportingTYPE
INDEX TABLE
Domain codes fitting to the code texts



Exceptions of Method GET_DOMAINVALUE_BY_TEXT

This method does not have any exceptions

Example ABAP coding


DATA: lv_ET_CODES TYPE INDEX TABLE,
lv_IT_TEXT_R TYPE /SCMTMS/T_STRING_RANGE,
lv_IV_DOMNAME TYPE DOMNAME,
lv_IV_LANGU TYPE SYLANGU,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COMMON_HELPER=>GET_DOMAINVALUE_BY_TEXT(
EXPORTING
IT_TEXT_R = lv_IT_TEXT_R
IV_DOMNAME = lv_IV_DOMNAME
IV_LANGU = lv_IV_LANGU
IMPORTING
ET_CODES = lv_ET_CODES ).

Links to Related Class(s)

/SCMTMS/...
Full list of available SAP object classes

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!