cancel
Showing results for 
Search instead for 
Did you mean: 

Reg error in flat file to flat file scenario

Former Member
0 Kudos

Hi techies,

Iam just starting working with XI scenarios.

In base flat file to flat file scenario which is mentioned in wiki.sdn

http://wiki.sdn.sap.com/wiki/display/XI/FLATFILETOFLATFILE

I had completed entire scenario. After generating sender file. Iam getting this error in runtime work bench.

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

Please suggest how to resolve this error.

Thanks in advance,

Regards,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

From your error description,



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


it is clear that you have missed out either or both the 2 parameters in receiver file adapter content conversion, namely EMP.fieldFixedLengths and EMP.fieldSeparator.

From the example that you followed, use the following values for the 2 parameteres is the output file is a comma separated file:

EMP.fieldFixedLengths: 8,10,10

EMP.fieldSeparator: ,

I have assumed that the lengths of the fields NAME,ADD,MOBILE are 8,10 and 10 respectively. Change them according to your requirement.

Use any other value in place of comma(,) in EMP.fieldSeparator according to the requirement.

Hope it helps you buddy!!!

Thanks

Biswajit

Edited by: 007biswa on Feb 22, 2011 9:25 AM

Edited by: 007biswa on Feb 22, 2011 9:28 AM

Former Member
0 Kudos

Hi Biswajit,

Thanks alot for your reply.

Iam also having an error at sender communication channel.

Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'DETAILS':java.lang.Exception: ERROR in configuration / structure 'DETAILS.': More elements in file csv structure than field names specified!

Regards,

Kiran

rajasekhar_reddy14
Active Contributor
0 Kudos

check your file content conversion in sender communication channel , it is not correct as per your structure.

Former Member
0 Kudos

check the following.

1. Data type name used and name used in FCC configuration.

2. sample test file which u r using for testing and FCC configuration.

it seems that file have more details information than specified in ur FCC configuration.

chirag

Answers (1)

Answers (1)

former_member463616
Contributor
0 Kudos

Hi Chaitanya,

In your sender file might be having special characters and spaces. Please remove the special characters and spaces. The scenario should be work. And do needful FCC setting both sender and receiver side.

Have a look at these links, it might be helpful to you.

/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

FCC-sender

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

FCC-receiver

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Regards,

Rajesh