cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in mapping

Former Member
0 Kudos

Hello Experts,

i have a requirement, source side using one data field, i need to do RFC lookup,

in response RFC returns data then i need to pass,both incoming source data and lookup data to target structure.....means target structure nodes need to come twice.

if no data in response then i need to send only the data which is coming in source structure.

how to do this in mapping, if i use create if condition will it work.

Regards,

Chinna

Accepted Solutions (1)

Accepted Solutions (1)

Harish
Active Contributor
0 Kudos

Hi Chinna,

you can duplicate the target structure. Map the source to first node and output of RFC lookup to the second node. The second is only genrated when you get any output from RFC lookup.

I am assuming your target structure occurence is 0:n or 1:n. Hope this will help.

Regards

Harish

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

you no need to use create if function if you want send send only one specific field twice(rfc lookup+input).

as Harish mentioned duplicte the field once then map rfc response to duplicated field and input data field to existing field.

it works.