GET_SEARCH_STRAT_VALUES SAP Method Gets Values for Search Strategy









Below is documentation, parameters and attributes of ABAP Method GET_SEARCH_STRAT_VALUES within SAP class IF_RECA_SEARCH_FIELD. 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 IF_RECA_SEARCH_FIELD into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

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

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


Parameters of Method GET_SEARCH_STRAT_VALUES

.

NameTypeData TypeDescriptionDefault Value
IF_ADD_LINE_OTHERSImportingTYPE
RECABOOL
T/F: Add 'Further Values' Row?
ED_DEFAULT_VALUEExportingTYPE
RECA_SEARCH_VALUES-KEY
Default Value
ED_VALUE_OTHERSExportingTYPE
RECA_SEARCH_VALUES-KEY
Value for 'Other Values'
EF_OTHER_VALUES_ALLOWEDExportingTYPE
RECABOOL
T/F: Are 'Other Values' Allowed?
EF_VALUES_FOUNDExportingTYPE
RECABOOL
T/F: Were Values Found?
ET_VALUESExportingTYPE
RECA_T_SEARCH_VALUES
Result of Search Help (Table, Corresponds to VRM_VALUES)



Exceptions of Method GET_SEARCH_STRAT_VALUES

ED_DEFAULT_VALUEExportingTYPE
RECA_SEARCH_VALUES-KEYDefault ValueED_VALUE_OTHERSExportingTYPE
RECA_SEARCH_VALUES-KEYValue for 'Other Values'EF_OTHER_VALUES_ALLOWEDExportingTYPE
RECABOOLT/F: Are 'Other Values' Allowed?EF_VALUES_FOUNDExportingTYPE
RECABOOLT/F: Were Values Found?ERROR - Search Values Could Not Be Retrieved

Example ABAP coding


DATA: lo_class TYPE REF TO IF_RECA_SEARCH_FIELD.
DATA: lv_ED_DEFAULT_VALUE TYPE RECA_SEARCH_VALUES-KEY,
lv_ED_VALUE_OTHERS TYPE RECA_SEARCH_VALUES-KEY,
lv_EF_OTHER_VALUES_ALLOWED TYPE RECABOOL,
lv_EF_VALUES_FOUND TYPE RECABOOL,
lv_ET_VALUES TYPE RECA_T_SEARCH_VALUES,
lv_IF_ADD_LINE_OTHERS TYPE RECABOOL,
lv_other TYPE c.

CALL METHOD lo_class=>GET_SEARCH_STRAT_VALUES(
EXPORTING
IF_ADD_LINE_OTHERS = lv_IF_ADD_LINE_OTHERS
IMPORTING
ED_DEFAULT_VALUE = lv_ED_DEFAULT_VALUE
ED_VALUE_OTHERS = lv_ED_VALUE_OTHERS
EF_OTHER_VALUES_ALLOWED = lv_EF_OTHER_VALUES_ALLOWED
EF_VALUES_FOUND = lv_EF_VALUES_FOUND
ET_VALUES = lv_ET_VALUES ).

Links to Related Class(s)

IF_RECA_...
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!