on 11-09-2006 6:48 AM
Hi all
I am working on SAP -XI Value Mapping.
My question is :
I want to map two or more values from source to the same value at target, using value mapping.
for eg.
If source field "Country" has value "In" or " IND" it should map to a single vale "India" in target field "Country".
can any one suggest some solution for the above problem??
Thanks
Sheetal
Hi Sheetal ,
For your scenario you can attain this by writing a small UDF ( I dont think there is no need to use Value mapping here )
Source node Country will have "In" or "IND" as data so check for both cases using a java UDF. If any of these conditions are valid then just add result.addValue("India" ) and map this to the Target Country Node .
Please let me know if you have any more doubts.
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For this, you have to create a value mapping group. In our ID, goto tools-> value mapping.
Select <b>Value mapping group selected by</b> -> <b>Representation</b>. Enter the agency, scheme and one of the source values. You will be taken to the Diplay value mapping group screen wherein you can edit the value mapping group and add more than one source values for a single target value.
Regards,
Divija.
Hi,
Map any one of the source to the target.
You can check the existence before mapping.
Rgds
Chemmanz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.