SAP Function SIW_INFO_OBJECT_STORE_CONTENT - Save Content of a Physical Object from an Internal Table

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X R/3 System, Client Number from Logon
INFO_OBJECT SDOKOBJECT u 42 SDOK: BOR key for information object

Parameter Reference Type Length Text
ERROR_MSG IWERRORMSG u 224 IWB: Message passing structure

Parameter Reference Length Optional Text
CONTEXT SDOKPROPTY 89 SDOK: Object Attribute, Name and Feature
FILE_ACCESS_INFO SDOKFILACI 424 X SDOK: Entries for document contents in internal tables
FILE_CONTENT_ASCII SDOKCNTASC 1022 X SDOK: Line of text document content for WWW server
FILE_CONTENT_BINARY SDOKCNTBIN 1022 X SDOK: Line of binary document content for WWW server

Functionality
This function module writes the content of source PHIOs for thespecified logical info-object in
INCLUDE DESTINATION OBJECT DOKU ID TX
This module starts the function 'IO_C_PHYSICAL_OBJECT_GET' locally or in
respective KW system to receive the last source PHIO for the specifiedLOIO (e.g. for are IWBHELP it is a 'IWB_SRCTXT' PHIO). After that, themodule 'SDOK_PHIO_LOAD_CONTENT' (inside - the forms'COMPLETE_FILE_ACCESS_INFO' and 'STORE_CONTENT') is used to load thecontent in ASCII or binary format in dependence on information fromtable 'FILE_ACCESS_INFO'.

Example
Content of table 'FILE_ACCESS_INFO' for requested PHIO (e.g.)
1 FILE_SIZE N 12 000000044544
2 BINARY_FLG C 1 X
3 FIRST_LINE N 12 000000000001
4 LAST_LINE N 12 000000000044
5 FILE_NAME C 255 TEMPLATE.doc
6 MIMETYPE C 128 application/msword
7 PROPERTY C 4

Notes
The tables 'FILE_CONTENT_ASCII' and 'FILE_CONTENT_BINARY' should not befilled together.

Description
INCLUDE ERROR_MSG OBJECT DOKU ID TX