cancel
Showing results for 
Search instead for 
Did you mean: 

Value Mapping - N:1 Mapping

Former Member
0 Kudos

I need to create a value mapping like this

A --> 1

B --> 2

C --> 2

D --> 2

E --> 3

So that if the source field has 'A' the value mapping returns 1 and if my source field has 'B' or 'C' or 'D' it should return 2.

When I create this in value mapping table, it doesnu2019t accept and gives an error saying it is a duplicate mapping entry.

I know that value map tables are mean to hold two way data mappings and hence doesnt allow what I'm trying to do here, but still is there a standard way to do this ?

I dont want to use FixValues function here since this value map table would be used by other message mappings too and hence if I go for a FixValues function I would have to create it in every mapping (hence not a good solution).

I also want to avoid non standard techniques like entering unique values in the value mapping table and later do a string function in the message mapping to cut out the actual value as mentioned by grube in some blog i read.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Double click the Value for Source and enter the values targets.

Former Member
0 Kudos

I have already tried that and it doesnt accept duplicate entries in the targt values.