cancel
Showing results for 
Search instead for 
Did you mean: 

Value Mapping

Former Member
0 Kudos

Hi Experts,

I have a requirement to enter the values in value mapping as specified below.

Source - Target

ABC - 123

DEF - 123

XYZ - 456

But I am not able to enter two same values in the target, Is there any way I can achieve this in Value mapping.

Thanks

Edited by: guest xi on Nov 24, 2008 6:53 PM

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi ,

I think its not possible...

But instead you can have this as solution, this idea you might have thought.

ABC - A_123

DEF - D_123

XYZ - 456

A_123 or D_123 are some constant...

After inserting the valueMapping have a check in Graphical mapping if A_123 or D_123 using (if condituion) there by populate value "123" to target.

Regards,

Sasi

Former Member
0 Kudos

Hi,

You can not have duplicate key values that's why you are not able to enter 123 twice.

To achieve this you have to do some small manupulations in your value mapping.

Example:

Value       Key
ABC         123
DEF         123_1
XYZ         456

In short, where ever you have duplicate values just prefix something to make it unique.

Now, after your value mapping use Substring function and take first 3 digits only.

Regards,

Sarvesh

Former Member
0 Kudos

Hi,

go to screen of Group Name and enter the value .. while saving it will dspaly as Duplicat value entered ..ignore that & save it & activate

Former Member
0 Kudos

Hi,

Even i had come across a similiar situation once.

After entering your agency and scheme for source and destination,I used a Group Name.

But even then u cannot enter similiar values in the source or destination agency values.

So what I did was,i used a different suffix after each similiar value.

Thus I was able to enter all similiar values in 1 table all under 1 group.

Then I did content conversion and got rid of those suffixes.

Try this method and let me know if you face any issues.

Regards,

Swathi.

sunil_singh13
Active Contributor
0 Kudos

Hi Guest,

No need to look for value mapping the same can be achieved using FixValues (Available in conversions) in IR only.

The concept is same as value mapping but everything is done in IR only and it is very simple to use as compared to value mapping.

Thanks

Sunil Singh

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

look this blog

ValueMapping using the Graphical Mapping Tool

Accessing Value Mapping defined in Directory using Java functions

Former Member
0 Kudos

Hi

Where exactly you are saving value mapping values.

Check this if useful

http://help.sap.com/saphelp_nw04s/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm

Thanks

Gaurav