cancel
Showing results for 
Search instead for 
Did you mean: 

error in 1:1 EDIFACT mapping

Former Member
0 Kudos

hi all

i am getting the following error while testing my 1:1 XML2EDI mappiing in BICMD-

starting conversion X2E_INVOIC_UN_D96A (id : 88142171249984518502 ) at Tue Aug 11 15:25:18 IST 2009

[Error:ID=2023;LEVEL=1|https://forums.sdn.sap.com/] InhouseDocReader readNextSegment(): offset 2769(read Segment : <XML VERSION="1.0" ENCODING="UTF-8"><LIST><S_UNA><D_DELIMITER>:) : caught ReadingException: Length limit exceeded - no SEG. delim. found!!!

DESCRIPTION: InhouseDocReader causes an ReadingException while trying to read the next segment of current file, abort

Doc Writer closed (File : C:\Program Files\SEEBURGER\MappingDesigner\process\bicmd\out\out.txt_88142171249984518502.tmp, written number of bytes/chars : 501)

Doc Reader closed (File : C:\Documents and Settings\itisha_alok\Desktop\mapping designer_new\Invoice\input.txt, read number of bytes/chars : 2769)

-


CONVERSION ERROR-----

end of conversion X2E_INVOIC_UN_D96A (id : 88142171249984518502 ) at Tue Aug 11 15:25:19 IST 2009

The conversion took 578 milliseconds.

can anyone tell me where the problem lies and how to debug it?

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member91687
Active Contributor
0 Kudos

Hi Itisha,

In addition to the above checks this error would occur if you have a end of file character which is not recognised. If there is make sure to remove this from the test file.

Thanks,

Chandra

former_member750652
Contributor
0 Kudos

Hi Itisha,

The error is because of the mismatch of segment delimiters.The same segment delimiter must be followed in the entire document,Please make sure that the test data is correct.In addition to this please chek wether the segment length is more than what is allowed for that particular segment in the structure of EDIFACT document in Mapping designer.

Make sure that CRLF field should not be mapped.

Thanks,

Ram.

Former Member
0 Kudos

hi ram

the length of the delimiter field defined in EDIFACT in MD is 6 and I'm also sending 6 characters.So i dont think that may be a prob.

Also what is CRLFfield that you have mentioned?

this the output of the XI mapping that i give as input.

Can you let me know where the input is wrong.

<?xml version="1.0" encoding="UTF-8"?>

<LIST>

<S_UNA>

<D_DELIMITER>:+.? &apos;</D_DELIMITER>

</S_UNA>

<S_UNB>

<C_S001>

<D_0001>UNOC</D_0001>

<D_0002>4</D_0002>

</C_S001>

<C_S002>

<D_0004>7610176000006</D_0004>

<D_0007>14</D_0007>

</C_S002>

<C_S003>

<D_0010>7624400080337</D_0010>

<D_0007>14</D_0007>

</C_S003>

<C_S004>

<D_0017>20090811</D_0017>

<D_0019>1024</D_0019>

</C_S004>

<D_0020>Interchangecount</D_0020>

<D_0026>INVOIC0102</D_0026>

<D_0032>yyy</D_0032>

<D_0035>0</D_0035>

<S_UNH>

<D_0062>34796364</D_0062>

<C_S009>

<D_0065>INVOIC</D_0065>

<D_0052>D</D_0052>

<D_0054>01B</D_0054>

<D_0051>UN</D_0051>

<D_0057>EAN010</D_0057>

</C_S009>

<S_BGM>

<C_C002>

<D_1001>380</D_1001>

</C_C002>

<D_1004>0045115925</D_1004>

</S_BGM>

<S_DTM>

<C_C507>

<D_2005>137</D_2005>

<D_2379>204</D_2379>

</C_C507>

</S_DTM>

<S_DTM>

<C_C507>

<D_2005>35</D_2005>

<D_2379>204</D_2379>

</C_C507>

</S_DTM>

<G_SSG1>

<S_RFF>

<C_C506>

<D_1153>AAK</D_1153>

</C_C506>

<S_DTM>

<C_C507>

<D_2005>171</D_2005>

<D_2379>204</D_2379>

</C_C507>

</S_DTM>

</S_RFF>

</G_SSG1>

<G_SSG1>

<S_RFF>

<C_C506>

<D_1153>ON</D_1153>

</C_C506>

<S_DTM>

<C_C507>

<D_2005>171</D_2005>

<D_2379>204</D_2379>

</C_C507>

</S_DTM>

</S_RFF>

</G_SSG1>

<G_SSG1>

<S_RFF>

<C_C506>

<D_1153>DQ</D_1153>

</C_C506>

<S_DTM>

<C_C507>

<D_2005>171</D_2005>

<D_2379>204</D_2379>

</C_C507>

</S_DTM>

</S_RFF>

</G_SSG1>

<G_SSG2>

<S_NAD>

<D_3035>BY</D_3035>

<C_C082>

<D_3039/>

<D_3055>9</D_3055>

</C_C082>

<C_C080>

<D_3036/>

</C_C080>

<C_C059>

<D_3042/>

</C_C059>

<G_SSG3>

<S_RFF>

<C_C506>

<D_1153>VA</D_1153>

<D_1154>231115</D_1154>

</C_C506>

</S_RFF>

</G_SSG3>

</S_NAD>

</G_SSG2>

<G_SSG2>

<S_NAD>

<D_3035>DP</D_3035>

<C_C082>

<D_3039>7617013000007</D_3039>

<D_3055>9</D_3055>

</C_C082>

<C_C080>

<D_3036/>

</C_C080>

</S_NAD>

</G_SSG2>

<G_SSG2>

<S_NAD>

<D_3035>SU</D_3035>

<C_C082>

<D_3039>7610176000006</D_3039>

<D_3055>9</D_3055>

</C_C082>

<C_C080>

<D_3036/>

</C_C080>

<C_C059>

<D_3042/>

</C_C059>

<D_3207/>

<G_SSG3>

<S_RFF>

<C_C506>

<D_1153>VA</D_1153>

<D_1154>501558</D_1154>

</C_C506>

</S_RFF>

</G_SSG3>

</S_NAD>

</G_SSG2>

<G_SSG7>

<S_CUX>

<C_C504>

<D_6347>2</D_6347>

<D_6345>CHF</D_6345>

<D_6343>4</D_6343>

</C_C504>

</S_CUX>

</G_SSG7>

<G_SSG8>

<S_PAT>

<D_4279>1</D_4279>

<C_C112>

<D_2475>5</D_2475>

<D_2009>3</D_2009>

<D_2151>D</D_2151>

</C_C112>

</S_PAT>

</G_SSG8>

<S_UNS>

<D_0081>S</D_0081>

</S_UNS>

<G_SSG48>

<S_MOA>

<C_C516>

<D_5025>86</D_5025>

</C_C516>

</S_MOA>

</G_SSG48>

<G_SSG50>

<S_TAX>

<D_5283>7</D_5283>

<C_C241>

<D_5153>VAT</D_5153>

</C_C241>

<C_C243>

<D_5278>0.00</D_5278>

</C_C243>

<S_MOA>

<C_C516>

<D_5025>125</D_5025>

<D_5004>0</D_5004>

</C_C516>

</S_MOA>

<S_MOA>

<C_C516>

<D_5025>124</D_5025>

<D_5004>0.00</D_5004>

</C_C516>

</S_MOA>

</S_TAX>

</G_SSG50>

<S_UNT>

<D_0074> (no. of segments)</D_0074>

<D_0062>0000000034796364</D_0062>

</S_UNT>

</S_UNH>

<S_UNZ>

<D_0036>(no. of messages)</D_0036>

<D_0020>Interchange</D_0020>

</S_UNZ>

</S_UNB>

</LIST>

Edited by: itisha alok on Aug 11, 2009 12:25 PM

former_member750652
Contributor
0 Kudos

Hi Itisha,

CRLF is Carrier Return Line Feed which acts as segment delimiter in the EDI xml structures in to BICMD.While reading the document CRLF feilds will automatically get filled by the delimiter codes wich are invisible some times(ex:Enter as delimiter).

Thanks,

Ram.

former_member181962
Active Contributor
0 Kudos

Hi Alok,

Check the segment delimiter that is present in the EDI File that you are using for testing and the segment delimiter that is defined in the BIC Mapping Designer.

They should match.

Regards,

Ravi