SAP Function SDOK_PHIO_LOAD_CONTENT - Load Content of a Physical Object into an Internal Table

Parameter Reference Type Length Default Optional Text
AS_IS_MODE SYST-DATAR C 1 X 'X' --> Binary Test Transfer Allowed
CLIENT SYST-MANDT C 3 SY-MANDT X Client
OBJECT_ID SDOKOBJECT u 42 Identify Physical Object
RAW_MODE SYST-DATAR C 1 X 'X' --> Text Components Requested in Binary Format
TEXT_AS_STREAM SYST-DATAR C 1 X 'X' --> Compact Text Display with CR-LF

Parameter Reference Length Optional Text
FILE_ACCESS_INFO SDOKFILACI 424 X Information for Data Access
FILE_CONTENT_ASCII SDOKCNTASC 1022 X Content of Text Documents
FILE_CONTENT_BINARY SDOKCNTBIN 1022 X Content of Binary Documents

Exception Text
BAD_STORAGE_TYPE Incorrect Storage Type
NOT_AUTHORIZED No Authorization
NOT_EXISTING Object Does Not Exist
NO_CONTENT No Files for this Physical Object


The value "X" means that, in the case of text components (that is,components whose MIME type begins with "text/"), the caller acceptsdata transfer both to the binary table FILE_CONTENT_BINARY and to thetext table FILE_CONTENT_ASCII. This helps avoid the need for conversionbetween binary display and text display of text components.
The value " " (default) ensures that the content of text components inthe text table and all other components in the binary table aretransferred.
To duplicate document content within the R/3 system, the value "X"should be specified. This saves on processing time and allows you tocircumvent the length restriction on lines in the text table.
When the function module is called via RFC, it is recommended that youuse the " " value. This is because only RFC allows the texts in thetext table to be converted when they are transferred.