Ansicht
Dokumentation

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

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

BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module writes the content of source PHIOs for the specified logical info-object in the system addressed by RFC destination. The destination of this system is defined with the help of the table 'SDOKDOCSP' (function 'SDOK_DOCUSPACE_GET_DESTINATION' inside of function 'IW_INT_INIT_CONTEXT_AND_DEST').

This module starts the function 'IO_C_PHYSICAL_OBJECT_GET' locally or in respective KW system to receive the last source PHIO for the specified LOIO (e.g. for are IWBHELP it is a 'IWB_SRCTXT' PHIO). After that, the module 'SDOK_PHIO_LOAD_CONTENT' (inside - the forms 'COMPLETE_FILE_ACCESS_INFO' and 'STORE_CONTENT') is used to load the content in ASCII or binary format in dependence on information from table '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 be filled together.

Further information





Parameters

CLIENT
CONTEXT
ERROR_MSG
FILE_ACCESS_INFO
FILE_CONTENT_ASCII
FILE_CONTENT_BINARY
INFO_OBJECT

Exceptions

Function Group

SI17

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.

Length: 1801 Date: 20240523 Time: 094347     sap01-206 ( 30 ms )