Skip to Content
I have seen few blogs describing about Value Mappings using JAVA and XSLT functions. But none of the blogs have explanation on how to use Value Mapping with Graphical Mapping Tool. So, I explain the step by step procedure taking a simple example of file to file scenario and discuss how Value Mappings in XI can be maintained at configuration time using the Graphical Mapping Tool.

Steps involved in Integration Repository

1. Create Data Type and Message Type for Source and Target structures

image

image

2. Create Message Interfaces for Source and Target

image

image

3. Create Message Mapping

image

Enter Value Mapping Properties such as Agency, Schema for Source and Target messages. Any arbitrary string value can be used. But enter the Value Mapping Context as http://sap.com/xi/XI

image

4. Create Interface Mapping

image

Steps involved in Integration Directory

1. Create Integration Scenario and Party

image

2. Create a Business Service and assign the Sender and Receiver interfaces

image

image

3. Create Sender Receiver Communication Channel

image

image

4. Enter the Agency and Schema in the Identifiers Tab for the Sender and Receiver adapter

image

image

5. Create Receiver Determination, Interface Determination, Sender Agreement and Receiver Agreement. (Not described in this document)

6. In the Integration Directory from the Tools menu choose Value Mapping.

image

7. Enter Agency and Schema values for Source and Target

image

8. In the next screen, the Value Mapping Agencies will be displayed.

image

9. Enter the values for Source and Target.

image

10. Source XML File Structure

image

11. Target XML File Structure

image

We are done. Activate all the objects and run the scenario. Check the generated output file. You can see that the target value for the ‘EmpDesig’ field is changed.

I hope this blog gives you an understanding of how Value Mappings in XI can be maintained at configuration time using the Graphical Mapping Tool.

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Shabarish Vijayakumar
    During the migration process problems have been reported for this blog. The blog content may look corrupt due to not supported HTML code on this platform. Please adjust the blog content manually before moving it to an official community.
    (0) 
  2. Shabarish Vijayakumar
    i believe that you can actually avoid the steps of party creation and the step “Enter the Agency and Schema in the Identifiers Tab for the Sender and Receiver adapter” to make the development simple.

    Or is it that you had any specifc ideas to do the same ?

    (0) 
    1. Anonymous
      Hi,

      I basically wanted to define how to make use of Agency and Schema thro’ the Identifiers tab, which is why I have depicted that way.

      Regards.

      Praveen

      (0) 
  3. upendra kumar
    Hi
    vijay kumar

    can u plz explain me how maintain the duplicate vaules in the vaule mapping table in ID
    FOR EX:
    VAULE FOR WRKS  VAULE FOR ACTIONCODE   GROUP
    101F010          TR_MOVEMENT             G1
    101B010          TR_MOVEMENT            —-

    I need to maintained like above in my value mapping table,but when i am entering second time same retrun value ,the vaule mapping tabel is not allowing ,
    so how can i achive this
    Regards
    upendra.v

    (0) 

Leave a Reply