Skip to Content
0
Former Member
Dec 08, 2011 at 04:35 PM

sub node is not getting created

34 Views

Hi Experts

I have IDOC to SOAP scenario, here the subnode is not getting created in the main node. please help me

Structure is given below

Source

Matmas

IDOC

e1m -


(1...9999 ) occurance

Target

Target

XMLDATA --- (1.. UNBOUNDED)

SUBNODE1 ---(1.1)

SUBNODE2 ---(1.) -- UNDER SUBNODE1

SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.

Quesion 1.

now i want XMLDATA node to be repeated as many times as e1m comes from source along with both the subnodes 2 and 3 at target side.

but i could see only subnode2 is getting created not the subnode3 while testing.

May i know why is this happening.

I want the SUBNODE3 also be created.

Note the occurance of SUBNODE3 is 0.. unbounded

Question 2:

I want the SUBNODE3 also to be repeated as many times as e1m node comes from source.

For example:

e1m comes twice then the target should be as below

XMLDATA --- (1.. UNBOUNDED)

SUBNODE1 ---(1.1)

SUBNODE2 ---(1.) -- UNDER SUBNODE1

SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.

SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.

XMLDATA --- (1.. UNBOUNDED)

SUBNODE1 ---(1.1)

SUBNODE2 ---(1.) -- UNDER SUBNODE1

SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.

SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.

Regards

Lara