Hi guys,
I am doing an IDoc to File structure
Receiver FCC is a complex structure
this is the struture:
Segment1
Segment2
Segment7
Segment3
Segment8
Segment4
Segment5
Segment6
The client wants the output as a string without any field separators.
Initially I configured with "FieldFixedLengths", I got this error "field length not matching".
Segment two has close to fifty fields
I am using space as field separator and it's taken care of in mapping.
For ex: the seventh field of segment two has forty characters, but only ten characters value is populated. I will the remaing twenty nine fields with spaces and add the space mentioned in the FCC settings of CC
Eighth field has three characters, ninth has nine, and tenth has 2. These fields get respective values with sufficient length, so I am concatanating without spaces.
Everything is coming fine but when seven and eight fields are missing in segment two, the eighth field is shifted one position ahead.
How to take care of this? Does FCC actually support this nested structure?