on 11-06-2013 10:54 AM
Hi all,
I have a requirement ,
source target
A X
B Y=X+Z+W
C Z=X+Y
D W
Kindly can some one help me,how this can be achived in mapping?
source target
A X
B Y=X+Z+W
C Z=X+Y
D W
source target
A X->A
B Y=X+Z+W->A+A+D+D
C Z=X+Y->A+D
D W->D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sahana,
This might sound lil wierd but there is another way of handling this situation. Use three different Message mapping and club them in operation mapping.
In first mapping just map X and W field.
In second mapping map Z field and in third one map the Y field.
this is quite simple solution.
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
are you sure about that ?
B Y=X+Z+W
C Z=X+Y..... so Z=X+X+Z+W !!!!! so 2X = -W... (in mathematic)
does "+" is "add" or "concatenate"?
Else as X comes from A, W comes from D... in your mapping use the sources A and D, and do not try to use your targets... Or if you have have to the same value, reuse the rule ! and point it to two target fields
regards
Mickael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sahana,
You can achieve your goal with value-mapping, where the X, Y, W, Z will be stored in configuration time. Later you only need to concat the results in the message mapping for B and C source mapping.
In this wiki you have an easy how-to http://wiki.scn.sap.com/wiki/display/XI/Value+mapping
Also, you can check this document http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf4...
Regards.
Message was edited by: Iñaki Vila
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.