Hi All,
I am doing a scenario which is File to IDOC.
I am reading a file which is of variable structure , so in FCC i have used the RecordSet Sequence : Variable
after reading the file i have the structure as
example:
- <RecordSet>
- <W6>
<WE601 />
<W602 />
<W603 />
<W604 />
<W605>D</W605>
</W6>
- <N1>
<N101>ST</N101>
<N102>ZZ</N102>
<N103></N103>
<N104></N104>
<N105>R</N105>
<N106 />
</N1>
- <N4>
<N401>ST</N401>
<N402></N402>
<N403>SD</N403>
<N404></N404>
<N405>US</N405>
</N4>
- <N1>
<N101>WH</N101>
<N102>ZZ</N102>
<N103>2070</N103>
<N104> SCS</N104>
<N105 />
<N106 />
</N1>
- <N4>
<N401>WH</N401>
<N402></N402>
<N403></N403>
<N404></N404>
<N405>US</N405>
</N4>
</RecordSet>
But i have to get the recordset name <RecordSet> twice as given below after mapping
- <RecordSet>
- <W6>
<WE601 />
<W602 />
<W603 />
<W604 />
<W605>D</W605>
</W6>
- <N1>
<N101>ST</N101>
<N102>ZZ</N102>
<N103></N103>
<N104></N104>
<N105>R</N105>
<N106 />
</N1>
- <N4>
<N401>ST</N401>
<N402></N402>
<N403>SD</N403>
<N404></N404>
<N405>US</N405>
</N4>
</RecordSet>
- <RecordSet>
- <W6>
<WE601 />
<W602 />
<W603 />
<W604 />
<W605>D</W605>
</W6>
- <N1>
<N101>WH</N101>
<N102>ZZ</N102>
<N103>2070</N103>
<N104> SCS</N104>
<N105 />
<N106 />
</N1>
- <N4>
<N401>WH</N401>
<N402></N402>
<N403></N403>
<N404></N404>
<N405>US</N405>
</N4>
</RecordSet>
i.e., i am getting 1 recordset after FCC and then after mapping i need to generate 2 recordsets and pass 2 IDOCS.
Please suggest me how can i generate multiple recordsets.
Thanks
Sai_SHA