cancel
Showing results for 
Search instead for 
Did you mean: 

Value Mapping

Former Member
0 Kudos

Hi all, Good Evening

Can any one tell me about how to use value mapping and where it is used and how it is helpful and also how it can be handled in Integration Repository and Integration Directory.

Thanks in advance,

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

Refer this blog

ValueMapping using the Graphical Mapping Tool

THANKS

Vikranth

GabrielSagaya
Active Contributor
0 Kudos

Value mapping

************

Value mapping - converting a value in the source to a another in target. Say in source it might me KM but in target u might need Kilometers

Converts source format into target format specified in the look up table.Suppose in source it might me IND but in target u might want India.

The value mapping function to map different representations of an object to each other.

The mapping rules are saved for different objects in a value mapping table

Value mapping context stores information on the origin of the data.

http://sap.com/xi/XI means that the data is maintained in the Integration directory.

The Value Mapping Properties are Value Mapping Context,Agency, Schema for Source and Target messages. Any arbitrary string value can be used.

IN IR

*****

goto message mapping--> choose value mapping for source & target

Value Mapping Context==> http://sap.com/xi/XI

Agency for source msg==> SEA

Schema for source msg==> urn:source:emp

Agency for target msg==> THA

Schema for target msg==> urn:target:emp

In ID

*****

goto sender communication channel > choose identifier tab> fill agency & schema

goto receiver communication channel > choose identifier tab> fill agency & schema

Tools --> value mapping --> fill agency schema for both sender and receiver

Enter the values for source(SEA) & target(THA)

K1 junior consultant

K2 senior consultant

K3 project manager

Fix Values

**********

The FixValues function provides a simple generic value mapping (key mapping) in IR.

1. Use the standard function -> Conversions -> FixValues to link source and target element

2. Double click to define properties

a) Each field mapping uses its own table of key-value pairs.

b) Filled tables can be copied to other mappings. But copied table is independent of origin

Value Mapping

*************

The Value mapping function provides a more specific value transformation.

1. Use the standard function Conversions -> Value mapping to link source and target element

2. Double click to define properties

3. Define access keys for table entries:

a)Value Mapping Context stores information on the origin of data. eg http://sap.com/xi/XI

b)Agency & Schema for sender and receiver messages. Any arbitrary string value can be used

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>>Can any one tell me about how to use value mapping and where it is used and how it is helpful and also how it can be handled in Integration Repository and Integration Directory

Use:

An Object can have different representations, depending on the context in which it is used.

We use the Value Mapping function to map different representations of an object to each other.We save the mapping rules for different objects in a Value Mapping Table.

You use value mapping in the following areas of SAP Exchange Infrastructure:

· 1) Java mapping : For more information, see Executing Value Mappings.

· 2) Message mapping :A message mapping refers to a mapping of messages; the procedure is supported by a graphical mapping editor. The editor enables you to design a structure mapping between any two XML structures and connect to a value mapping

We can define value mappings in different value mapping contexts, for example, the Integration Directory or the SAP Solution Manager. Different value mapping contexts are of use when we want to transfer Value Mappings from another context (see Value Mapping Replication Using a Specialist Interface).

SAP provides the following objects for the replication of Value Mappings:

· Value-Mapping Replication Interfaces: They are located in the Integration Repository in the software

component SAP BASIS, software component version SAP BASIS 6.40 in the namespace

http//sap.com/xi/XI/System.

· Proxy Objects:For the inbound message interfaces, there are inbound proxies on the Integration

Server and ABAP outbound proxies in the SAP system in ABAP proxy generation under the

software component version SAP Basis 6.40.

Regards,

sangeetha

Former Member
0 Kudos

hi,

Value Mapping

*****************

An object can have different representations, depending on the context in which it is used.

Example

**********

For example, the person Mr. Smith has a particular customer number as a customer of mail order company A and has a particular employee number as an employee of company B. Both numbers refer to the same person.

We can use the value mapping function to map different representations of an object to each other. We can save the mapping rules for different objects in a value mapping table.

We can use value mapping in the following areas of SAP Exchange Infrastructure:

· Java mapping

· Message mapping (see Standard Functions)

ValueMapping using the Graphical Mapping Tool

Accessing Value Mapping defined in Directory using Java functions

Value Mapping replication

Thanks,

Vijaya

Former Member
0 Kudos

Value mapping is used when for certain set of source values you want to set corresponding target values

for example

source(Country) target(country code)

INDIA .................IND

Australia.............AUS

How to implement.. refer

Former Member
0 Kudos
former_member181962
Active Contributor
0 Kudos

HI Prajwal,

This is a generic question.

Please search the forum before you post such questions.

http://help.sap.com/saphelp_erp2004/helpdata/en/d3/4017d9b90afe4999dbf8792638b291/frameset.htm

Regards,

Ravi