EDI,XML mapping tutorials

hi,

I’m trying to test the EDI to XML mappings with sample EDI and sample XML of purchase orders that I got over the web on 6.0.1 developer… I am running into errors ( “Interchange header error”)

regards,

kalyan sravanam

It is probably due to the EDI file formatting or delimiters issue you might be facing with envelopeProcess service while parsing?

What are your flow steps used for this testing and do you have WmEDISamples package in your 601 environment?

HTH,
RMG

yes rmg,

I have the wMEDISamples package installed on my 601 server… I was trying to give some input of sample EDI which I got over the internet and tested it. Is there any x12 850 document sample given by software AG??

kalyan

The samples package should have it and check it under the package/pub folder or get it from your EDI team a working sample and play with testing.

HTH,
RMG

DEAR RMG, I DON’T SEE ANY EDI SAMPLE UNDER THE PUB DIRECTORY OF EDISAMPLES PACKAGE… I’M JUST SHOOTING OUT ONE SAMPLE WITH WHICH I’M TRYING TO TEST IN SAMPLES PACKAGE (EDI TO XML)

ISA~00~ ~00~ ~01~000000000 ~16~102096559TEST ~100614~1600~U~00401~000211462~0~P~>
GS~PO~007911209~102096559TEST~20100614~1600~11464~X~004010
ST~850~114640004
BEG~00~NE~TLP-X12~~20100614
CUR~SE~USD
REF~CT~123456
REF~DC~123456
REF~EU~123456
DTM~010~20100614
N1~BY~SOLD TO~91~ID Number
N1~PO~PAYER~91~ID Number
N1~BT~BILL TO~91~ID Number
N1~DU~RESELLER
N2~Reseller NameII
N3~123 MAIN STREET
N4~CEDAR RAPIDS~IA~524032140
REF~DP~DP~DEPARTMENT 100
REF~7I~ResellerAuthID
PER~IC~RESELLER TO~TE~8015551234~FX~8015554321~EM~john@doe.com
N1~EN~END USER
N2~EndUser NameII
N3~123 MAIN STREET
N4~CEDAR RAPIDS~IA~524032140
REF~DP~DP~DEPARTMENT 200
N1~IA~DEPLOY TO
N2~DeployTo NameII
N3~123 MAIN STREET
N4~CEDAR RAPIDS~IA~524032140
REF~DP~DP~DEPARTMENT 300
PER~IC~DEPLOY TO~TE~8015551234~FX~8015554321~EM~john@doe.com
N1~ST~SHIP TO
N2~ShipTo NameII
N3~123 MAIN STREET
N4~CEDAR RAPIDS~IA~524032140
REF~DP~DP~DEPARTMENT 400
PER~IC~SHIP TO~TE~8015551234~FX~8015554321~EM~john@doe.com
PO1~1~1~EA~665~CA~BP~12345678~MG~64113730AD01A00
DTM~010~20100614
DTM~196~20100614
CTT~1
AMT~TT~12
SE~40~114640004
GE~1~11464
IEA~1~000211462
screen shot.doc (79.5 KB)

Try with this format and small chunk file

ISA00 00 01007911209 01102096559TEST 1006141600U004010002114620P>~
GSPO007911209102096559TEST20100614160011464X004010~
ST850114640004~
BEG00NETLP-X12**20100614~
CUR
SEUSD~
REF
CT123456~
REF
DC123456~
REF
EU123456~
DTM
01020100614~
N1
BYSOLD TO91ID Number~
N1
POPAYER91ID Number~
N1
BTBILL TO91ID Number~
N1
DURESELLER~
N2
Reseller NameII~
N3123 MAIN STREET~
N4
CEDAR RAPIDSIA524032140~
REFDPDPDEPARTMENT 100~
REF
7IResellerAuthID~
PER
ICRESELLER TOTE8015551234FX8015554321EMjohn@doe.com~
N1
STSHIP TO~
N2
ShipTo NameII~
N3123 MAIN STREET~
N4
CEDAR RAPIDSIA524032140~
REFDPDPDEPARTMENT 400~
PER
ICSHIP TOTE8015551234FX8015554321EMjohn@doe.com~
PO1
11EA665CABP12345678MG64113730AD01A00~
DTM01020100614~
DTM19620100614~
CTT1~
AMT
TT12~
SE
29114640004~
GE
111464~
IEA
1*000211462~

Dear RMG,

yes it did work… actually the problem is with the delimiters… nothing more than that…

I appreciate your swift response and great help

kind regards,

kalyan sravanam

Yes as suspected…glad to hear it worked out fine.