cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with File Content Conversion

Former Member
0 Kudos

Hello All,

I am working with file(FCC) to idoc, input file is fixed length file. My File structure is

Record 0.....unbound

Header1 1

Header2 1

Detail_record 0.....unbound

I am using following parameters for FCC

RecordsetStructure :

Record,,Header1,Header2,Detail_record,**

Record.fieldFixedLenfths : fieldlengths

Record.fieldNames : fieldnames

Record.endseparator : 'nl'

Record.processFieldNames : fromConfiguration

Header1.fIeldFixedLengths : fieldLengths

Header1.fieldNames : fieldnames

Header1.keyFieldValue : H1

Header1.endSeparator : 'nl,

Header1.processFieldNames : fromConfiguration

Header2.fieldFixedLengths : fieldlengths

Header2.fieldNames : fieldNames

Header2.keyFieldValue : H2

Header2.endSeparator : 'nl'

Header2.processFieldNames : fromconfiguraion

Detail_record.fieldFixedLengths : fieldLengths

Detail_record.fieldNames : fieldNames

Detail_record.KeyfieldValue : D

Detail_record.endseparator : 'nl'

Detail_record.processFieldNames :fromConfiguration

My inpufile look like this

CEDI_DC 010 2

H100 ford GZ0922-01

H2 12340

D107 56743

D107

I configared correctely fieldnames, fieldlengths, documentname, documentnamespace,recordsetname, recordsetstrucre,recordsetsequece, I think i done something wrong in my FCC configuration. file is unable to pic by sender adapter. How can i check error. How to resolve this problem. Please can anybody helpme out from this problem.

Thanks

Venkat

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Hello all,

Can any body help on FCC

Thanks

Former Member
0 Kudos

Hi.

Record structure should be:

RecordsetStructure :

Record,,Header1,1,Header2,1,Detail_record,*

Regards,

Sreeni.

Former Member
0 Kudos

Hi Srinivas,

Will i specify KeyFieldName, What are the key field names. Please suggest me

Former Member
0 Kudos

You can write any name in that.

e.g. Key

Since I guess for your case if 'H' is the first character then its header and 'D' for detail.

That one digit is key field.

Gaurav Jain

Reward Points if answer is helpful

Former Member
0 Kudos

Hello Gaurav Jain

I specified Key in Key Field Name , Header1.fieldNames,

Header2.fieldNames and Detail_record.fieldNames, I specified the corresponding keyFieldValues, Still my file is not picked by sendar adapter.

What is the perpose of Recordset per Message.

Thanks

venkat

Former Member
0 Kudos
Header1.fIeldFixedLengths : fieldLengths
Header1.fieldNames : fieldnames

Make sure that

your field name starts with first field as "Key"

and field length with first length is "1,..."

Gaurav Jain

Former Member
0 Kudos

Hi,

I will provide some links yaar...

Please see the below links for file content conversion..

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

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

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

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

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

/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

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

/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns

/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem

/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/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

Thanks

Vikranth