Ansicht
Dokumentation
SDOK_LOIO_FIND_BY_QUERY - Find Logical Object Using Search Query
ABAP Short Reference ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
This function module returns logical documents and a selection of their attributes in response to a search query.
The search is restricted to one document class.
The selection criteria are specified in the table QUERY. Every table entry contains restrictions for an attribute, similarly to a range table.
The logical documents found as a result of the search query are written to the table RESULT.
The table PROPERTIES_REQUEST controls which attributes of the found documents are returned. If the table is not specified when the search is activated, no attributes are returned. If the table is specified in the initial state when the search is activated, all attributes are returned. Otherwise, all attributes that are listed in the table PROPERTIES_REQUEST are returned for all documents.
Example
Notes
- Activating the search without the table PROPERTIES_REQUEST speeds up the process, as no attributes need to be returned.
- This is not a logical document method.
- The free attributes allowed for the query are specified in the document class.
Further information
Parameters
CLIENTOBJECT_CLASS
PROPERTIES_REQUEST
PROPERTIES_RESULT
QUERY
RESULT
Exceptions
BAD_CLASSBAD_QUERY
NOT_AUTHORIZED
Function Group
SDCLrdisp/max_wprun_time - Maximum work process run time Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 1607 Date: 20240604 Time: 031908 sap01-206 ( 35 ms )