Skip to Content
0
Former Member
Jun 08, 2009 at 09:20 AM

Multiple occurence of IDOC node for certain input combination in mapping

28 Views

Hi All,

My scenario is as below:

Input sturucture:

FieldA

FieldB

FieldC

FieldD

FieldX

FieldY

FieldZ

Output structure is IDOC WPUWBW01.

Now field A,B,C and D forms key of my source record. So as far as key remains same i have to post all items in one idoc. I am able to achieve this with combination of split by value Fn and collapse context Fn.

Now in addition to above if my Field B = "1200" and Field Y = "1" it should generate IDOC node twice ...

and if Field B = "1200" and Field Y = "6" it should generate IDOC node once.

Any idea how this can be achieved.

Regards,

Siddhesh S.Tawate

PS: Also let me know how to use the container and queue in UDF's