Skip to Content
1
Jul 31, 2007 at 10:46 PM

Reciever content conversion for File adapter.

62 Views

Hi ,

I am doing Idoc to file scenario,it is working fine without any FCC in the reciever file adapter but its failing when I use FCC.getting the error like

"Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'STRUC.fieldFixedLengths' or 'STRUC.fieldSeparator' is missing "

I know this error is because of FCC problem.

I am getting this xml structure without FCC in the rec file adapter

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

- <ns0:DataRec_MT xmlns:ns0="http://xyz.....">

- <SET>

- <STRUC>

<PERNR>0000185</PERNR>

<ENAME>xyz m xyz</ENAME>

<NACHN>xyz</NACHN>

</STRUC>

</SET>

</ns0:DataRec_MT>

I want to get 00000185||xyz m xyz ||xyz format

I am using these FCC parameters

STRUC.fieldNames fld1,fld2,fld3 etc

STRUC.fieldSeparator ||(do I need to put this in ' ' ?)

STRUC.endSeparator 'nl'

do I need to add any more parameters or not supposed to use any parameters.

please help.

I tried with different combinations but no luck.

i have DT created with stucture like

DT_xyz

Recset

Record set structure.

and I maintained all with the same case for field names,recordset structure,record set etc

I searched blogs and links,and I will keep on.

and what if if we dont get a value for a field in the record structure?whole FCC gonna fail?

thank you,

Babu