cancel
Showing results for 
Search instead for 
Did you mean: 

File Fixed Length

Former Member
0 Kudos

Hi,

I would like to confirm whether my understanding is right.

Is it necessary to have a field separator in a fixed length file?

If yes, how different is that comparing a normal CSV file

Fixed Length:

Say my field lengths are 3,3,5 with comma as a separator

so the file would be

001,abc,12345

If i go for a normal CSV file then the file would be

1,abc,12345

Is this the only difference where the fixed length must have all the characters irrespective of whether the field separator is space or comma,

I would like to understand the difference and need of having a field separator in a fixed length compared to csv.

Regards

Krish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Just go through this link. It will help you for sure.

http://www.riyaz.net/blog/xipi-file-content-conversion-for-complex-structures/technology/sap/79/

Thanks

Veeru

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

in a field separator, fields are identified based on the separator.

ex. aaa,bbb,ccc here there are three fields separated by a comma

in case of fixedfieldlengths, the field length are fixed.

ex. if the fixedfieldlength is 3,3,3 and the string is aaabbbcc then aaa is one field, bbb and ccc other fields