Regarding Limitations in Value mapping

Hi All,
I Want to Know the Limitations in Value Mapping.
Please Let me Know .
Regards
Vamsi

Hello Vamsi
Limitations.
1. It can be a ongoing process.
for example
suppose application1 represents tax code 1 as TX1 and application2 represents tax code 1 as TAX1 and we had used value mapping in this case.
This can be a ongoing process suppose if you need to add new tax code or change the tax code.
2.suppose you have a huge number of value mapping shifting from quality to production is a pain. (i am not sure about other easy method)
3.Identification of fields for value mapping in big implementation is also difficult.
4.It consumes certain time
Regards
Ramesh P

Similar Messages

  • XSLT call Value Mapping

    Hi Folks,
    please, i need a step by step Solution for calling Value Mapping with XSLT Mapping Program.
    best regards Michael

    XSLT call Value Mapping
      Maintain the value mapping using the option available in the Integration directory. The following values should be entered for maintaining the value mapping. In the XSLT Mapping use the Java function “Valuemappingaccessor”  to read the values from the table.
    Class ValueMappingAccessor
              This class is used read the Value mapping stored in the Integration server (Java Cache). Class has a method getValueMapping. The Class is imported into the SWC Eyyy_xxxx under namespace “http://xxx.ash.com/COMMON/Common”
    Method public static String getValueMapping(String srcContext, String dstContext, String srcAgency, String srcSchema, String dstAgency, String dstSchema, String key, Map inputParam, String throwException)
    Paramters     Description
    srcContext     Source context in the Integration server (Java Cache) under which, the value is stored.
    For example, if the source values are stored using standard Value mapping table in the ID, then use source context as http://sap.com/xi/XI
    dstContext     Destination context in the Integration server (Java Cache) under which the value is stored
    For example, if the source values are stored using standard Value mapping table in the ID, then Target context as http://sap.com/xi/XI
    srcAgency     Source Agency,  a unique identifying value,  value to be used is not yet decided.
    srcSchema     Source Schema, For example this can be source field name
    key     Source field value, that is required to determine the target, In the figure 1 shown below, We need to send ‘IN’ to get ‘India’
    dstAgency     Destination Agency, a unique identifying value, value to be used is not yet decided
    dstSchema     Destination Schema, For example this can be target field name
    inputParam     Mapping transformation constants, to write the trace into the header of the message
    throwException     An indicator to throw an exception, if the value is not found in the cache. If the parameter is set to “true” or “TRUE”,   an exception is raised & message fails in the mapping step of the Pipe line.
    Returns the value, that is stored in the Value mapping context for the given parameters
    If the value mapping is maintained using Integration Directory value mapping, then we need to call the value mapping function as follows
    If  it has to be called using XSLT Mapping., then the sample code shows how to use the java class the java class “ValueMappingAccessor”.
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://www.ashok.com/idoctofile/employee" xmlns:ValueMap="java:com.xxx.yyy.ValueMappingAccessor">
        <xsl:param name="CountryCode">
            <xsl:value-of select="ns0:MT_EMPDETAILS/Country"/>
        </xsl:param>
        <xsl:param name="inputparam"/>
        <xsl:template match="/">
            <ns0:MT_EMPADDRESS xmlns:ns0="http://www.ashok.com/idoctofile/employee">
                <EmployeeNo>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/EmployeeNo"/>
                </EmployeeNo>
                <FirstName>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/FirstName"/>
                </FirstName>
                <LastName>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/LastName"/>
                </LastName>
                <Address1>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/AddressLine1"/>
                </Address1>
                <Address2>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/AddressLine2"/>
                </Address2>
                <City>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/City"/>
                </City>
                <State>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/State"/>
                </State>
                <Country>
                    <xsl:if test="function-available('ValueMap:getValueMapping')">
                        <xsl:value-of select="ValueMap:getValueMapping('http://sap.com/XI/xi', 'http://sap.com/XI/xi', 'Canonical','Country', 'KCRS', 'Country', $CountryCode, $inputparam, 'TRUE')"/>
                    </xsl:if>
                </Country>
                <ZipCode>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/Zipcode"/>
                </ZipCode>
            </ns0:MT_EMPADDRESS>
        </xsl:template>
    </xsl:stylesheet>
    If the values are maintained using Value mapping replication technique
    Edited by: Ashok Reddy Thatigutla on Feb 15, 2008 9:43 AM
    Edited by: Ashok Reddy Thatigutla on Feb 15, 2008 9:44 AM
    Edited by: Ashok Reddy Thatigutla on Feb 15, 2008 10:06 AM

  • Entering Source and Target Values in Value Mapping

    Hi,
    Is there any auomative way of entering source and target values in Value Mapping or FixValues instead of manually entering the values.
    I have around 400 values to be entered on both sides.....just thinking of an easy way to do it....
    Thanks for suggestions.
    Regards,
    Bharani

    Hi,
    Use value mapping replication
    chk this link as to what SAP docs say on value mapping replication
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    Value Mapping replication - Value Mapping replication
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    ValueMapping using the Graphical Mapping Tool
    The specified item was not found.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    Regards,
    Swathi

  • What are "value mapping tables"..

    hi friends,
    I am not getting the clear idea of value mapping tables and how it refers in cache monitoring....pls help me out...
    with regards,
    Santosh.

    Hi,
    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.
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
    There are many docs available about Value mapping in SDN forum.
    How to Perform Value Mapping – A Walkthrough
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm
    SDN Discussions
    /people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions
    SAP - XI Value Mapping : Mapping two values to a single value
    Value Mapping Issue in SAP XI
    Value mapping
    VALUE MAPPING TABLE
    Regards,
    Phani

  • Regarding Value mapping in SAP+XI

    Hi Experts,
    In vaule mapping what does throw exception in behavoir if lookup fails under Value mapping properties of ESR do? Why is it needed and how to use it.
    Thanks and regards,
    Aniruddha Bhattacharya

    > In vaule mapping what does throw exception in behavoir if lookup fails under Value mapping properties of ESR do? Why is it needed and how to use it.
    Maybe you tell us what you want to achieve and we discuss, how you could do it?

  • Regarding Value Mapping

    Hi,
    Iam doing a scenario which deals with value mapping,and there are duplicate values in destination for different sources.I have created a Group for all repeating values in destination,and i have used that name to map for different sources.But my scenario is not working as desired.What do i do?

    Hi
    You may not be using value mapping for its intended purpose. It should be used to map between different ID schemes for the same entities, such as companies, persons etc. An ID for such an entity must always be unique, or it would be of no good use. And then you cannot have duplicate target values, because you would then get an ambiguity if you were to map in the other direction.
    But sometimes you really need value mappings just in order to make something configurable rather than hard coded into a message mapping. This is when you run into this sort of problem. For example:
    Jim -> Manager
    Bob -> Employee
    Sue -> Employee
    The job title is NOT an ID, and certainly not unique. As you can see you cannot map backwards from "Employee" to a unique target value.
    I think you might be better off using the mapping lookup API. If you don't want to go this way, you could of course do a hack, such as
    Jim -> Manager_1
    Bob -> Employee_1
    Sue -> Employee_2
    and then afterwards remove the underscore + suffix.
    Regards
    Jorgen

  • Regarding  Exception handling for  Value mapping

    Hi
    We have a requirement for resending the message (using  SXMB_MONI)for Value mapping and other message mapping related errors . Is there any others way we could achieve this , Any help on this is appreciated ?
    Thanks in advance,
    Jishi

    Hi Jishi,
    I don't think that SXMB_MONI is the solution.
    If you have a mapping error this can belong to two things:
    a) either your mapping is wrong
    b) or your message is wrong.
    In case a) you have to correct your mapping
    In b) The sending system must look what happend.
    In my opinion in both cases (a & b) the process must be restartet from the source system. That's the way we do it.
    Additionally we send a information message in the exception branch to the sending system
    Regards Mario

  • Value mapping in ABAP Versus ID

    Hi Gurus,
      As Value mapping can be done using ABAP mapping and Also in Integration Directory...
    Can Any one tell me what is the exact difference Between these.....
    Regards,
    Sainath chutke

    hi,
    in my opinion there is hudge difference between using
    standard value mapping and mapping in abap mapping
    - standard value mapping is very strick and does not allow
    to have many to one mappings (which is very often the case)
    - standard value mappings offers a limited sets of actions you can perform
    to update the data (value mapping replication) which
    is not always convinient to use
    I try not to use value mappings as much as I can
    as there are many other ways (like abap mappings) to do
    simple, nice and easy to maintain value mappings
    Regards,
    Michal Krawczyk

  • Reg: Value Mapping - Recommended Max Entries/Size

    Hi,
    Just curious to know if there is any recommendation on the max number of entries stored and retrieved in a Value Maps.
    Is it suitable for storing entries in order of 5000 or 10000. Also is it effecient for retrieval from such a big Map.
    Since it is stored in Java Cache, is there any limitation on the size (Number of Entries).
    Anticipating your valuable inputs.
    Thanks,
    Sudharshan N A

    Hi
    There will be performance problem if more entries are used in Value mapping.
    Value mapping replication will be better choice for huge records.
    Regards
    Abhijit

  • 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

  • Partial match for Value Mapping in Import Manager

    Hello Experts,
    We have a import map which is used to do mass insert of data into the main table. This is done as & when required by the end user.
    We have a qualified lookup field which has a flat lookup filed as the Non-Qualifier. This flat lookup field is refering to a Lookup Flat table, which has mulitple dispay fields like Code,Name, Status etc. (14 fields in total) where as only the Code is the unique field.
    We have only the unique field in our source file which we use for the import. Since we have only a part of the display fields in the source, the automap functionality in the Value maping section doesn't work. It becomes very tedious for the user to manually map all the values for this field.
    Is there any way by which we can convert the source or target values in the import map, so that we can map the values using the Automap feature?
    Your help & suggestion for alternate approach is highly appreciated.
    Thanks in advance.
    Regards,
    Uday
    P.S. We are using SAP MDM 5.5 SP6.

    Hi Uday,
    No need to enable remote key mapping for QLT. Please execute the below steps(stated with an example) -
    1.  Among all the fields in the referenced lookup table, identify the lookup fields and the tables they are looking up .
    For eg.If you have a lookup field as 'Country' as one of the fields, look up table will be 'Countries'
    2.For the identified lookup tables, set 'key mapping =Yes' in Console.
    For eg, For Country Lookup table ,set Key mapping to 'Yes'
    3.Import values into Lookup table (Import manager)/ Remote key update -
    In import manager, select source (local file) and destination as Countries flat table.This Table will be haing 2fields - Code and description.Clone the 'Code'field and map it to Remote key field in destination hierarchy.Map code and description to equivalent destination fields. Select 'Code' as matching field > Perform import into lookup table.
    Check if the records in countries table are updated with remote keys(in Data manager> right click on a record> select 'Edit key mappings' > view key mapping for the record)
    3.Import to Qualified table/Auto value mapping -
    Now, in the import map for qualified import , map the source field and destination field (of lookup type), all the values of this field will automatically map.
    Similarly, refresh remote keys mappings for all the lookup tables first and then you can see auto mappings of values happening for the lookup fields.
    Regards,
    Vinay M.S

  • Value mapping in xslt mapping

    Hi,
    I have 2 mapping program one is main .xsl program and other one is value mapping program .xsl .
    I have zipped both the program and imported into Imported archive in IR but while testing in interface mapping i am getting error.
    error:could not compile xslt stylsheet.
    Some of the interface having one .xsl program and value mapping is also defined in the main program itself,these interface i am able to execute successfully but unable to execute wherever there are 2 program (main prog + value mapping).
    It seems that value mapping is not loading / executing.
    Can anyone please guide me how to call value mapping using xslt mapping?
    Thanks,
    Subbu

    Hi Prateek,
    Thanks for the response.
    Yes i have 2 program and both needs to execute in one interface mapping.
    First program (main) is MappingMOAPS_SAVEMULTIPLE2013.xsl and second program i.e (value mapping) MO_vmf.xsl.
    From main program itself value mapping program is called.
    Please look below code for main & value mapping prog.
    In main prog this is the parameter (<xsl:import href="MO_vmf.xslt"/>) where value mapping prog name is mentioned.
    I have already zipped and imported but while testing in interface mapping it is giving error that "could not compile xslt stylsheet".
    Could you plaese tell how to check or make XSL to accommodate multiple mappings?
    Main mapping : MappingMOAPS_SAVEMULTIPLE2013.xsl --
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    This file was generated by Altova MapForce 2008sp1
    YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
    OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
    Refer to the Altova MapForce Documentation for further details.
    http://www.altova.com/mapforce
    -->
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vmf="http://www.altova.com/MapForce/UDF/vmf" exclude-result-prefixes="vmf xs xsi xsl">
         <xsl:import href="MO_vmf.xslt"/>
         <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
         <xsl:template match="/PPR">
              <MOAPS_SAVEMULTIPLE201>
                   <IDOC>
                        <EDI_DC40>
                             <xsl:for-each select="SI_ID_IDOCS">
                                  <xsl:for-each select="ID_TABNAM">
                                       <TABNAM>
                                            <xsl:value-of select="."/>
                                       </TABNAM>
                                  </xsl:for-each>
                             </xsl:for-each>
                             <xsl:for-each select="SI_SP_SAP_PARTNER_INFO">
                                  <xsl:for-each select="SP_MANDT">
                                       <MANDT>
                                            <xsl:value-of select="."/>
                                       </MANDT>
                                  </xsl:for-each>
                             </xsl:for-each>
                             <xsl:for-each select="SI_ID_IDOCS">
                                  <xsl:for-each select="ID_DIRECT">
    Value mapping : MO_vmf.xsl:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    This file was generated by Altova MapForce 2008sp1
    YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
    OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
    Refer to the Altova MapForce Documentation for further details.
    http://www.altova.com/mapforce
    -->
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vmf="http://www.altova.com/MapForce/UDF/vmf" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs xsi xsl">
         <xsl:template name="vmf:inputtoresult">
              <xsl:param name="input"/>
              <xsl:choose>
                   <xsl:when test="$input='01'">
                        <xsl:value-of select="'PM1C'"/>
                   </xsl:when>
                   <xsl:when test="$input='02'">
                        <xsl:value-of select="'PM2C'"/>
                   </xsl:when>
                   <xsl:when test="$input='03'">
                        <xsl:value-of select="'EXT3'"/>
                   </xsl:when>
    Regards,
    Subbu

  • Value Mapping in PI 7.0

    Hi All,
    I need to implement the value mapping.
    The mapping rule for the value mapping is for varius z tables like
    ztable1
    ztable2
    ztable3
    ztable4
    ztable5
    ztable6
    ztable7
    Can you please help me in implementing the value mapping ?
    Can you please tell me the steps to umplement it?
    Thanks in advance

    How can I come to know about the Agency and Schema to implement the Value Mapping?
    Check the blog # 5479
    From the blog:
    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
    I am not getting which Value Mapping should be done for my mapping requirement,but I thibk it should be for the fixed value,but dont know whether I need to implement the Valume Mapping replication or not?
    If you give more details about your requirement then somebody may help you out on the approach.
    Regards,
    Abhishek.

  • N: 1 relationships in Value Mapping 3.0

    Hi,
    in our Value Mapping we need to process n:1 relationships between values. E.g. 2 different codes for reason-for-rejection in the sending system need to be mapped to 1 value in the receiving system.
    As we see now, and this is also mentioned somewhere in this forum, this doesn't work. Is this correct?
    As suggested in this forum one option would be to add the sending value in the receiving value and use mapping to trim the value. So e.g.
    Agency: SystemX                    Agency: SystemY
    Scheme: Augru                      Scheme: Augru
    Value                              Value
    A1                                 B
    A2                                 B
    would become
    A1                                 A1_B
    A2                                 A2_B
    Of course, this would work, but just one-way (from SystemX to SystemY). From SystemY to SystemX this would not work, since only value B is available at that time. If you apply the same logic, so implement another value, this would eventually mean:
    Agency: SystemX                    Agency: SystemY
    Scheme: Augru                      Scheme: Augru
    Value                              Value
    A1                                 A1_B
    A2                                 A2_B
    C_A1                               C_B
    D_A2                               D_B
    So you end up with a lot of values to maintain.
    Another option would be to use different Value Mapping scheme's, but this would influence the reusability of the mapping.
    Any suggestions?
    Thanks a lot!

    When you have an n:1 mapping and want to use this in both directions, you need a logic, how the values are determined, if you have several entries to choose.
    In your example:
    A1 -> B
    A2 -> B
    If you come from the other side, what value should B have?
    For the default value you could use a unique prefix (eg: 1_) and add that prefix to the value before calling the value mapping.
    Let us assume, you have maintained the table like this:
    A1 -> 1_B
    A2 -> 2_B
    A3 -> 1_C
    A4 -> 1_D
    A5 -> 2_D
    A6 -> 3_D
    so you have B ->A1, C -> A3, D -> A4
    Regards
    Stefan

  • Value Mapping in BPM

    We are using Value Mapping in XI 3.0 in the integration builder under the configuration.
    Value Mapping is not working during the transformation step in BPM. See help.sap.com under transformation step: http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Does anybody have a solution for executing the value mapping in this case.
    Thanks in advance,
    Glenn van Kamperdijk

    Dear Stefan,
    What if you do want to use value mapping in a ccBPM? What values should be entered at:
    Source Values For Agency?
    and
    Target Values For Agency?
    Best regards,
    Roelof Jan

Maybe you are looking for

  • Is there an adapter that allows youto use ethernet cables in hotels?

    I travel for work and don't want to use wireless in countries such as Nigeria.  Is there an adapter that will allow me to use the ethernet cable in my hotel room for the ipad2?

  • Problems with ical server

    Hello! I beg your pardon for my english (i am russian) Please help me with setting up ical server I use magic triangle with Active directory and Open directory, and when I go to my page and click on Calendar I get an error "Unable to access calendar,

  • To enable Axis adapter framework

    Hi All , We are going to use Axis adapter framework in AAR PI landscape(X6* track). As we understood, this is SAP provided by default with PI but there are some more additional JARs need to be installed to enable this functionality. Do we need downti

  • SAPGUI - is it possible to change the default Theme?

    Hello, Currently, the default is the "Enjoy" theme with the "Complementary" colour setting. Is it possible to change either of these defaults? We have to change the default theme for all users without them having to change it themselves. We are using

  • AE + Earthlink + 2 laptops = :),  + AX = :(

    We had Earthlink DSL, with a Netopia PPPoE DSL modem, two powerbooks, and an Extreme base station. This enabled both computers to connect at the same time to the internet wirelessly (DHCP), and worked fine except for the poor range across all of our