RFA_QUERY1 SAP Method Query by attributes returns ROOT_KEYs
Below is documentation, parameters and attributes of ABAP Method RFA_QUERY1 within SAP class /BOFU/CL_ARCH_GENER1. 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 /BOFU/CL_ARCH_GENER1 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 RFA_QUERY1 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method RFA_QUERY1
.| Name | Type | Data Type | Description | Default Value |
| IO_MESSAGE | Importing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object | |
| IS_QUERY_CTX | Importing | TYPE /BOBF/S_FRW_CTX_QUERY | Context Information for Queries | |
| IT_FILTER_ROOT_KEY | Importing | TYPE /BOBF/T_FRW_KEY | ||
| IT_SELECTION_PARAMETERS | Importing | TYPE /BOBF/T_FRW_QUERY_SELPARAM | Query Selection Parameters | |
| IV_MAXIMUM_ROWS | Importing | TYPE I | ||
| IV_USE_BEST_IDX_ONLY | Importing | TYPE ABAP_BOOL | Use best index only for document selection | |
| ET_DATA | Exporting | TYPE INDEX TABLE | ||
| ET_ROOT_KEY | Exporting | TYPE /BOBF/T_FRW_KEY |
Exceptions of Method RFA_QUERY1
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOFU/CL_ARCH_GENER1.
DATA: lv_ET_DATA TYPE INDEX TABLE,
lv_ET_ROOT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IS_QUERY_CTX TYPE /BOBF/S_FRW_CTX_QUERY,
lv_IT_FILTER_ROOT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_SELECTION_PARAMETERS TYPE /BOBF/T_FRW_QUERY_SELPARAM,
lv_IV_MAXIMUM_ROWS TYPE I,
lv_IV_USE_BEST_IDX_ONLY TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>RFA_QUERY1(
EXPORTING
IO_MESSAGE = lv_IO_MESSAGE
IS_QUERY_CTX = lv_IS_QUERY_CTX
IT_FILTER_ROOT_KEY = lv_IT_FILTER_ROOT_KEY
IT_SELECTION_PARAMETERS = lv_IT_SELECTION_PARAMETERS
IV_MAXIMUM_ROWS = lv_IV_MAXIMUM_ROWS
IV_USE_BEST_IDX_ONLY = lv_IV_USE_BEST_IDX_ONLY
IMPORTING
ET_DATA = lv_ET_DATA
ET_ROOT_KEY = lv_ET_ROOT_KEY ).
Links to Related Class(s)
/BOFU/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects