cancel
Showing results for 
Search instead for 
Did you mean: 

PDF imbedded in XML

Former Member
0 Kudos

Hi

we are currently reviewing the possible solutions for imbedding PDF into XML.

Our scenario is as follow.

We want to sent a generated PDF to PI (7.1) from SAP ERP 6.

So:

SAP ERP 6 ->Send XML control data(docnr, date etc) + Generated PDF->PI->Map Generated PDF and control fields to new XML->Partner

How to do this? According to the BIT400 course it is mentioned it is possible.

Anyone tried this and could lead me/explain me a possible solution scenario? Any "pitfalls"?

My sender adapter should that be RFC or is PROXY (or other most relevant)?

How to perform the mapping in PI when it is an "embedded" PDF document?

Cheers all

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

closing this one down

Shabarish_Nair
Active Contributor
0 Kudos

My sender adapter should that be RFC or is PROXY (or other most relevant)?

How to perform the mapping in PI when it is an "embedded" PDF document?

1. it is possible to send any file as an attachment from a proxy

2. Do you want to reach the content of the PDF?

if so then it is not possible in a standard way. You might have to either write your own adapter module to read the PDF or use tools like Conversion Agent to parse data.

Former Member
0 Kudos

Thanks for your reply.

How can I send it together with the "normal" fields like docnr, date etc.

What sender adapter to use? What datatype must I use for the PDF doc?

I do not need to read the content of the PDF

Thx

Shabarish_Nair
Active Contributor
0 Kudos

this sud give u an idea - /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments

Former Member
0 Kudos

For the quick and dirty approach you can just post the PDF binary information to a string field with "[!CDATA]]" surrounding it without using any attachments. But I'd rather recommend the attachment approach as described by Michal.