Ansicht
Dokumentation

SDOK_PHIOS_GET_COPY - Get Copies of Content of Physical Documents

SDOK_PHIOS_GET_COPY - Get Copies of Content of Physical Documents

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module copies the content of the physical document in read-only mode to the destination computer.

This function module has the same interface as SDOK_PHIOS_CHECKOUT. However, this function module copies the content for display purposes only, and does not prevent other users from checking out the document.

Possible error codes are as follows:

,,0:,,bad class:,,,,,,no class known for physical document

,,1:,,not_existing:,,,,,,document does not exist

,,3:,,missing_directory:,,,,no target directory specified

,,5:,,transfer_error:,,,,error with data transfer

,,6:,,not_authorized:,,,,no authorization

,,7:,,connection_error:,,,,connection to database cannot be
,,,,,,,,,,,,established

,,8:,,bad_storage_category:,,storage category specified for physical
,,,,,,,,,,,,document is unknown

Example

Notes

  • The error codes are the same as those for SDOK_PHIOS_CHECKOUT, except for "not_allowed", which cannot occur here.
  • It is not currently possible to copy content to the file system of the application server, or to transfer the content in the form of an internal table.
  • If the function module is likely to be called several times in succession, and if data is transferred via FTP, you can set the FTP_KEEP_OPEN_FLAG flag to ensure that the same FTP connection is used for all transfers.
  • If the application cannot differentiate between file names, it creates separate directories for each document. This avoid name conflicts. This may the case with HTML documents and referenced GIF files, for example.

Further information





Parameters

BAD_OBJECTS
CLIENT
COMPONENTS
FTP_KEEP_OPEN_FLAG
OBJECT_FILE_INFORMATIONS

Exceptions

Function Group

SDCL

Addresses (Business Address Services)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2143 Date: 20240604 Time: 085704     sap01-206 ( 37 ms )