SAP PI/PO : Java Mapping to convert EDI 824 File to EDI XML without Third-Party Adapter or SAP B2B ADDON
Reason to Write Java Map:
In one of the client projects there was only one inbound EDI interface and client was not ready to invest in SAP B2B Addon or Third-Party Adapter for only one interface.Hence java map was used to achieve this functionality.
Bank sends an EDI 824 file to SAP PI/PO through SFTP,this file needs to be converted and mapped to a proxy.This was handled using a java map.
Attached file “JavaMap_Convert_EDIFlatFile_To_EDI_Hierarchial_XML.java.txt ” contains complete java map used in this scenario.
Pre-Requisites:
- 1) Idea on Java mapping using DOM.
- 2) NWDS studio.
- 3) SAP PI/PO Java Mapping Jar file(RMcom.sap.xpi.ib.mapping.lib.zip)
Input EDI Structure:
Below is sample Input EDI data which will be passed to Java Map:
ISA*00* *00* *ZZ* *ZZ* *130605*1906*U*00400*000000026*0*P*~~GS*AG*202691093*Receiver*20130605*1915*1000258319*X*004010~ST*824*0001~BGN*11*999999999999999999*20130605*192907*02*000000725**U~N1*BK*Bank of ~PER*CC*BOM EDI/EFT OPERATIONS*TE*312-461-6185 OR 2352~OTI*GP*FI*9999~OTI*TA*TN*6700000391*202691093**20130605*1810*000258319*0001*824~REF*TN*6700000391~AMT*OP*500~OTI*TR*TN*6700000390*2026991093**20130605*1810*000258319*0001*824~TED*848*Data error~SE*11*0001~GE*1*1000258319~IEA*1*000000026~
Hi Varun,
I have similar requirement and planning to develop Java mapping, Can you please share the source code?
Also, From where did you get EDI824 Schema?
Regards
VJ Poreddy
Hi Vijay ,
please provide your email id,I will share the details.
Regards,
Varun
Can you please share the source code or the Java mapping archive to shaibayan@gmail.com?
Hi Shaibayan ,
Sorry for the late reply as I did not login to sdn for few months now because of work commitments.
I am sending you the code to your mail id.Hoepfully it helps you in any of your work.
Regards,
Varun
hi varun,
can you share source code to my mail id : mukeshchhimpa1@gmail.com
Great Job!
Varun could you please share the java code with me delacerd@yahoo.com
Thanks a lot
Hi Varyun,
Could you please share me the source code? I would appreciate it.
Please send me it into my email: p_kozlowski@poczta.fm
Thank you very much.
Have a great day!
Regards,
Pawel
That's a great blog.
Varun can you please share the source code on saurabhakumbhare@outlook.com.
That would be a massive help.
Regards
Saurabh
Hi Saurabh ,
Have sent to your email.
Regards,
Varun
Nice Job!
Varun could you please share the java code with me jfv0001@hotmail.com
Thanks a lot
Juan
Hi Juan ,
Have sent the code to your email.
Regards,
Varun
Hi Varun
Thanks for your help
Hi Varun,
Can you please share the source code or the Java mapping archive to: grkrayem@gmail.com
and thanks for your help.
Regards,
Karim
Hi Karim ,
Sorry for the late reply as I dont check my scn frequently.
Sent the java code to your email id.
Regards,
Varun
Hi Varun,
Can you please send the Java Mapping code on sugeetspatinge@gmail.com.
Thanks in advance.
Best Regards,
Sugeet Patinge.
Hi Sugeet Patinge ,
Sorry for the late reply as I dont check my scn frequently.
Sent the java code to your email id.
Regards,
Varun
Can you please send the Java Mapping code on askarun7@gmail.com.
Thanks in advance.
Best Regards,
Hi Karunakar ,
Sent the java code to your email id.
Regards,
Varun
Thank you so-much Varun.
i received the code.
Best Regards,
Karunakar A
it would be better if you put the code in the open source platform and share the link here. like github. or direclty share here. It will help people and they dont have to wait for your timely reply.
Hi Varun,
Could you please send the Java Mapping code on praneethrao13@gmail.com
Thanks in advance.
Regards,
Praneeth
Hi Varun,
Good blog thanks for the information shared.
i have the same requirement, can you please share the JAVA code to chraghu515@gmail.com
Best Regards,
Raghu Ch.
GOOD ONE. CAN you also add a code with this blog.
Regards,
Krushi.
Hi Varun,
Can you please send me the source code of java mapping ?
I want follow the above approach in our scenario. Thanks in advance.
Regards,
Anil Kumar
Hi Varun,
can you please send the source code at
apanilaug95@gmail.com
Regards,
Anil Kumar
Hi Varun,
Can you please share the source code for the JAVA mapping on gourav.sap@hotmail.com?
Would be really appreciate if you can share the same.
Regards
Gourav Jena
https://github.com/varuncbv/SAP-PI-PO-Java-Mappings
Java mapping can be accessed from above github l
https://github.com/varuncbv/SAP-PI-PO-Java-Mappings
Java mapping can be accessed from above github link.