Skip to Content
author's profile photo Former Member
Former Member

what exactly value mapping , what is its use ,?

hi,

what exactly value mapping , what is its use ,?

where we can use value mapping ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2008 at 02:07 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2008 at 08:43 AM

    Hi

    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 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

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

    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

    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

    Hope this is usefull

    Thanks

    Saiyog

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2008 at 02:16 PM

    Hi,

    In general mapping, whatever the value of source will be mapped to target field.

    But in Value Mapping, you will be given provision to define a table like if this value comes at source then map this value to target field, like that. So, when you have a chosen value at source field then it will be mapped to a corresponding defined value at target side.

    Regards

    Bhanu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 08:31 AM

    Hi prl reddy,

    Value mapping is used when an object has different representation.

    Example: when we are integrating SAP->XI->Non SAP( Third Party),in SAP a material can have the number as "1003452653" and in NON SAP system the same material have the number as "P345678766" .In this case we use value mapping.

    Input ( SAP):

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

    Material : keyboard

    Material # :1003452653

    Output( Third Party):

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

    Material : keyboard

    Material # :P345678766

    Lavanya.B

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 08:40 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 08:49 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 09:37 AM

    Hi prl reddy ,

    In Integration Builder, Value Mapping is part of Message Mapping.

    Value Mapping

    Use

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

    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.

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

    · Java mapping

    · Message mapping (see Standard Functions)

    Integration

    In SAP Exchange Infrastructure, the representation of an object is defined by an issuing agency and an identification scheme (see Identifiers). The representation of an object is not complete until the agency, identification scheme, and value are known.

    You 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 you want to transfer value mappings from another context (see Value Mapping Replication Using a Specialist Interface).

    Features

    You save object representations in a value mapping table.

    You have the following options for editing the content of value mapping tables:

    · Manual Input using the user interface of the Integration Directory

    · Replication from external data sources using a specialist interface

    The following r excellent websites on value mapping containing PDF & PPT docs which will explain u in detail with syntax & examples:

    Excellent PDF Document on Mapping

    http://help.sap.com/bp_bpmv130/Documentation/Operation/MappingXI30.pdf

    Mapping Development with the ABAP Workbench

    http://help.sap.com/saphelp_nw04/helpdata/en/10/5abb2d9df242f6a62e22e027a6c382/content.htm

    ABAP Mappings

    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm

    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a

    How to Use ABAP Mapping in XI 3.0

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4

    cheers!

    gyanaraj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2008 at 02:51 PM

    thanks to all.

    one more dbt.

    as a developer we have to do unit test & we have to write test plan.

    can any one guide me how to do unit test,how to write test plan.

    and any other tests we have to other than unit test as a developer.

    plz help me.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.