Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Download PDF File from Archiv to SAP Application Server


I need to download the PDF file from an NAST-Dataset (how is stored from the message via SAP ArchivLink) to the SAP Application Server.

1) At first i read the Archiv-Link data via function module WFMC_GET_ARCHIVE_OBJECT_TYPE

2) Then i get the Connection-Infos via function module ARCHIV_GET_CONNECTIONS_INT

3) Now i read the file from archiv as table via function module ARCHIVOBJECT_GET_BYTES

4) Save to the SAP Appl.Server via:


- LOOP and TRANSFER lf_archivobject TO ld_dpfad.

- CLOSE DATASET ld_dpfad.

In the dialog of NAST-Dataset (Messages) i can open the PDF-File without any errors (display originals). But after the filetransfer to the SAP Appl.Server i get the following errors during the file opening dialog from Adobe Acrobat Reader:

- the embedded font u201CArialu201D cant to be extract

- not enough data for the picture

The reader can display the PDF-File but only without the picture (Logo) and with alternative font.

The same transfer from archiv and sending as an attachement to the BOR-Object via function module SO_DOCUMENT_INSERT_API1 works very fine and without any errors.

Can any one please help me to solve this Issue?

Thanks in Advance,


Former Member
Not what you were looking for? View more on this topic or Ask a question