on 11-08-2010 11:49 AM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.