COM_SES_SEARCH_OBJECTS SAP Method of class /BCV/IF_SIN_SES









Below is documentation, parameters and attributes of ABAP Method COM_SES_SEARCH_OBJECTS within SAP class /BCV/IF_SIN_SES. 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 /BCV/IF_SIN_SES 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 directly

The following technical details of method COM_SES_SEARCH_OBJECTS can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method COM_SES_SEARCH_OBJECTS

.

NameTypeData TypeDescriptionDefault Value
IT_OBJECT_TYPEImportingTYPE
COM_SEARCH_TT_OBJECT_TYPE_KEY
Table with Object Types
IT_QUERY_ENTRIESImportingTYPE
TREXT_QUERY_ENTRIES
Search query
IT_REQ_ATTRIBUTESImportingTYPE
TREXT_ATTRIBUTES
Attributes
IT_SORT_ATTRIBUTESImportingTYPE
TREXT_SORT_ATTRIBUTES
Sort attributes
IV_RESULT_TOImportingTYPE
I
IV_SYSTEMImportingTYPE
LOGSYS
Logical system
ET_RESULT_ITEMSExportingTYPE
COM_SEARCH_TT_RESULT_ITEM
Search Results List
EV_NO_OF_HITSExportingTYPE
I
EV_RETURN_CODEExportingTYPE
TREX_RFC-RETURN_CODE
Return Code
EV_RETURN_TEXTExportingTYPE
TREX_RFC-RETURN_TEXT
Return Text



Exceptions of Method COM_SES_SEARCH_OBJECTS

This method does not have any exceptions

Example ABAP coding


DATA: lv_ET_RESULT_ITEMS TYPE COM_SEARCH_TT_RESULT_ITEM,
lv_EV_NO_OF_HITS TYPE I,
lv_EV_RETURN_CODE TYPE TREX_RFC-RETURN_CODE,
lv_EV_RETURN_TEXT TYPE TREX_RFC-RETURN_TEXT,
lv_IT_OBJECT_TYPE TYPE COM_SEARCH_TT_OBJECT_TYPE_KEY,
lv_IT_QUERY_ENTRIES TYPE TREXT_QUERY_ENTRIES,
lv_IT_REQ_ATTRIBUTES TYPE TREXT_ATTRIBUTES,
lv_IT_SORT_ATTRIBUTES TYPE TREXT_SORT_ATTRIBUTES,
lv_IV_RESULT_TO TYPE I,
lv_IV_SYSTEM TYPE LOGSYS,
lv_other TYPE c.

CALL METHOD /BCV/IF_SIN_SES=>COM_SES_SEARCH_OBJECTS(
EXPORTING
IT_OBJECT_TYPE = lv_IT_OBJECT_TYPE
IT_QUERY_ENTRIES = lv_IT_QUERY_ENTRIES
IT_REQ_ATTRIBUTES = lv_IT_REQ_ATTRIBUTES
IT_SORT_ATTRIBUTES = lv_IT_SORT_ATTRIBUTES
IV_RESULT_TO = lv_IV_RESULT_TO
IV_SYSTEM = lv_IV_SYSTEM
IMPORTING
ET_RESULT_ITEMS = lv_ET_RESULT_ITEMS
EV_NO_OF_HITS = lv_EV_NO_OF_HITS
EV_RETURN_CODE = lv_EV_RETURN_CODE
EV_RETURN_TEXT = lv_EV_RETURN_TEXT ).

Links to Related Class(s)

/BCV/IF_...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!