Hi Muni,
Our requirement is we have to create multiple idocs based on segments....
ZST_IDOCTOFILE this is one parent segment
ZSG_SPLITIDOC2 and ZSG_SPLITIDOC1 these are child segments.... under ZST_IDOCTOFILE.
now we have to create one IDCO based on ZST_IDOCTOFILE this parent segment and create another IDOC based on ZSG_SPLITIDOC2(child segment) and if we have multiple same segments(ZSG_SPLITIDOC2) it should create one single IDOC...
Similarly if another parent and child segments are there then it should create individual IDOCs...
Thanks & Regards,
Vishnu.