on 12-04-2012 5:15 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.