SAP Function SIW_IO_FILES_DOWNLOAD -

Parameter Reference Type Length Default Optional Text
FILE_PATH SDOK_FILNM C 255 X Relative storage location of physical information object
OPEN_FILE IWPARAMS-FLAG C 1 'X' X Single-Character Flag

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

Parameter Reference Length Optional Text
BAD_OBJECTS IWERROBJCT 266 X IWB: Object error structure
CONTEXT SDOKPROPTY 89 SDOK: Object Attribute, Name and Feature
FILE_ATTRIBUTES SDOKCOMPRP 442 X SDOK: Component Attributes with Document ID
INFO_OBJECTS SDOKOBJECT 42

Functionality
This function module downloads the content of the PHIO as file in
INCLUDE DESTINATION OBJECT DOKU ID TX
Before loading the information, the class of info-objects are receivedfrom the table 'INFO_OBJECTS' by form 'GET_CLASS_OR_AREA_FROM_IO'.
To load the content from the disk, function 'IO_D_FILES_DOWNLOAD'(inside - form 'PHIOS_GET_COPY_AND_DOWNLOAD') is called locally or inrespective KW system. The copy of PHIO is created through the ftp.connection.

Notes
If parameter 'FILE_PATH' is not set, then system opens the pop-up fornavigation to folder with wished file (form 'GET_FILEPATH').
If info-object is not in requested context, then it is assigned tobad_objects by form 'GET_PHIOS_FOR_LOIOS'. .
If parameter 'OPEN_FILE' is filled (default value = 'X'), then loadedfile is opened for editing.

Description
INCLUDE ERROR_MSG OBJECT DOKU ID TX

Description
INCLUDE BAD_OBJECTS OBJECT DOKU ID TX