Hii I am doing a file sender config and my message is something like this
C1TN4028260000PP345700210 2620582 005 0000000000000072020061802 000000000000000000
C2TN402826000000001037331742557076 0000071641086338975600000110230000394007
C3TN4028260000000010000071641086338975600097BP 0005 00000000030000000000
here the C1, C2, C3 are unbounded it is explained below
This is only a part of the Payload............
my Datatype format is
OCCURANCES
<Data_DT>
<Record> 1
<Header> 0..1
There are many fields....
</Header>
<Control_1> 0...unbounded, this is the C1 record
There are many fields....
</Control_1>
<Control_2> 0...unbounded, this is the C2 record
There are many fields....
</Control_2>
<Control_3> 0...unbounded, this is the C3 record
There are many fields....
</Control_3>
<Line> 0..1
There are many fields....
</Line>
</Record>
Only write E1EDL37 segment if subsequent "C3" record contains C3_Data(This is one of the fields in Segment Control_3) > 0. If C2_Num = C3_Num, then only one E1EDL37 segment needs to be written for this "C2" record. If C2_NUM <> C3_NUM, then one E1EDL37 segment has to be written for the C2 record and one has to be written for the C3_NUM for the C3 record. In this case one E1EDL44 segment must be written with each unique C2_NUM.
This is a standard Idoc,
Part of the structure,
............
...........
.............
...........
E1EDL37 unbounded
............
............
............
............
E1EDL44 unbounded, its in item level of E1EDL37