Value Mapping , values need to from R/3

Hi all,
I need to do Value Mapping, Need to get data from R/3 and pupulate in Vale mapping Table in PI,
do i need to do come coding in R/3 in Java or ABAP to fetch data
casue i have done the same away in some Blog
Where service interface is ValueMappingReplicationOutSynchronous and ValueMappingReplicationSynchronous
and in he interface detrmination i have give the Service interface ValueMappingReplicationSynchronous since i dfont have any
Mapping predefined for it
but i am getting a error
Error while sending by HTTP (error code: 404 , error text: Not Found) (See attachment HTMLError for details)
please hellp me in this
Should i need to write an Java or ABAP code to fetch data
and why is this error
Thanking you
Sridhar

Actaully i tried to post a messgae from the RWB ,
i didnt do any ABAP coding nothing iABAP side , just did the ESR and Intgratio bulider side
i njsut posted this message
<ns1:ValueMappingReplication xmlns:ns1="http://sap.com/xi/XI/System" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
<Item>
<Operation>Insert</Operation>
<GroupID>fe9ffaa0494211dea47b001e372d2d65</GroupID>
<Context>http://sap.com/xi/XI</Context>
<Identifier scheme="TESTVALMAP"
agency="UXD">TESTVALUEMAPPING</Identifier>
</Item>
</ns1:ValueMappingReplication>
it was giving me success message when tested  Using testing tool in Intergation Builder
But while testing in RWB the is not able to send it is giving his
Error
Error while sending by HTTP (error code: 404 , error text: Not Found) (See attachment HTMLError for details)

Similar Messages

  • Value Mapping values..question

    i have been through the value Mapping documentation, and we are trying to analyze a message Map where there are value maps, However we are not able to find the value maps maintained in ID when i select the tools --> value mapping and specify the context, agency and schema for the source values and agency and schema for target values...
    Where is this table maintained, where can we view the values in it...?
    Do we need any additional permissions to view this table.
    When we test it the values dont show up in message mapping tests, however they do show up at runtime as they should..we need to edit and add some values to this table but are unable to find it...
    Preetha

    > i have been through the value Mapping documentation, and we are trying to analyze a message Map where there are value maps, However we are not able to find the value maps maintained in ID when i select the tools --> value mapping and specify the context, agency and schema for the source values and agency and schema for target values...
    >
    > Where is this table maintained, where can we view the values in it...?
    In ID under tools --> value mapping you need to create the value mapping groups and there specify the values.
    >
    > Do we need any additional permissions to view this table.
    No.
    > When we test it the values dont show up in message mapping tests, however they do show up at runtime as they should..we need to edit and add some values to this table but are unable to find it...
    You can see the value only at RunTime and not while testing in test tab in message mapping. Go to ID open your value mapping group and there you can edit or add new entrie.
    Regards,
    Sarvesh

  • Value mapping values to be reflected dynamically

    Hi All,
       I have a scenario where R3 entries should be reflected in value mapping dynamically for a particluar field .
    Can anyone explain wht does the component SAP BASIS 7.00(NS- http://sap.com/xi/XI/System,MI -ValueMappingReplication) has the role. by generating a java proxy & deploying the jar file in visual admin helps, after this proceeding with abap mapping to retrieve the value from r3 dynamically using this MI.
    Correct me if Iam wrong?
    I have to schedule this evry week such tht  new entries should get populated dynamically form r3 in abap mapping.
    Appreciate if anyone has inputs.
    Regards
    Chaithanya

    Hi All,
    I am facing a problem while processing the message(value mapping values not been reflected in cache monitoring) .
    Iam getting the below error "INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK"
    SAP:AdditionalText><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  404 &nbsp Not Found</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  The requested resource does not exist.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>  Go to <A HREF="/MessagingSystem" target="_parent">main page</A> of this application!</pre></font></td> </tr> </body>
    I  have created abap report to fetch the entries from t005 table , I am getting the entries in a internal table but these entries are not reflected in cache monitoring.
    Can anyone suggest me if you have gone through this error?
    Appreciate your inputs
    Regards
    Chaithanya

  • Value Mapping -- Help needed.

    Hi experts,
    I have a scenario ,
    I have 2 fields in my source structure and based on these two fields,i need to fetch 8 field values from a table to map into idoc control record.
    The table might be in SAP or in Legacy
    If it is a Ztable in SAP, how can I achieve this?
    If it is in Legacay , how can I achieve this?
    My client told us to do this through Value mapping?
    Please help me in acheiving this.
    Thanks in advance.
    Regards
    Krupa.

    Hi,
    Use the RFC Lookup API to call an RFC from the mapping and get the values from the Table in the R3 system . Look into this document by Michal to understand RFC lookup,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    Else, use value mapping as shown in this blog,
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    Regards
    Bhavesh

  • Need halp Value Mapping failure

    Morning,
    i have an urgent request and don´t know why it´s not working ???
    I have a simple mapping.
    E1EDKA1-PARTN -> Value Mapping -> E1EDKA1-PARTN
    Value Mapping Value:
    4901 to xxxx
    It´s a very simple one and in the xi test environment it works but in REAL it´s not working.
    Only the source Value of 4901 will be filled in the destination field PARTN.
    In the Trace i cant find the following information:
    Key mapping from System=CCS_xxxxxxx namespace=newInterfaceFunction objtype= key=4901 to System=CSC_yyyyyy namespace= objtype= key=null has not been performed
    Any ideas ?
    Thank You,
    Gordon

    Hi Gordon,
    Yes, I'd try to activate your changes using the icon with the green arrow.
    If it still does not work, there might be connection problems. Here's a copy of the XI documentation to help you for further investigations:
    <i>You can request another cache update, if required. To do so, choose Repeat Cache Update for Instance ().
    The Problems tab page displays information about problems during the cache update.
    Cache notifications and cache updates can fail for many reasons. You can test the cache connectivity. in the Runtime Workbench. For more information, see SAP Note 780747.</i>
    Best regards
    Joachim

  • 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

  • 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 using XSLT mapping

    Hello All,
    We have change requirement of storing some xsl Key-Value in SAP PI and on run time existing XSLT mapping need to look that values and in target structure map the value as per source key value.
    For this requirement i am going with value mapping that will call from  XSLT mapping and created a test scenario before actual changes in XSLT mapping
    I have created table in ID.
    But unfortunately  i am getting below error :
    Transformer Configuration Exception occurred when loading XSLT Test_Mapping.xsl; details: Could not load stylesheet.com.sap.engine.lib.xsl.xpath.XPathException: Prefix not mapped: ValueMap -> java.lang.Exception: XMLParser: Prefix 'ValueMap' is not mapped to a namespace
    Below is my XSLT mapping code :
    <?xml version='1.0' encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="urn:kesko.fi.XSLTTest" xmlns:ns1="urn:kesko.fi.XSLTTest">
    <xsl:template match="/">
      <xsl:param name="Dept_ID">
      <xsl:value-of select="ns0:MT_EmpDet_S/ID"/>
      </xsl:param>
      <xsl:param name="inputparam"/>
      <ns1:MT_EDet_R>
      <Name>
       <xsl:value-of select="ns0:MT_EmpDet_S/Name"/>
      </Name>
      <Department>
       <xsl:if test="function-available('ValueMap:getValueMapping')">
         <xsl:value-of select="ValueMap:getValueMapping('http://sap.com/XI/xi', 'http://sap.com/XI/xi', 'S','S1', 'T', 'T1', $Dept_ID, $inputparam,'TRUE')"/>
       </xsl:if>
      </Department>
      <PersonalInfo>
        <xsl:value-of select="concat(ns0:MT_EmpDet_S/Add, ns0:MT_EmpDet_S/SAL)"/>
      </PersonalInfo>
      </ns1:MT_EDet_R>
      </xsl:template>
    </xsl:stylesheet>
    Thanks,
    Anant

    Thanks again.
    But after adding the namespace  I am still getting error.
    Can you please extend your help so that i can proceed further.
    Please check below code that i tried to execute :
    1st :
    <?xml version='1.0' encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ValueMap="com.sap.aii.mapping.value.api.XIVMService"
    xmlns:ns0="urn:kesko.fi.XSLTTest" xmlns:ns1="urn:kesko.fi.XSLTTest">
    <xsl:template match="/">
      <xsl:param name="Dept_ID">
      <xsl:value-of select="ns0:MT_EmpDet_S/ID"/>
      </xsl:param>
      <xsl:param name="inputparam"/>
      <ns1:MT_EDet_R>
      <Name>
       <xsl:value-of select="ns0:MT_EmpDet_S/Name"/>
      </Name>
      <Department>
       <xsl:if test="function-available('ValueMap:getValueMapping')">
         <xsl:value-of select="ValueMap:getValueMapping('http://sap.com/XI/xi', 'http://sap.com/XI/xi', 'S','S1', 'T', 'T1', $Dept_ID, $inputparam,'TRUE')"/>
       </xsl:if>
      </Department>
      <PersonalInfo>
        <xsl:value-of select="concat(ns0:MT_EmpDet_S/Add, ns0:MT_EmpDet_S/SAL)"/>
      </PersonalInfo>
      </ns1:MT_EDet_R>
      </xsl:template>
    </xsl:stylesheet>
    2nd :
    <?xml version='1.0' encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ValueMap="com.sap.aii.mapping.value.api.XIVMService"
    xmlns:ns0="urn:kesko.fi.XSLTTest" xmlns:ns1="urn:kesko.fi.XSLTTest">
    <xsl:template match="/">
      <xsl:param name="Dept_ID">
      <xsl:value-of select="ns0:MT_EmpDet_S/ID"/>
      </xsl:param>
      <xsl:param name="inputparam"/>
      <ns1:MT_EDet_R>
      <Name>
       <xsl:value-of select="ns0:MT_EmpDet_S/Name"/>
      </Name>
      <Department>
         <xsl:value-of select="ValueMap:executeMapping('S','S1',$Dept_ID,'T','T1')"/>
      </Department>
      <PersonalInfo>
        <xsl:value-of select="concat(ns0:MT_EmpDet_S/Add, ns0:MT_EmpDet_S/SAL)"/>
      </PersonalInfo>
      </ns1:MT_EDet_R>
      </xsl:template>
    </xsl:stylesheet>
    for above both the cases messages are failing in MONI.
    Thanks in advance.
    Anant

  • Planning system value mapping does not work (planingsys)

    Hello,
    When sending a Material from R3 to SBO one of the materials fails with this error:
    DI Error -1004 : (-1004) '' is not a valid value for field 'PlaningSys'. The valid values are: 'M' - 'MRP', 'N' - 'None' =| (End of appended Exceptions)
    I immediatly set a value mapping for Planning System ( '' -> 'N' ) but the same error still occurs (i also tried with '' -> 'M' ).
    Can anybody help ?
    Thanks,
    Fabrice.

    I finally found a solution
    The value mapping that needs to be done was:
    'PD' -> 'bop_MRP'
    the value '' in the error is wrong: the value was 'PD' and the mapping has to be done with the SBO SDK variable name.
    Bye.
    Message was edited by:
            Fabrice NANNI

  • 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

  • Export/Import the mapping value used in Value Mapping Function

    I used value mapping function, so I defined some mapping data at Integration Directory. now I need migration from development xi to production xi, so How to export the data I input at development xi and later import it? or anyone could provide other solution for replacing value mapping function?
    Hope from your helps
    Thanks
    Spring
    Message was edited by: Spring Tang
    Message was edited by: Spring Tang
    Message was edited by: Spring Tang

    Hi Spring Tang,
      You can export your mapping object in .mte format.
      For this press ctrl+shift and right click in the
      mapping editor. Then go to tools and export the same.
      Similarly you can import the mapping object.
      Hope this will solve your problem.
      Thanks and Regards
      Vishal Kumar

  • JPR - Access Value Mapping

    Hi,
    How can I access a value mapping defined in ID from a Java Server Proxy?
    I've tried to that with the following code:
    import com.sap.aii.mapping.value.api.*;
    public class MIGetDocsIn_PortTypeImpl extends com.sap.aii.proxy.xiruntime.core.AbstractProxy implements MIGetDocsIn_PortType {
    public DTGetDocsResponse_Type mIGetDocsIn(DTGetDocsRequest_Type mTGetDocsRequest)
    throws com.sap.aii.proxy.xiruntime.core.SystemFaultException, com.sap.aii.proxy.xiruntime.core.ApplicationFaultException{
    String senderAgency = "Source";
    String senderScheme = "Source1";
    String receiverAgency = "Target";
    String receiverScheme = "Target1";
    IFIdentifier src = XIVMFactory.newIdentifier(senderAgency, senderScheme);
    IFIdentifier dst = XIVMFactory.newIdentifier(receiverAgency , receiverScheme);
    try {
    String res = XIVMService.executeMapping(src, dst, "var1");
    } catch (ValueMappingException e) {}
    Do I need to add package com.sap.aii.mapping.value.api in application-j2ee-engine.xml?? What is the reference target for that package?
    Thanks,
    Pedro Leal

    Hi,
    It seems is not possible to access value mapping in java proxy.
    Alternatively can someone give me some advices about the best to way to read configuration parameters in a java proxy server scenario?
    Properties file is a solution. Is there any other way to achieve similar functionality?
    Thanks,
    Pedro Leal

  • Value Mapping  and Lookups

    Hi all,
    I know something about Value Mapping.
    And I heard that the Lookups (DB and RFC) are types of Value Mapping.
    I am confused how value mapping is related to lookups.
    Request you all to provide me some information regd.this.
    Thank you.
    Regards
    Krishna.

    Hi,
    All the links above are quite useful in understanding Value Mapping and RFC lookups.
    Both solutions could be used for getting values from R3 tables at runtime. However, there's difference in way both operate.
    RFC lookup is performed at runtime, since it is executed from the UDF in message mapping. Thus at runtime, call is made to R3 table and value is fetched.
    In value mapping replication, Value Mapping program is run from SAP R3 and values from table are updated in XI Runtime Cache. Thus at runtime, while performing message mapping, call to R3 system is not made. Values are available in XI cache.
    Thus, it is quite obvious that Value Mapping is more performace efficient since it doesn't make a call to SAP R3 system for each incoming message. If the table data does not change very frequently(since for every change value mapping scenario has to be run for update of XI cache), and it is not very large, then it is a good option as compared to RFC lookup.
    However, in cases where either data is frequently changing in table or the volume of data is too large, RFC lookup should be prefered choice.
    Hope it would be helpful.
    Thanks,
    Bhavish
    Kindly award points if comments are useful

  • Value mapping.

    hi
    sdn experts,
    could you please explain about value mapping?
    where the value mapping is used?
    thanks in advance.

    Hi Chinna Rao,
    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
    Go thru this thread which talks about value mapping:
    Value mapping
    Value mapping : 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.
    we have two types ,
    And Value mapping is used to map different representations of an object to each other.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    You can do value mapping both in IR and ID
    IR: Message Mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    ID: Tools --> Value Mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
    Value mapping replication: For uploading data from tables, excel sheet etc. into XI
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Thanks,
    Ram
    *Pls reward if you find useful

  • No value mapping in Integration Directory, but they are in the cache

    Hi,
    I recently got acquainted with the fabulous world of value mappings in PI. Until now, FixValues did the trick for me, but now I have to modify the errors in someone else's work.
    I read this article:
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5&overridelayout=true
    and a bunch of other help.sap.com stuff and I still don't get a very specific thing in our system. When I check the cache from the runtime workbench, the values, agencies and what have you are all ok. However, when I go to Integration Directory, disregarding the fact that I don't have any values on the search helps for Agency and Scheme, which is quite weird, when I put the correct Agencies and Schemes, I don't get any value displayed, just blanks.
    Why does this happen? Is it something wrong in the PI configuration or something that I don't see any value mapping there, altough they are in the cache?
    Thanks in advance and best regards,
    George

    Hi ,
    1. Create Value Mapping directly in ID (this cannot be seen in RWB, it can be only seen in ID)  
        *Just a corection we can see the value mappings created in Integration directory in RWB in cache monitoring.*
    Just follow these steps to refresh your cache. you will no longer be able to see deleted Val mappings and newly created entries will also shown immediately.
    1) Go to integration builder -- > Administration  --> click on Runtime tab --> cache overview
    You will find 2 things over there :
    Value Mapping Group Cache
    Value Mapping Value Cache
    Refresh both of them. I hope it will work as it always work for me :).
    Thanks
    Inder

Maybe you are looking for

  • Connection betwine ERP and SAP BW

    Hi. I create connection from SAP BW to ERP, everything is ok, I can raplicate data source from ERP. But where i tray to upload datas from ERP to PSA I can't. SAP BW can't take datas from ERP.

  • Cursor seems to stick on Hand Icon, CS5

    I am a professional retoucher and have been using Photoshop since it's earliest days, (I pre-ordered CS5 as I have to be more up to date than any of my clients) I also bought a brand new Mac to run it on, as top spec as I could find. Sometimes during

  • Adobe won't accept my System Admin Password for an installation, what to do?

    Adobe won't accept my System Admin Password for an installation, what to do?  This password has been used for years and years and has never failed.  Something in the communication to Adobe for an installation (Bridge CC) failed but they offer no sugg

  • How to see an imported FLV file on the timeline

    I have a feeling this is a really basic question, but I am pretty new to Flash. I've imported an FLV file. This file is a slideshow of photographs with a Ken Burns effect already applied. I was hoping that I would be able to see the video frames on a

  • Cache data in Web Services

    Hi! I need to create a Web Service that can cache data in between multiple Web Service calls. If I'm not misstaken then stateful sessions keep data but still separate clients from each other. I need all clients to be able to access the same synchroni