SEARCH SAP Method of class IF_RSO_RES_REPO_OBJECT
Below is documentation, parameters and attributes of ABAP Method SEARCH within SAP class IF_RSO_RES_REPO_OBJECT. 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 IF_RSO_RES_REPO_OBJECT 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 |
| I_MAX_COUNT | Importing | TYPE I | ||
| I_OBJVERS | Importing | TYPE RSOBJVERS | M or D | |
| I_SEARCH_PATTERN | Importing | TYPE STRING | ||
| I_TS_QUERY_PARAM_KEY_VALUE | Importing | TYPE IF_RSD_RSOBJNM_REPO_OBJ_DB=>TN_TS_KEY_VALUE | ||
| C_T_RESULT | Changing | TYPE IF_RSO_RES_REPO_OBJECT=>TN_T_SEARCH_RESULT | Table of Strings |
Exceptions of Method SEARCH
CX_ADT_REST - Shared exceptions for resource/service frameworkExample ABAP coding
DATA: lo_class TYPE REF TO IF_RSO_RES_REPO_OBJECT.
DATA: lv_C_T_RESULT TYPE IF_RSO_RES_REPO_OBJECT=>TN_T_SEARCH_RESULT,
lv_I_MAX_COUNT TYPE I,
lv_I_OBJVERS TYPE RSOBJVERS,
lv_I_SEARCH_PATTERN TYPE STRING,
lv_I_TS_QUERY_PARAM_KEY_VALUE TYPE IF_RSD_RSOBJNM_REPO_OBJ_DB=>TN_TS_KEY_VALUE,
lv_other TYPE c.
CALL METHOD lo_class=>SEARCH(
EXPORTING
I_MAX_COUNT = lv_I_MAX_COUNT
I_OBJVERS = lv_I_OBJVERS
I_SEARCH_PATTERN = lv_I_SEARCH_PATTERN
I_TS_QUERY_PARAM_KEY_VALUE = lv_I_TS_QUERY_PARAM_KEY_VALUE
CHANGING
C_T_RESULT = lv_C_T_RESULT ).
Links to Related Class(s)
IF_RSO_R...Full list of available SAP object classes
Search for further information about these or an SAP related objects