Value Mapping 
An object can be represented in different ways in different contexts.

For example, a user Julie Moore (object) can be a customer in business system A, but an employee in business system B.
You can use the value mapping function to map different representations of an object to each other. You can store the mapping rules for different objects in a value mapping table.
The value mapping functions are used in the following locations in the SAP Exchange Infrastructure:
· Java mapping
For more information, see Executing Value Mappings.
· Routing
When identifying a receiver from message contents, the value mapping function maps a payload field to a receiver business system. For more information, see Defining Receivers and Specifying the Extractor Parameters.
The value mapping table then looks as follows (see graphic).

A value mapping table contains different representations of objects.
The representations of the same objects are listed together in groups. A group of entries in the value mapping table contains multiple representations of the same object. One representation of an object takes up a single table line.
A group contains at least one representation.

The example (see the graphic) groups the different representations of the object Mr. Glenn in group 1, and the different representations of the object Mr. Rodriguez in group 2.
The fields of the value mapping table mean the following:
· System
The field System indicates the context. Generally, it is a business system.
· Namespace
Specifies the namespace of the object type.
· Object Type
Specifies a ‘role’ in which the object can appear in different contexts.
· Value
Identifies the representation of the object in the group.
The Integration Builder (Configuration) contains the central access point for displaying and changing the value mapping table. To do this, choose Tools ® Value Mapping in the main menu.
The editor in which you display and change the value mapping table is constructed thus.
The upper area of the editor has two groups of input fields. Here you can select the following fields from the value mapping table for two representations of an object in each case:
System
Object Type
Namespace
To
call the search help for these fields, choose
.

Remember that you can only select representations from one group.
The lower area of the editor is where you can complete the entries of the value mapping table. To do so, enter values for the selection made in the upper area (column Value For).
Functions
|
Icon |
Function |
|
|
Inserts a new line |
|
|
Deletes the selected entry |
|
|
Switches between display and change mode |
|
|
Saves the entries |