Skip to Content
Former Member
Jul 21, 2007 at 06:50 AM

From One IDoc TO Many Files


Hi Friends,

I have scenario like below..

I have a idoc with segment YSEG1 and in it i have field called YFIELD1.

If segment (YSEG1) repeats 2 times, it has to generate two files or segment repeats 3 time it has to generate Three file in the receiver side.

In First segment (YSEG1) field (YFIELD1) value = G001

In Second segment (YSEG1) field (YFIELD1) value = G002

In Third segment (YSEG1) field (YFIELD1) value = G003

But here field(YFIELD1) value varies each time (EX: YFIELD1-G001, YFIELD1-G002, YFIELD1-G002, etc..).

Based on the segment repeatation and field value vary, i have to create files in the receiver side.

Please hepl me, how to achieve this scenrio.

Thank you very much in advance.