SAP Function SDOK_LOIO_PHYSICAL_OBJECT_GET - Context-Specific Selection of a Physical Document

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X Client
OBJECT_ID SDOKOBJECT u 42 BOR Key for the Object

Parameter Reference Type Length Text
COVER_LOIO SDOKOBJECT u 42 Substitute LOIO in Case of LOIO Switch in Application Exit
PHYSICAL_OBJECT SDOKOBJECT u 42 BOR Key of the Physical Object

Parameter Reference Length Optional Text
CONTEXT SDOKPROPTY 89 Context Description
PHIO_PROPERTIES SDOKPROPTY 89 X Attributes of the Selected Physical Document

Exception Text
NOT_AUTHORIZED No Authorization
NOT_EXISTING Logical Information Object Does Not Exist
NO_PHYSICAL_OBJECT No Physical Information Object for this Context

Functionality
This function module gets the appropriate physical document for alogical document and a specified context.
The table CONTEXT is an import table that describes the current contextin the form of name-value pairs.

  • In many cases, the logic used to select a physical document is
  • application-specific. The standard KPro logic can pre-select based ondocuments whose attributes correspond to the names of context entries.For this to be possible, these attributes must have a flag for thedocument class. The pre-selected documents and their attributes arethen forwarded, together with the context, to the application-specificlogic.
    • The current version of the KPro standard logic can pre-select based on
    • the attribute LANGUAGE only.
      • If there is no application-specific logic for the current document
      • class, or if the application-specific logic returns multiple documents,the most recently modified or created document is selected.