QUERYBYELEMENTS SAP Method TransportationZones based on input fields
Below is documentation, parameters and attributes of ABAP Method QUERYBYELEMENTS within SAP class /SCMTMS/CL_BO_TZN_ADAPTER. 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_BO_TZN_ADAPTER 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 QUERYBYELEMENTS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method QUERYBYELEMENTS
.| Name | Type | Data Type | Description | Default Value |
| IS_CTX | Importing | TYPE /BOBF/S_FRW_CTX_QUERY | Context Information for Queries | |
| IS_QUERY_OPTIONS | Importing | TYPE /BOBF/S_FRW_QUERY_OPTIONS | Query Options | |
| IT_FILTER_KEY | Importing | TYPE /BOBF/T_FRW_KEY | Key Table | |
| IT_SELECTION_PARAMETERS | Importing | TYPE /BOBF/T_FRW_QUERY_SELPARAM | Query Selection Parameters | |
| IV_QUERY_NAME | Importing | TYPE /BOBF/OBM_NAME | Name of Query | |
| EO_MESSAGE | Exporting | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object | |
| ES_QUERY_INFO | Exporting | TYPE /BOBF/S_FRW_QUERY_INFO | Query Information | |
| ET_NODE_IDS | Exporting | TYPE /SCMTMS/T_BO_NODE_ID | Node ID Table |
Exceptions of Method QUERYBYELEMENTS
/SCMTMS/CX_BO_TZN_ADAPTER - Transportation Zone Master Data Adapter ErrorsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMTMS/CL_BO_TZN_ADAPTER.
DATA: lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_ES_QUERY_INFO TYPE /BOBF/S_FRW_QUERY_INFO,
lv_ET_NODE_IDS TYPE /SCMTMS/T_BO_NODE_ID,
lv_IS_CTX TYPE /BOBF/S_FRW_CTX_QUERY,
lv_IS_QUERY_OPTIONS TYPE /BOBF/S_FRW_QUERY_OPTIONS,
lv_IT_FILTER_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_SELECTION_PARAMETERS TYPE /BOBF/T_FRW_QUERY_SELPARAM,
lv_IV_QUERY_NAME TYPE /BOBF/OBM_NAME,
lv_other TYPE c.
CALL METHOD lo_class=>QUERYBYELEMENTS(
EXPORTING
IS_CTX = lv_IS_CTX
IS_QUERY_OPTIONS = lv_IS_QUERY_OPTIONS
IT_FILTER_KEY = lv_IT_FILTER_KEY
IT_SELECTION_PARAMETERS = lv_IT_SELECTION_PARAMETERS
IV_QUERY_NAME = lv_IV_QUERY_NAME
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE
ES_QUERY_INFO = lv_ES_QUERY_INFO
ET_NODE_IDS = lv_ET_NODE_IDS ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects