cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc attachments

Former Member
0 Kudos

I have to send PO Cretaion IDoc from R/3 from third party system using XI as middle ware. The requirement is not only send the PO IDoc but with an attachment (which is *.doc, *.jpg etc document). The attachments are stored in a database with will be attached to PO while creating the PO.

Our approach to send the IDoc along with attachment to XI is as fillows:

1. Extend the IDoc XML with a field containing the binary data

2. The binary data must be encoded using an algorithm like BASE64

3. In the IDOC creation user exit in R/3 read the binary data, encode it to BASE64 and add to the element within the Idoc XML

4. Map the fields in the IDoc to the receiving WSDL format.

Is there any other easy way to achieve this?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sonny,

Do you have the solution of your requirement now. If yes, then please share it becasue it looks like you have exactly the same requirement as mine and I have taken the same approach as you. I am waiting for some test results and will let you know if this approch works fine.

Thanks for your comments!!

BR

Sachin

Former Member
0 Kudos

Hi Sonny,

standard IDOC adapter does not support attachments. go through the link,

http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm

U can do using BPM, send the attachment as seperate send step with some Logic.

Check the below blog:

/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments

Thanks,

former_member193376
Active Contributor
0 Kudos

These threads should throw some light on your requirment