cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Receiver FCC

Former Member
0 Kudos

Hi Experts,

We need to do a file content conversion in the Receiver File Adapter for a fixed length file, format of which is like:

MT_Message

Shipment..........1..1

field1

field2

field3

Order.................1..1

field1

field2

field3

Tare..................0..unbounded

field1

field2

field3

Item...............0..unbounded

field1

field2

field3

occurrence of all field level elements are 0..1. Shipment, Order and Tare are at the same level and Item is under Tare, which can occur multiple times.

I have tried using the normal File receiver FCC, the localejbs/AF_Modules/MessageTransformBean bean and the StrictXml2PlainBean but am not getting the desired output, where each segment is to occur on a separate line.

Any help would be highly appreciated.

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184619
Active Contributor
0 Kudos

Hi Sarkar,

I think the structure you are using is not correct. It should have one root node above all these Segment, Order nodes etc.

Probably like this:

MT_Message

<Recordset>

Shipment..........1..1

field1

field2

field3

Order.................1..1

field1

field2

field3

</Recordset>

check this blog as well

Sachin

Shabarish_Nair
Active Contributor
0 Kudos

you need to have a flat structure -