cancel
Showing results for 
Search instead for 
Did you mean: 

Replicating Target node

Former Member
0 Kudos

Hi all

how to replicate a target node at run time and map different values.

for eg in my scenario a currency line item needs to be replicated twice one for credit and other for debit( one holding a negative value in it) in the target rfc but in source structure i have only amount field ?

Regards

Bhasker

Accepted Solutions (1)

Accepted Solutions (1)

former_member194786
Active Contributor
0 Kudos

Hi Bhasker,

You can directly duplicate the target node currency by right clicking on it and selecting the option Duplicate Subtree. Now map both the fields to the amount filed. In the other node you can concat the input value with a "-" constant. Thus 2 currency nodes will be created for each amount field.

Regards,

Sanjeev.

Former Member
0 Kudos

HI all

I resolved by duplicating the node and mapping contant to the nodes

Thank u

Cheers

Bhasker

Answers (2)

Answers (2)

sunil_singh13
Active Contributor
0 Kudos

HEllo Raj,

You can Achieve this by duplicating the node in target side at Design time only.

You can put some Condition onDuplicated Field when you want to make them appeare.

Also Source Field Can be MApped to Multiple Target Field

So currency line item needs to be replicated twice one for credit and other for debit

Can be easily achieved.

Thanks

Sunil Singh

former_member238007
Contributor
0 Kudos

Hi,

You may solve this by creating a user defined funciton..

i.e UDF to perform all the functions before mapping to the target field and assign as well to the target fields required..

regards

Kishore