on 03-20-2006 2:32 AM
In Mapping, Can I use one Target field as source to map to another? In my true scenario, I map the unit price from source xml to target xml, amount from source xml to target. in target xml, there is a total field equal to unit price multiply amount. but the mapping rule in source unit price and source amount is a little complex. I just want to use the target unit price and target amount as source to map the target total. is it feasible? can I use target field as source?
You can copy the path where you have caluclated the target amnt and unit price and multipy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do another new mapping, take target as source, take target as target,then map these two same xml structure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Spring,
>. is it feasible? can I use target field as source?
No, your target field cannot be the used a source in the same message mapping, when using Graphical Mapping.
From SP14, onwards, you can use Global Variable s in your Graphical Mapping , you can try to use if using a global variable can solve your problem.
For info on how global variables can be used, check this blog,
/people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
In Graphical Mapping, you will have to form the logic using only the source fields and <b>cannot use the target field as the input to your user defined function.</b> The only way this would be possible is to use Java Mapping.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.