cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping

Former Member
0 Kudos

I want to generate a node three times.

And assign attributes dynamically. Like if i generate 3 nodes the attribute in 3 will be different.

How can we achieve that.

Thanks

Sebin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey

just right click the node and duplicate it two more times,then do the message mapping as desired.

is this what you are looking for?

Thanx

Aamir

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

1) U can do it by using UDF and also by using normal mapping

2) I think it is simpler without using UDF. Just duplicate the target node how much time u want. u can also map diff. attribute to diff node.

3) But if u want dynamically create nodes then u have to use UDF.

4) If u use UDF then use Remove Context for node and SplitByValue for attribute.

Regards,

Rohit

Reward points if helpful.

Former Member
0 Kudos

HI Seben,

Attributes are also stored in the form of nodes. If you want to duplicate nodes in target side right click and select duplicate the node. But for source side you cannot duplicate. You have to write udf for that.

Reward points if needful.

Thanks,

RamuV

vijay_b4
Active Contributor
0 Kudos

Hi Sebin,

If the node you want to duplicate is at receiver side,then you can dulicate it for 3times and proceed with the mapping.

Else if the node is at sender side then you have write a UDF to make duplicate.

Reward points if this helps

Regards

Pragathi.

Former Member
0 Kudos

Hi,

right click and select the suplicate subtree..then u will get another node..

Thanks,

Soumya

Edited by: N Soumya on May 21, 2008 7:37 PM

GabrielSagaya
Active Contributor
0 Kudos

To assign source fields to multiple positions of an element in the target structure,

the element or the entire subree can be duplicated using the context menu

in the target structure.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a...

You can duplicate the node upto twice.