on 09-18-2008 10:43 PM
Hi,
I have a requirement where one source field can be mapped to 3 fields.
If the values in the one field is say for eg. A, it should map to field 1 in target.
If it is 2 than it should map to Field2
if it is 3 should map to Field3
Else to nothing.
Is that can done using standard function or i have to used UDF.
Regards,
Hi,
Make 3 seperate mappings.
1. use if then else function
srcfld------------|
\--------->equalsS----->if then--->map srcfld to field1
constant[A] --| else--->map empty constant
Repeat the above step for field2 and field3 only changing the constants.
Edited by: malini balasubramaniam on Sep 19, 2008 7:30 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3343] [original link is broken] [original link is broken] [original link is broken];
the above thread wll help to solve ur issues.
Regards.
Siddhesh Naik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do the following Mapping.
Use If without Else.
on Target1 :
if source equals(1)
then map.
on Target2 :
if source equals(2)
then map.
on Target3 :
if source equals(3)
then map.
Regards,
Akshay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use Node function IfCreate.
see use of
it:http://help.sap.com/saphelp_nw04/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/frameset.htm
Edited by: Dharamveer Gaur on Sep 19, 2008 5:36 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use equals functions in graphical mapping. If needed exists function also..!!
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi XI_Fan,
You don't need UDF. For each target field, do a comparison with your source field, and map to it if result is true.
Best regards,
Pedro Pereira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.