on 11-18-2009 11:43 AM
Hello All,
I have a scenario, where i need to conver the IDOC XML into single string, to send it to target.
Please let me know how can we achive this, I dont know java coding.
Please help me out to write the java code.
Thanks and Regards,
Chinna
Hi,
You can try ABAP mapping using standard class CL_RPE_CONVERT
Kind regards,
Radek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinna,
You can do this in two ways -
1. Java mapping
https://wiki.sdn.sap.com/wiki/display/XI/JavaMapping-ConverttheInputxmlto+String
https://wiki.sdn.sap.com/wiki/display/Snippets/JavaMapping-ConverttheInputxmltoString
2. XSLT mapping
/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
Regards,
Sunil Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you dont have NWDS not a problem download eclipse (available with free download),then add jar aii.map.api jar file to the project and create one java clss and add the code to that class and genarate jar file and import it in to PI as a external Imported Archieves.
then select JAVA class in Interface mapping and use it.
Regards,
Raj
i dont have tools to convert, Please do this favaor
In that case i would suggest you go for XSLT mapping.....can even be developed in a Notepad.
Requsting documents via email is not permitted on SDN and action may be taken against you and/ or the one who communicates you through emails....please read the Ru[Rules Of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
Regards,
Abhishek.
Refer the following link-
http://wiki.sdn.sap.com/wiki/display/XI/WholePayloadtoaXML+field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.