cancel
Showing results for 
Search instead for 
Did you mean: 

EDI 820 EDI to XML conversion error

Former Member
0 Kudos

Hi Experts,

We have configure EDI 820 Inbound Scenario in our system. The incoming EDI 820 file  is not getting converted in XML from EDI. I try to convert it into XML in BIC Mapping Designer but it is displaying the below error message.

"Error:ID=2099;LEVEL=1] InhouseDocReader doSyntaxCheck(): offset[326]: the found segment

ENT is not in the message description.

DESCRIPTION: InhouseDocReader Error: The Segment

ENT is missing in the message description. Check your file."

Please find below the EDI file.

"ISA*00*          *00*          *12*123456789 *01*111122233  *140317*1432*U*00401*120000004*0*T*>~GS*PO*123456789*111122233*20140317*14315990*4*X*004010~ST*820*0001~BPR*I*264.9*C*CHK~REF*IA*6400900~REF*CK*7896883~DTM*097*20080811~N1*PE*COMPANY ABC~N3*21 PENN PLAZA*SUITE 909~N4*NEW YORK CITY*NY*10001~

ENT*1~NM1*PO*2*Costco*****92*1033918430000~RMR*IV*0195112**137.33*137.33~REF*PO*008471856056~DTM*003*20080711~ENT*2~NM1*PO*2*Costco*****92*1033918430000~RMR*IV*0195040**162.38*162.38~REF*PO*008471852792~DTM*003*20080711~ENT*3~NM1*PO*2*Costco*****92*1033918430000~RMR*IV*0194903**104.8*104.8~REF*PO*008471816334~DTM*003*20080711~ENT*4~NM1*PO*2*Costco*****92*1033918430000~RMR*IV*0195039**137.33*137.33~REF*PO*008471846520~DTM*003*20080712~ENT*5~NM1*PO*2*Costco*****92*1033918430000~RMR*IV*RV0047997934**-224.54*-224.54~REF*RZ*0004891~DTM*003*20080807~ENT*6~NM1*PO*2*Costco*****92*1033918430000~RMR*IV*RV0084791384**-52.4*-52.4~REF*RZ*8471700434~DTM*003*20080807~SE*39*0001~GE*1*4~IEA*1*120000004~"

Can anyone let me know what could be error is?

Regards

Faisal

Accepted Solutions (1)

Accepted Solutions (1)

S0003485845
Contributor
0 Kudos

Dear Abdul,

I copied the file from your posting into a text-file and tried to convert it with my 820 BIC-Mapping.

I just had to make two modifications:

- add some spaces so that the Sender/Receiver fields in the ISA segement were 15 fields long

- remove a "space" before ENT*1, but this space might also just have been there because of how you posted the content into this posting.

After I had made this small changes the file could be translated perfectly fine with the mapping

See_E2X_ANSIX12_820_V4010

So it looks like eitehr your settings are not correct in the channel (e.g. a wrong mapping is used) or the file has been modified manually (with some additional blanks, CRLF, etc...)

Regards

Stefan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Abdul,

From the error it clearly tell that some the segment ENT is missing, are you sending the message in correct formate?

Regards,

Mastan