Get manual attachment from a report
I have a problem when trying to retrieve from a report the manual attachments of an SD invoice. Though I'm using a SD invoice, I guess is the same for any object.
I usually use this way to get attachments from objects:
1º ARCHIV_GET_CONNECTIONS -> Attachment info
2º ARCHIVOBJECT_GET_DT_VIA_TABLE or ARCHIVOBJECT_GET_TABLE -> Attachment data
3º Then download, email... or do whatever you want with the files.
My problem now is, if I go inside an invoice and create an attachment manually, then it does not show up on TOA01 or on FM ARCHIV_GET_CONNECTIONS.
Do you know a way to get these manual created attachments or at least where are they stored?
Thanks in advance,
Edited by: John Smith on May 26, 2011 1:18 PM
Use this FM -->
2. then use this to get the content SO_DOCUMENT_READ_API1