cancel
Showing results for 
Search instead for 
Did you mean: 

Archived invoice PDF extraction using PI

Former Member
0 Kudos

Hi,

I have a requirement to extract archived invoice PDF document from R3 and send it to PI which will in tern wrap invoice PDF in XML with some more header information and send it out.

I can use some ideas on this, as what would be efficient way to extract the information from archive (I know a tcode FTWB but is there similar kind of read program based on billing document for a given period?) and in PI use mapping to build XML wrapper (XSLT mapping using call to R3 function or BPM?).

Some good idea will be highly appreciated.

Thanks

Suman

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi Suman,

1. there is a set of FMs like ARCHIVE_OPEN_FOR_READ

that allow to read and fetch archived objects

2. from your program that would extract the pdf file

you can then send it as an SOAP attachment using abap proxies

3. then inside XI you can just add the some header info

and send it to the adapter which allows passing on attachments

(like SOAP, mail)

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

Thanks for your reply, it is helpful. But is there any way without using proxy.

Basically I am looking for a way to:

1. Pull the PDF from archive in XI system, instead of pushing it from R3. There are some work load restrictions of doing it from R3.

2. Embed the PDF binary form to a XML node along with fixed header information,

If you have experienced or idea of something similar.

Regards

Suman

Answers (0)