cancel
Showing results for 
Search instead for 
Did you mean: 

FCC configuration in Sender File Channel Without any key field name

Former Member
0 Kudos

Hi Everyone,

We have below flat file generated from ECC using standard tcode.

The flat file is fixed length file and first record is header record followed by line items.

There is no key field name in the file name.

Can we read the file and convert into xml without any key field name?

I want to understand if the FCC configuration for above file can be done without key name or not.

Thanks,

Vertika

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

AFAIK, using FCC i really doubt u can convert file into xml.

So technically, there are two options either read each line one by one and then do conversions in ur mapping or write a custom module which will read ur input file and convert into xml.

Thanks

Amit Srivastava

former_member184720
Active Contributor
0 Kudos

Hi Vertika - To differentiate you need the key field.

However may be you can try the below approach - In case your header line length is < line item.

consider your header line also as line item for the content conversion part and concat all the first occurrences so that it becomes your header line during mapping?

and set the "missingLastfields" to ignore