SAP Function SDOK_PHIO_FIND_BY_QUERY - Find physical information object via query

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X Client
OBJECT_CLASS SDOKPHCL-PH_CLASS C 10 Object Class

Parameter Reference Length Optional Text
INPUT_PHIOS SDOKOBJECT 42 X Restricting PHIO List
PROPERTIES_REQUEST SDOKPROPTN 25 X Attribute Request List
PROPERTIES_RESULT SDOKPROPTL 131 X Attribute Results List
QUERY SDOKQUPROP 156 Search Query
RESULT SDOKOBJECT 42 Result Set

Exception Text
BAD_CLASS Object Class Unknown
BAD_QUERY Incorrect Search Query
NOT_AUTHORIZED No Authorization

Functionality
This function module responds to a search query by returning theappropriate physical documents and a selection of their attributes.
The search is restricted to one document class.
The selection criteria are specified in the table QUERY. Each tableentry specifies restrictions for an attribute, similarly to thestructure of a ranges tables.
The physical documents found are returned in the table RESULT.
The table PROPERTIES_REQUEST controls which attributes of the founddocuments are returned. If the table is not specified when the searchis activated, no attributes are returned. If the table is specified inthe initial state when the search is activated, all attributes arereturned. Otherwise, all attributes that are listed in the tablePROPERTIES_REQUEST are returned for all documents.

Notes

  • Activating the search without the table PROPERTIES_REQUEST speeds up
  • the process, as no attributes need to be returned.
    • The free attributes allowed for the query are specified in the document
    • class.