on 04-08-2010 11:32 AM
Hi,
We have PI 7.1 and the interface is from file to standard RFC scenario with ABAP proxy in ECC.
2 incoming files need to be processed by the interface - xml file with transaction details and the corresponding Image file.
These files have to be mapped to the standard RFC and then pushed into ECC.
Can the Java mapping be used in message mapping to pass the image file in the RFC as I do not want to use the Java module?
If yes, can someone please help with the code and the mapping aspects?
Regards,
Use ABAP Proxy for this.
Send xml as Payload and Image as attachement.
On ECC ABAP proxy side handle this accordingly.
Regards,
Praveen Gujjeti.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
So does this mean that -
I send the 2 files to ECC in the same file adapter - with xml as the main file and the image as the attachment.
No mapping done on XI
How will the receiver message interface and type will handle the attachment?
In ECC, for the incoming receiver message, I create the proxy code
But is there some special handling for the attachment?
Can i not send the both the files (xml and image as they will both have same file names) to ECC nad store in AL11
Then I can use the abap proxy to manipulate the image file so that it is stored in archive
Regards,
Abhishek,
Though I never worked with server proxy with attachments,
In my opinio, when it is possible to send attachments from outbound ABAP proxy, then logically it should be possible to read attachments in the inbound proxies.
I just saw this link in forum,
Regards,
Praveen Gujjeti.
Edited by: Praveen Gujjeti on Apr 8, 2010 5:25 PM
Hi JaiShankar,
>ABAP/java proxies can handle attachments (both client and server proxies).
I too said the same. I was just replying to abhishek's answer....
Further, Just want to share this....
Since RFC doesnt support attachments, we can also send binaries to RFC like this....This will be useful if the SAP Web AS < 6.20 (no proxy environment support)
Check my WIKI Section: [How to Send Binary Data to RFC from XI(or)PI|http://wiki.sdn.sap.com/wiki/display/XI/HowtoSendBinaryDatatoRFCfromXI%28or%29PI]
Regards,
Praveen Gujjeti.
Hi,
What is the best way ot move forward with this-
Xml file with correspondin image file is veing received
The image file and the xml file contents have to be mapped to RFC
If i take the 2 files on to ECC, and then try the code in abap proxy to call the RFC, it is expecting the image contents in an internal table format with the field Line expecting lines from the binary file.
any ideas?
Regards,
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
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.