Skip to Content
0
Aug 15, 2016 at 02:33 PM

PDF from ArchiveLink into a mail

835 Views

Hi,

I need to get a PDF file from ArchiveLink to attach it to a mail.

With FM 'ARCHIVOBJECT_GET_TABLE', I get the attachment, to convert it to SOLIX_TAB (needed for attachments), I use 'SCMS_BINARY_TO_XSTRING' and 'SCMS_XSTRING_TO_BINARY'.

Anyway, the PDF which is attached to the mail, is corrupt. Adobe Viewer Shows the message, that the file must be broken, so it cannot open this.

What I am doing wrong?

Kind Regards


Ralf