In the Value Mapping Table n:1 relations is not allowed???

I'm using Value Mapping but if I try to fill the Value Mapping Table with 2 different source values (e.g AA, BB) and the same one as target (e.g. ZZ) the Integration Builder does not allow it.
I receive the message:
"Rappresentation already exists.
  BB | ZZ
  AA | ZZ
Do you want to delete it from the existing group and assign it to the current group instead?
Any idea?
Sergio
Message was edited by: Sergio Ferrari

Hi Sergio,
I think it does allow you to have n:1 relations. The error you are getting is because the mapping already exists in another group. You can try to display it to see which group the mapping belongs to.
Nevertheless, since it exists, you do not to enter it again. You are able to use it in your mapping program anyway.
Regards,
Hart

Similar Messages

  • Import conversion data table from SAP R/3 into value mapping table in XI

    Hi:
        Somebody knows how to import a table with conversion data that are in SAP R/3 and to take it to a value mapping table in XI?
        The purpose is to use a mapping table that can change in the future. Must I use a ABAP programming that retrieve data and build the value mapping table?
        If so, how I specify in the ABAP programming the group id, the scheme, the agency and the corresponding value?
        Please, help me.
        Regards!!!

    Hi David,
    please refer to this section in the help: http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    There is an interface for mass replication of mapping data. The steps you need to carry out to use this are:
    +Activities
    To implement a value-mapping replication scenario, proceed as follows:
           1.      Register the Java (inbound) proxies.
    To do so, call the following URLs in the following order in your Internet browser:
    ¡        http://:/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplication&method=valueMappingReplication (for the asynchronous replication scenario)
    ¡ http://:/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplicationSynchronous&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous&method=valueMappingReplicationSynchronous (for the synchronous replication scenario)
    You only need to perform this step once (for each installation).
           2.      Application programming
    The ABAP program must perform the following tasks:
    ¡        Read the value mapping data from the external table
    ¡        Call the outbound proxy used to transfer the data to a message, which is then sent to the Integration Server
           3.      Configuration of the replication scenario in the Integration Directory
    This involves creating all the configuration objects you need to execute the scenario successfully. One special aspect of the value-mapping replication scenario is that the receiver is predefined (it must be on the Integration Server). The sender, however, is not predefined in the replication scenario and can be defined to meet your individual requirements.
    For example, you can use the shipped ABAP proxies.
    In the case of the receiver communication channel, choose the adapter type XI. Ensure that you configure a channel for the Java proxy receiver in this case.
    Enter the path prefix /MessagingSystem/receive/JPR/XI for this purpose.
    +
    Regards
    Christine

  • How can i access value mapping table using xslt mapping

    Hi All,
    I have maintained value mapping table in integration directory.I want to access the data from the value mapping table in XSLT mapping using java function.PLease suggest me to do this.
    Thanks
    Pullarao.

    Value mapping that thread should solve your query !!!

  • Issue with Value Mapping table

    Hi
    I want to upload a external value mapping table to XI.
    I do not want to code for it on the SAP R/3 side. and there might be more than 2000 value mappings. so can we upload a external mapping table.
    Is it possible?? if yes, then how??.
    Thanks
    Nikhil

    XI 3.0
    Hi,
    first of all one helpful information:
    You can see all data of the value mapping tables using the
    runtime workbench: Go to the IntegrationBuilder->
    Integration Monitoring->Cache Monitoring, select 'Search
    for Value-Mapping' and choose your context.
    The value mapping tables are located in the J2EE part of
    XI. You have to send your value mapping data to an Java proxy
    located in the J2EE part. First, the inbound proxies
    (synchronous and asynchronous) need to be activated.
    There are two urls, named in the docu, you have to call
    from a web browser:
    (asynchronous replication scenario)
    http://<Server>:<Port>/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplicationSynchronous&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous&method=valueMappingReplicationSynchronous
    (synchronous replication scenario)
    http://<Server>:<Port>/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplication&method=valueMappingReplication
    You only need to perform this step once (for each
    installation).
    If you already have a sender for the mapping data, the
    next step is to configure the scenario in the directory
    Create a communication channel with
    Adapter type: XI
    Transport protocol: HTTP 1.0
    Message-Protocol: XI 3.0
    Adapter-Engine: Integration Server
    and host name and http port of the XI J2EE Engine and Path Prefix: /MessagingSystem/receive/JPR/XI
    The user XIAPPLUSER has the required permissions.
    For an asynchronous communication you can use the
    inbound interface ValueMappingReplication from the namespace http://sap.com/xi/XI/System.
    In that namespace there are also outbound interfaces you
    can use to generate a sender proxy and synchronous
    interfaces for the same purpose. Set the created communication channel as the receiver channel.
    You may need a mapping and so on depending on your
    sender. If you use the provided outbound interfaces there
    is no mapping required.
    The Data:
    You can create your own GUIDs using some function like GUID_CREATE in ABAP. You don't need to declare the context you use. Something like http://mycompany.com/Test should be ok.
    A sample in ABAP:
    CRM and R3 are the names of the business systems.
    data: lcl_value_mapping type ref to co_svmr_value_mapping_rep,
            ls_value_mappings type svmr_value_mapping_replication,
            ls_item type svmr_value_mapping_rep_item,
            lcl_system_fault type ref to cx_ai_system_fault.
      ls_item-operation = 'Insert'.
      ls_item-group_id = '315286378563858425463215845123548'.
      ls_item-context = 'http://Test'.
      ls_item-identifier-scheme = 'FormOfAddress'.
      ls_item-identifier-agency = 'CRM'.  <- Business System A
      ls_item-identifier-value = '2'.
      append ls_item to ls_value_mappings-value_mapping_replication-item.
      ls_item-operation = 'Insert'.
    Use the same guid for another value of the same group
      ls_item-group_id = '315286378563858425463215845123548'.
      ls_item-context = 'http://Test'.
      ls_item-identifier-scheme = 'FormOfAddress'.
      ls_item-identifier-agency = 'R3'. <- Business System B
      ls_item-identifier-value = '1'.
      append ls_item to ls_value_mappings-value_mapping_replication-item.
      create object lcl_value_mapping.
      try.
          call method lcl_value_mapping->execute_asynchronous
            exporting
              output = ls_value_mappings.
          commit work.
        catch cx_ai_system_fault into lcl_system_fault.
          write: 'Error: ', lcl_system_fault->errortext.
      endtry.
    See the XI documentation at SAP XI Design and Configuration Time -> Configuration -> Value Mapping -> Value mapping Replication for Mass Data.
    Hope that helps.
    Regards,
    Christian

  • Modify entries of Value mapping table  fromValue mapping replication

    Hi,
    I have successful uploaded value mapping table from external source(SAP Table) using value mapping replication. The entries are displayed in the cache monitoring.
    Now what should i do,if i have to modify the entries in the value mapping table.I tried uploading the new entries using the same GUID, Agency, Schema.... but now both the previously uploaded and the new entries are dispalyed in Cache monitoring.
    But i want only the new entries to get reflected in the value mapping table. So kindly request anyone to help.
    Regards,
    Anup

    Hi Anup,
    To know more about the value mapping tools for the SAP Exchange Infrastructure (XI), please go thru the following link:
    http://www.applicon.dk/fileadmin/filer/XI_Tools/ValueMappingTool.pdf
    To get an idea as to what value mapping is, please go thru the following links:
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/dfae3d47afd652e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    most of the links that I have provided also helps you get the step by step procedure of doing the same. And also involves the procedure to implement certain advanced features.
    Regards,
    abhy

  • Read Value mapping table (java chace)

    Hi,
    I've updated the value mapping table in java cache via teh replication method. now for some reasons i need to read the values stored before i update the cache in a program. any idea on how to read the data stored in value mapping cache?

    Hi Prabhu,
    I donu2019t recall all the details, but after researching this before I came to the conclusion that the XI Value Mapping cache should only be used as a cache and not used as the master where item level maintenance is performed.  I believe it mainly involved the fact that there is no Update operation.  You need to delete first then re-create.  However, itu2019s easy to introduce duplicate items if you donu2019t use all the right values for the delete.
    So, I added the DeleteContext operation as the first item in the ValueMappingReplication  xml.  In this way the entire Context is deleted and re-created every time.  We can then be sure the cache is always in-sync with our source, which we maintain in Excel.
    <?xml version="1.0" encoding="utf-8"?>
    <ns:ValueMappingReplication xmlns:ns="http://sap.com/xi/XI/System">
      <Item>
        <Operation>DeleteContext</Operation>
        <Context>urn:company-com:valuemap:test</Context>
      </Item>
      <Item>
        <Operation>Insert</Operation>
        <GroupID>c7941e905e9711dfc8c5001a4b0631cb</GroupID>
        <Context>urn:company-com:valuemap:test</Context>
        <Identifier scheme="Alpha" agency="Alpha">A</Identifier>
      </Item>
      <Item>
        <Operation>Insert</Operation>
        <GroupID>c7941e905e9711dfc8c5001a4b0631cb</GroupID>
        <Context>urn:company-com:valuemap:test</Context>
        <Identifier scheme="Alpha" agency="AlphaPos">1</Identifier>
      </Item>
       u2026 etc u2026
    -Russ

  • Lookup value mapping table through message mapping.

    Hello All,
    I am working on a graphical mapping (message mapping). When trying to map the source message to the target message, I need to find out it a particular <b>key</b> exists in the <b>value mapping table</b>. Depending on the result, I need to map different source fields to the target field.
    Is there any inbuilt function which will allow me to do a lookup on a value mapping table, or is it possible to lookup a value mapping table from a UDF?
    Please help!
    Warm Regards,
    Keerti

    Hi,
    Please see the below links for Value mapping ..
    Value mapping /people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions
    Value mapping in XSLT /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    Value Mapping replication - /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Also see
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    Regards
    Pradeep N

  • How create a Value Mapping Table in XI 3.0?

    Hi:
        I wish make a single sample scenario where receiving data must be converted according to convertion table:
      01 -
           Legacy A | Legacy B  -
    M
                 Male:              01     |    M
                 Female:            02     |    F
    And I don´t know how build it. Must I create anything in Integration Repository? (any special message mapping or function?).
    Anyone know about weblog where explain step by step for "value mapping group" and "value mapping tables" creation?
    Help me please.
    Regards!!
    David.

    Hi David,
    You can create value mapping tables in Integration Directory.
    First you have to create Value mapping group using menu Object>new>Value mapping Group
    to Display value mapping you have to use Tools--> Value mapping.
    Also refer to following link on help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
    In IR Graphical mapping tool, use the standard function Conversions-->Value mapping.
    Hope this helps.
    Rgds,
    Sam Raju
    Message was edited by: Sam Raju
    Message was edited by: Sam Raju

  • How to insert bulk values in value mapping table at a time.

    Hi all,
    I hv one issue in value mapping i.e,
    I hv some bulk data in MS- Excel, i am unable to copy all the date from ecel to value mapping table.
    SO, How can i insert bulk values in my value mapping table at a time.
    plz, help me in this asap.
    Regards,
    Mahesh

    hai mahesh check the below links,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f42d490-0201-0010-6d98-b18a00b57551
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/83086a1d-0e01-0010-2797-f1ce7f8f562d
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Accessing ID Value Mapping table in XSLT

    Hi Experts,
    In the XSLT mapping,I would like to access my value mapping table which i defined in ID .The purpose of ID value mapping here is, the table entries will be changing in future and i don want to use fix values, XML table  which is defined in runtime.
    I have gone through the blog
    /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    which explians design value mapping table in XSLT.
    Is there any way to access Configuration Value Mapping table in XSLT? If yes, can you explain how should i achieve it ?

    Hi,
    you can use the xivmService to call ID val map tables.
    Use tha java function executeMapping, Its a standard SAP api.
    Declare the Service in XSLT at start
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:vm="com.sap.aii.mapping.value.api.XIVMService" version="1.0"> 
    Call the val mapping table using below template wherever required.
    <xsl:template name="ValueMapping">
    <xsl:param name="SenderParam"/>
    <xsl:value-of select="vm:executeMapping( 'SenderType', 'SenderTypeSchema', $SenderParam, 'receiverType', ReceiverTypeSchema')"/>
    </xsl:template>
    Call template like :
    <xsl:call-template name="ValueMapping">
    <xsl:with-param name="SenderParam">
    try it and let me know if you have any doubt.
    regards
    Inder
    Edited by: Kulwinder Grewal on Aug 12, 2009 11:36 PM

  • How to put identical target value in value mapping table

    Hi all ,
             I am implementing a value mapping function .Problem is occuring for repetated target value.for ex: if key is GL001 GL002 GL003  and destination value is 4 5 4 then its creating problem for identical values i.e for  both GL001 & GLOO3 its not accepting 4 .Same manner for many diffrent glncode i have  identical values.not understanding how to deal with these identical values please guide me as its very urgent.
    Regards,
    Saurabh

    Hi saurabh,
    you can try this out....
    First you create a value mapping table in ID like:
    AWSYS   GLNCODE
    GLOO1     10
    GLOO2     20
    (without GLOO3).
    now in your message mapping do the following mapping:
                              Contant[GLOO1]
                                   |
                                   |(then)
    AWSYS-------------> equals---->if----------------->Value Mapping---->GLNCODE
                        |          |(else)
                        |          |
    Constant[GLOO3]-----|        AWSYS
    **Reward points if helpful...
    --Sankar Choudhury

  • Create multiple idoc with multiple receivers based on value mapping table

    Hi,
    Scenario: 
    Step1 : sender sends a finance doc iin the form of an idoc. This idoc will have multiple line items based on profit center. Do determine the value of receiving comp code(header field) n receiving system(logical sys name) value mapping table has to be used.
    Solution so far: I can put an rfc lookup for fetching receiving comp code from mapping table with i/p paraameter as profit center . And split the incoming idoc based on comp code value by using split by value. Now I need your advise 2 take this further.
    Issue 1 : say the incoming idoc has 4  line seg wid 4 diff profit center
    Profit center.       Rec comp code.   Recv sys
    P1.                       C1.                        R1
    P2.                       C2.                        R1
    PS.                       C2.                        R1
    P3.                       C3.                        R2
    Nw using this info, I want 3 diff idocs to be created for each unique comp code.
    Idoc 1 : for C1 wid one line item + 1 for reconsilation ( to be generated additionally)
    Idoc2 : for C2 wid 2 line items + 1 for reconsilation
    Idoc 3: for C3 wid 1 line item + 1 for reconsilation
    Idoc 1 and idoc 2 shud be sent to R1.
    Idoc 3 shud be sent to R2.
    Kindly advise on this

    Hi experts,
    U all r pretty close, but let me put this more clearly.
    Step1: create multiple idocs based on unique comp code - I'm able to do this using rfc lookup n split by value. So I get 3 idocs each for c1, c2 n c3.
    Nw as per the values from value mapping table.
    Idoc for c1 contains 1 line seg.
    Idoc for c2 contains 2 line segs.
    N idoc for c3 contains 1 line seg.
    steps2 n 3,  where I do not have a confirmed solution yet n need ur advise.
    Step 2 : for each idoc generated I need 2 create n additional segment, mapping 4 which will be based on the values in the original segments for that idoc.
    In d above scenario, idoc for c1 contains 1 line seg, nw I want 2 add one more seg to it. The amount and pisting key values in this segment wud be calculated based on the values of the amount and posting key belonging to the original segment in this idoc.
    Similarly for idoc for c2 there are 2 segs, nw I need one more, means 3 in allm
    Hence for idoc for c3, 1 orig already present + 1 more. = total 2.
    Nw I need ur advise on how 2 generate this additional seg in each idocm
    Step 3: when all dese 3 idocs are generated, ( in this case itz 3, in real time it can be n), I need to find their respective receivers using rfc lookup n then based on the receiver send 2 resp recvng systm
    Nw how do I do this?
    Please explain with examples if possible 4 bettr understanding.
    u2020ђąu03B7kўu03C3u03C5 in advance.

  • How to access value mapping table in xi ?

    Hi All,
    i want to load all value mapping table data from XI to a excel sheet. how can i do it ?could anyone provide java code needed for it ?

    Hello
    Maybe you could extract it via the Integration Directory Webservice Programming Interface...
    Check this link:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/6dca42e5c269dfe10000000a11466f/frameset.htm
    There is a section for Valuemappings there. Apparently it would be a matter of calling the corresponding webservice with the GUID of the valuemapping and it returns the data.
    Good luck and please tell us if it works!
    -Sam.

  • Mass data update in Value mapping table

    Hi ,
      I have used Value mapping replication to update the mass data from external source to Value mapping table . Its updatating in Runtime Cache but i want the data to be visible in GUI Value mapping table as well. Is it possible ? Because i doubt that the data in Runtime Cache may get  removed if the system restarts . Can any one help ?
    Thanks
    Laks

    Hi NALLAM GUNA RANJAN,
      Thanks for your prompt reply but i didn't get what you are trying to convey . My issue here is
    Instead of manually entering key-value pair in Value mapping table , I used Value mapping replication ( http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm )
    Its updating the data in Runtime Cache ( you can see this using Cache Monitoring )  but not able to view the data in Actual Value mapping Table (GUI in Directory of SAPXI) I want the data updated using Replication to be visible in GUI table is it possible ?
    Hope you got the question much better now
    Thanks
    Laks

  • Value Mapping Table - XI MDM Design Question

    Hi All,
    I have a scenario as :
    When XI receives data from a sender system,before sending data to receiver system (in this case MDM),XI is supposed to check some fields in MDM and depending on the result XI should decide whether to send the records or not.
    Now,in this case I have two options:
    1.After recieving data from sender system ,from XI mapping call a webservice(webservice is supposed to go to MDM and check the fields and give the result),then depending on the result XI will decide whether to send or not.
    2.After receving data from sender system,from XI mapping access a value look table in XI from a UDF and then check the result,then depending on the result XI will decide whether to send or not.
    I have pointed out some glitches for every option:
    1.First considering volume of XI source message( approx. 800 records per message),then MDM database records (approx 40000 or 50000).Hence once XI receives message XI will have to go to MDM for every record and every time it will search among 40000 MDM records using webservice.
    This will effect performance as for every record webservice will be called and again it might face connection problems.
    2.In this option XI will have to store all the 40000 records from MDM in the value lookup table.Again,how to synch up this value lookup table with MDM database?
    This table has to be a copy of MDM database which changes everyday.
    Is it ok to store around 40000 records in XI's value lookup table?
    Considering above points can you please help me to find out optimum solution?
    Thanks,
    Shweta.

    >>Is it ok to store around 40000 records in XI's value lookup table?
    its advised to use value mapping for static values,not for dynamic values,since you will have changes everyday you should not use Value mapping here.
    now coming to your first approach,why not copy this table from MDM to XI(i know XI is not the owner of data,but if its an internal MDM server,you should be able to do it),once the table is copied in XI itself,you can simply use ABAP mapping to create the receiver structure.
    the above approach looks good to me as long as the MDM guys don't have any problem with XI storing the data as well and you sync up the table between XI and MDM periodically
    Thanx
    Aamir

Maybe you are looking for

  • How do i take my credit card detail of my apple information?

    i have been trying to take my credit card details of for quite some time now as when i try to update my apps on my phone e.g facebook update and snapchat update it just wont let me update them it keeps on saying that my credit card method has been de

  • Numbers of days issue

    Hi experts, I have an issue getting the numbers of days of the month. Here's my scenario: - Number of days of the month is a KF (averdage) whitin the cube and it is calculated in the transformation - It has the number of day of the month for each day

  • Process flow For Transportation

    Hi: I would really appreciate if You could send me process flow from delivery creation to freight cost settlement in SAp. I want to understand how it works in SAP. Is freight PO generated for each shipping document? Is it manual or automatic process.

  • IDOC type for Article Master : IS Retail

    Hi all, I am new to ALE/ IDOC and working in a scenario to create article master in SAP from third party application. The client is using IS Retail system with ECC 6.0. Can you please suggest what IDOC type to be used. The IDOC will be sent to SAP sy

  • Dynamic Sapscript page content

    Hi Experts, I'm currently developing a Sapscript form where it should have dynamic content. i have the header of the form and the body. if the body is short, it can be be placed on the first page of the form. if the body is long and goes off the firs