QUERY SAP Method Query









Below is documentation, parameters and attributes of ABAP Method QUERY within SAP class /BOBF/CL_LIB_ACCESS_TEMPLATE. 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 /BOBF/CL_LIB_ACCESS_TEMPLATE 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 QUERY can also be found below:

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


Parameters of Method QUERY

.

NameTypeData TypeDescriptionDefault Value
IS_QUERY_OPTIONSImportingTYPE
/BOBF/S_FRW_QUERY_OPTIONS
Query Options
IT_FILTER_KEYImportingTYPE
/BOBF/T_FRW_KEY
Key Table
IT_SELECTIONImportingTYPE
TT_SELECTION_DUMMY
EO_MESSAGEExportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Message Object
ES_QUERY_INFOExportingTYPE
/BOBF/S_FRW_QUERY_INFO
Query Information
ET_KEYExportingTYPE
/BOBF/T_FRW_KEY
Key Table



Exceptions of Method QUERY

/BOBF/CX_FRW -

Example ABAP coding


DATA: lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_ES_QUERY_INFO TYPE /BOBF/S_FRW_QUERY_INFO,
lv_ET_KEY TYPE /BOBF/T_FRW_KEY,
lv_IS_QUERY_OPTIONS TYPE /BOBF/S_FRW_QUERY_OPTIONS,
lv_IT_FILTER_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_SELECTION TYPE TT_SELECTION_DUMMY,
lv_other TYPE c.

CALL METHOD /BOBF/CL_LIB_ACCESS_TEMPLATE=>QUERY(
EXPORTING
IS_QUERY_OPTIONS = lv_IS_QUERY_OPTIONS
IT_FILTER_KEY = lv_IT_FILTER_KEY
IT_SELECTION = lv_IT_SELECTION
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE
ES_QUERY_INFO = lv_ES_QUERY_INFO
ET_KEY = lv_ET_KEY ).

Links to Related Class(s)

/BOBF/CL...
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!