Hi all,
I need some help:
We created a new document type 'ZAT' to use for common (pdf) attachments to sales e-mails, i.e. legals notes.
Used DC10 for the new document type, fine.
used CV01N/CV02N/CV03N to load and store the files, Fine. Acrobat reader is opened with double-click on the document, fine.
Now I want to get the contents in print program to attach it to mail:
FM BAPI_DOCUMENT_GETLIST gets the list of all versions stored.
But I need the FM to get the content.
Scanned SCN and tried:
SDOK_PHIO_LOAD_CONTENT fails because
SELECT SINGLE * FROM sdokphcl into isdokphcl
WHERE ph_class = u_class.
does not find anything. No entry ZAT in database table sdokphcl.
FM BAPI_DOCUMENT_CHECKOUTVIEW2 returns all versions of the document in tables parameter DOCUMENTFILES, essentially the same as BAPI_DOCUMENT_GETLIST.
But I need the binary file content!
Can you help me with this?
Many thanks in advance for detailed and helpful answers.
Best regards,
Clemens