Skip to Content
0
Former Member
Nov 20, 2008 at 02:33 PM

FCC Receiver Error :Column value ' ' too long

127 Views

Hi Experts

I am getting data from SAP for which i should create a file which is fixed length on the target side

My structure is :

File----


1.....Unbound

----->Header --- -


1..1

-


>RecordType

-


>Transcode

-


>PO_Num

-


>Vend_ID

-


>Crea_date

-


>WHS_ID

-


>POM_Status

-


>Cancel_date

-


>Delv_date

-


>Ord_type

-


>POM_Char

---- >Record_Detail ---1..Unbound

-


>Record_typ

-


>PO_Num

-


>Line_no

-


>Itm_no

-


>Sch_No

-


>QTY

-


>UOM

-


>Vend_itm_no

-


>Delv_Date

-


>Buyer_name

-


>WHS_ID

---- >var1 -0..1

---- >var2 -0..1

var1 and var2 I am using for variable substitution.

I have configured the receiver FCC as below

Record Structure HeaderRecord,Record_Detail

HeaderRecord.fieldFixedLengths 1,1,30,10,8,2,1,8,8,8,1

Record_Detail.fieldFixedLengths 1,30,5,30,3,8,2,20,8,25,2

And I have given var1 and var2 in varaible substitution.

But I am getting the following error when recevier receiving the file

Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '0811200613.WAPONUM' too long (>1 for 0. column) - must stop', probably configuration error in file adapter (XML parser error)'

Please help me

Regards

Sowmya