EDI document Mapping with SAP IDOC

Ajay,

Basically if you receive DESADV that contains One Envelope UNB and one document (UNHwhich is an array then when you parse using convertToValues (based on the Template/Schema)you should see the UNHarray.If not so then there might be something wrong in the template that you are using or check if there any fix available for SAP BC/IS/EDI module to resolve the issue.

This could be template problem or your convertToValues output is not behaving correctly when edidata has 1envelope UNB[0]/UNH[0]

HTH,
RMG.

This could be DESADV template related issue see if any fix available for SAP BC.
So in the getTemplate service make sure u see the UNHin the output.

HTH,
RMG

Ajay,

templateObject looks fine for UNH.
But is the template object is showing UNHas a recordlist in the results tab?

RMG,

I solved it based on values in UNZ->UNZ01 when 1 i dont loop over Values/UNB/UNH when more than 1 i loop over it.
I confirmed with Trading Partner, they send always the correct problem.
Ajay

Glad it resolved.

goodluck,

Hi

I am trying map XML to SAP IDOC. I created the XML Structure from the sample XML file and Created IDOC structure from SAP IDOC Schema. For Reference I attached both. I am using SAP Business Connector 4.6

Can Some body let me know what is the wrong I am doing. It’s not going into loop.

I appreciate your early resonse.

Hai

HTH
RMG

I want Answers for the following questions?
1.How to convert EDI X12 to IDOC.?
2.procedure to send those convrted IDOC to SAPserver?
3.How to get the IDOC of SAPserver to our IS?
4.How to MAP EDI to IDOC?
5.what are RFC,BAPI,ALE for what purpose they are used?

I am learning sapadapter i am new to this so i don’t no how IS convert
documents of clients in the form of XML,EDI ANSI X12 with sapsystem with
SAPAdapter

Thanks for u r reply ASAP

Regards
Rajesh

Rajesh,

Do a search in this site,you will see may results on this basic procedure and process…

Also read related tutorials,download it from Adavante.webmethods.com also look in the WM installed standard sample packages comes with EDIModule(Adapter),SAPAdapter…

HTH,
RMG

Hai

HTH
RMG

Hai i read those wmEDI module and SAP adapter but i can’t get clear idea
for the above Questions. so please give me answers for those each question
some elaborate manner.I don’t need answer for those in one day.send me
one Question answer per day

Regards
rajesh

Rajesh,

Please search this entire site for your queries,i am sure there are related threads and look in the WMEDISamples package for more information on EDI.

HTH,
RMG