SEARCH SAP Method of class CBN_CL_ES_GW_ADAPTER_D
Below is documentation, parameters and attributes of ABAP Method SEARCH within SAP class CBN_CL_ES_GW_ADAPTER_D. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CBN_CL_ES_GW_ADAPTER_D 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 SEARCH can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SEARCH
.| Name | Type | Data Type | Description | Default Value |
| IO_SEARCH_REQ | Importing | TYPE REF TO CL_ESH_IF_SEARCH_REQUEST | ||
| IO_TECH_REQUEST_CONTEXT | Importing | TYPE REF TO /IWBEP/IF_MGW_REQ_ENTITYSET | ||
| IR_LINE_TYPE | Importing | TYPE REF TO DATA | ||
| IV_ENTITY_NAME | Importing | TYPE STRING | ||
| IV_COUNT_ONLY | Importing | TYPE ABAP_BOOL | ||
| ER_ENTITYSET | Changing | TYPE REF TO DATA | ||
| ES_RESPONSE_CONTEXT | Changing | TYPE /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_CONTEXT |
Exceptions of Method SEARCH
CX_CBN_ESH_GW_TECH_EXCEPTION -Example ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO CBN_CL_ES_GW_ADAPTER_D.
DATA: lv_ER_ENTITYSET TYPE DATA,
lv_ES_RESPONSE_CONTEXT TYPE /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_CONTEXT,
lv_IO_SEARCH_REQ TYPE CL_ESH_IF_SEARCH_REQUEST,
lv_IO_TECH_REQUEST_CONTEXT TYPE /IWBEP/IF_MGW_REQ_ENTITYSET,
lv_IR_LINE_TYPE TYPE DATA,
lv_IV_ENTITY_NAME TYPE STRING,
lv_IV_COUNT_ONLY TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>SEARCH(
EXPORTING
IO_SEARCH_REQ = lv_IO_SEARCH_REQ
IO_TECH_REQUEST_CONTEXT = lv_IO_TECH_REQUEST_CONTEXT
IR_LINE_TYPE = lv_IR_LINE_TYPE
IV_ENTITY_NAME = lv_IV_ENTITY_NAME
IV_COUNT_ONLY = lv_IV_COUNT_ONLY
CHANGING
ER_ENTITYSET = lv_ER_ENTITYSET
ES_RESPONSE_CONTEXT = lv_ES_RESPONSE_CONTEXT ).
Links to Related Class(s)
CBN_CL_E...Full list of available SAP object classes
Search for further information about these or an SAP related objects