SEARCH SAP Method searches database for specific keys
Below is documentation, parameters and attributes of ABAP Method SEARCH within SAP class CL_PROXY_TEST_VARIANT. 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 CL_PROXY_TEST_VARIANT 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 directlyThe 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 |
| APPLICATION | Importing | TYPE SPROX_TEST_DATA-APPLICATION | ||
| OBJECT | Importing | TYPE SPROX_TEST_DATA-OBJECT | Proxy Generation: Object Type in R3 (DTEL, TABL,...) | |
| OBJ_NAME | Importing | TYPE SPROX_TEST_DATA-OBJ_NAME | Proxy Generation: Name of an Object in R/3 | |
| SUB_OBJ_NAME | Importing | TYPE SPROX_TEST_DATA-SUB_OBJ_NAME | Proxy Generation: Name of an Object in R/3 | |
| KEYS | Returning | TYPE T_SEARCH_KEYS |
Exceptions of Method SEARCH
This method does not have any exceptionsExample ABAP coding
DATA: lv_APPLICATION TYPE SPROX_TEST_DATA-APPLICATION,
lv_KEYS TYPE T_SEARCH_KEYS,
lv_OBJECT TYPE SPROX_TEST_DATA-OBJECT,
lv_OBJ_NAME TYPE SPROX_TEST_DATA-OBJ_NAME,
lv_SUB_OBJ_NAME TYPE SPROX_TEST_DATA-SUB_OBJ_NAME,
lv_other TYPE c.
CALL METHOD CL_PROXY_TEST_VARIANT=>SEARCH(
EXPORTING
APPLICATION = lv_APPLICATION
OBJECT = lv_OBJECT
OBJ_NAME = lv_OBJ_NAME
SUB_OBJ_NAME = lv_SUB_OBJ_NAME
RECEIVING
KEYS = lv_KEYS )
"Alternate coding for Method Call with returning parameter
lv_KEYS = CL_PROXY_TEST_VARIANT=>SEARCH(
EXPORTING
APPLICATION = lv_APPLICATION
OBJECT = lv_OBJECT
OBJ_NAME = lv_OBJ_NAME
SUB_OBJ_NAME = lv_SUB_OBJ_NAME ).
Links to Related Class(s)
CL_PROXY...Full list of available SAP object classes
Search for further information about these or an SAP related objects