cancel
Showing results for 
Search instead for 
Did you mean: 

What is value mapping ?

Former Member
0 Kudos

What is value mapping ?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi,

what is value mapping?

A perticular object/field could have different interprtations from applications to applications and Business to Business. For e.g Suppose a particular document XYZ has an identity code 001 in one application or may be in one orgnization. But the same document could have different ID in different applications.

With the help of Value Mapping you could map these IDs with each other, thus while transaction of the data XI will act as an smart mapper to pass the Application specific values.

we have two types of conversions

Fixvalues : create local table to perform value mapping

Value mapping : Define jump to value Mapping Table of

integration directory.

Check below links.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf...

/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

/people/william.li/blog/2007/03/30/using-jdbc-connection-pool-in-xi-message-mapping

Thanks,

Vijaya

Former Member
0 Kudos

Hi,

Value mapping : Value mapping means mapping the data of some source fields to some target fields, in this mapping data can be transform in the format you required for your target system. You can do a value mapping simply by graphical mapping, using UDF etc

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.

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

Value Mapping can be implemented in various ways, depending on what suits you best.

1. Graphical mapping->see the links provided in this thread

2. Java mapping->lookups. The assumption is that the lookup values are maintaines as a 2-column table in a database

3. ABAP mapping-> here lookup values are maintained in SAP tables, and the code in the ABAP mapping can be used to access the lookup values.

value mapping

/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication

value mapping help

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

Value mapping

/people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions

Value Mapping replication -

/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication

Thanks

Vikranth

Former Member
0 Kudos

Hi Rama krishna,

Go through this important link:

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

Displaying/Editing the Value Mapping Table

Use

You can display or edit the contents of value mapping tables in the Integration Builder (Configuration):

This only applies to the value mapping context of the Integration Directory.

Prerequisites

To access the editor for displaying/editing the value mapping table, choose the following in the main Integration Builder menu (Configuration): Tools ® Value Mapping.

Features

Two different views are available to you for displaying or editing data in the value mapping table:

· Display a value mapping group

You can display a value mapping group here. A value mapping group contains different representations of an object.

A value mapping group is identified uniquely by a GUID. You can also assign a name to a value mapping group. This does not have to be unique.

· Display value mapping agencies

This view displays all value mappings that have been defined for specific source and target identifiers.

This view displays different representations and objects.

These views are both shown in diagram form in the following graphic.

The example shown above groups the different representations of the object Mr Glenn in the Glenn group, and the different representations of the object Mr Rodriguez in the Rodriguez group.

A value mapping has been defined between the agencies CompanyA and MailOrderCompanyB for the Glenn group. Mr Glenn is managed under employee number 001 in CompanyA and customer number 007 in MailOrderCompanyB. No value mapping has been defined between these agencies for the Rodriguez group.

To display or change entries in the value mapping table, you can open a separate editor for each view.

Editors for Displaying/Changing the Value Mapping Table

Editor/View

Features

Display value mapping group

The following information is displayed in the Display Value Mapping Group editor:

The editor header displays the ID (GUID), name, and description of the group.

The following information is displayed in a table in the work area for each representation:

· Agency

· Identification scheme

· Value

The name of the group is displayed on the tab page index in the object editor. The system displays the GUID if you have not assigned a name to the group.

Display value mapping agencies

The following information is displayed in the Display Value Mapping Agencies editor:

The editor header displays the source and target agencies and identification schemes.

The following information is displayed in a table in the work area for each value mapping:

· Value for source agency

· Value for target agency

· Group name or GUID (if no name was assigned during creation)

You can navigate to a different table view and open the editor for the selected group by double-clicking on a line.

You can use the input help (symbol ) to specify the respective views in both fields.

You can edit the table in both views by inserting or deleting lines. To do this, switch to change mode (button ). Use the or buttons here.

Activities

Display/Edit Value Mapping Agencies

...

1. Choose Tools ® Value Mapping in the main menu of the Integration Builder (Configuration). A dialog box appears in which you can select one of the two views of the value mapping table.

2. Select using the Value Mapping Agencies button and specify the source and target agencies and identification schemes. The Display Value Mapping Agencies editor is opened as a tab page in the application window of the Integration Builder.

The system displays any name you have assigned to the value mapping group on the Name tab index. This name can be modified. The system displays the GUID on the tab index if you have not assigned a name to the group. This GUID cannot be modified.

Display/Edit Value Mapping Group

...

1. Choose Tools ® Value Mapping in the main menu of the Integration Builder (Configuration). A dialog box appears in which you can select one of the two views of the value mapping table.

2. Select using the Select Value Mapping Group Using selection button.

You can select a value mapping group by:

¡ Specifying the name of the group

The input help only displays groups for which a name has been assigned.

¡ Specifying a specific representation of the object

Specify the agency, identification scheme and value/identifier here.

The Display Value Mapping Group editor is opened as a tab page in the application window of the Integration Builder.

Create New Value Mapping Group

...

1. Call the Create New Object dialog in the main Integration Builder menu (Configuration).

2. Select the Value Mapping Group object type. The Display Value Mapping Group editor appears.

3. You can specify a group name. The system displays the GUID on the tab index of the editor for the value mapping group if you have not specified a name.

Value mapping groups are handled as configuration objects in the Create New Object dialog. They do not therefore appear as objects in the navigation area of the Integration Builder.

Thanks,

Radhika

Please reward points if it is helpful

Former Member
0 Kudos

Giving the values at Runtime is called value mapping.

We use the value mapping function to map different representations of

an object to each other. we save the mapping rules for different objects and a value mapping table, we can use the value mapping in the following ateas of XI.

1. JAVA mapping.

2. Message Mapping.

features:

1. We save the object representations in a value mapping.

2. We have the following options for editing the content of the ID

a. Manual input : Using the user interface of the ID.

b. Replication from external data source : Using a specialist interface.