on 07-25-2012 6:21 PM
Hello Friends,
My scenario:
(SAP + Vendor system)-->2 XMLs-->PI ccbpm-->Idoc-->ECC
In this scenario I receive 2 separate xML files from 2 systems and I combine them into a single XML file.
This XML file contains normal text and binary data(base64).
I wanted to understand can I pass the binary data included in the xml file into an IDOC. Theoretically IDOC is a data container and hence should be able to store any kind of data. However has anyone tried this or aware if Idoc adapter in PI7.11 can handle this.
I am aware of other scenarios/blogs where we use proxy and post such binary data(images/pdfs as attachment), but I needed to know specifically from IDOC perspective if anyone has done this or is aware that is it possible to pass binary data into an IDOC from PI.
Many thanks
Laura
Hi Laura,
>>>is it possible to pass binary data into an IDOC from PI.
it's possible to post base64 data but please keep in mind that you'd need to split it by IDOC field's lenght - as IDOC does not have unlimited field lengths
we did it in TEXT segments as far as I remember in 2004 once
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laura,
I have also recently developed a SOAP -> PI 7.11 -> IDoc scenario, where "normal" (character) data were sent in the IDoc, along with some binary data (base64-encoded GIF image). The scenario just went live and it works without any issues. Still, just like Michal mentioned, my data was split over multiple occurrences of the same IDoc (not to exceed the maximal IDoc segment size, which is 1024 characters as far as I remember). So have no fear, your scenario is possible.
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.