ValueMappingReplication in PI 7.1

Hello - We are on PI 71 and
I am trying to create the Value mapping in RWB -
>Cache Monitoring  by uploading  a CSV file from the local PI server  which has the value mapping information.
I have configured this scenario and when the CSV file was picked up there was no error in SXMB_MONI and i have success flag.  And also my payload has entries correct.
Everything  is going well and I am very close to getting these entries into my cache, I guess.  But I have this below error, when I went to RWB-Message Monitoring->Adapter Engine ---> Database ---> 
2010-08-17 18:09:49     Error     JPR could not process the message. Reason: Cannot locate proxy bean ValueMappingApplication.*
*2010-08-17 18:09:49     Error     Delivering the message to the application using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: Cannot locate proxy bean ValueMappingApplication.*
I also registered my interface at this below link.
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
Also, I have my technical system defined as WEB AS JAVA associated to my Business system also. Not sure what else to check and how to figure this out.  I have searched the SDN but couldn't get the solution.
Please help.
Thanks,
Sekhar

Stefan - Continuation to my previous message My audit log is showing the message size for 3 records as below. Size 810 of 2 files.  I just tried with 3 records and i still have the same error.
2010-08-25 21:08:30     Information     Channel CC_ValueMapping_File_Sender: Converted complete file content to XML format.
2010-08-25 21:08:30     Information     Send text file  "/ZSAPFLR/PI_XRef/A_ValueMapping_WM_BUOM.CSV", size 810, encoding UTF-8with QoS EO.
2010-08-25 21:08:30     Information     MP: entering1
2010-08-25 21:08:30     Information     MP: processing local module localejbs/CallSapAdapter
2010-08-25 21:08:30     Information     The application tries to send an XI message asynchronously using connection File_http://sap.com/xi/XI/System.
2010-08-25 21:08:30     Information     Trying to put the message into the send queue.
2010-08-25 21:08:30     Information     Message successfully put into the queue.
2010-08-25 21:08:30     Information     The application sent the message asynchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
2010-08-25 21:08:30     Information     MP: leaving
2010-08-25 21:08:30     Information     The message was successfully retrieved from the send queue.
2010-08-25 21:08:30     Information     File "/ZSAPFLR/PI_XRef/A_ValueMapping_WM_BUOM.CSV" archived after processing.
2010-08-25 21:08:30     Information     The message status was set to DLNG.
2010-08-25 21:08:31     Information     The message was successfully transmitted to endpoint http://system:58100/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.
2010-08-25 21:08:31     Information     The message status was set to DLVD.
2010-08-25 21:08:35     Information     The message was successfully received by the messaging system. Protocol: XI URL: http://system:58100/MessagingSystem/receive/JPR/XI Credential (User): PIAPPLUSER
2010-08-25 21:08:35     Information     Processing child message of multi-message with message Id 4c755be0-490b-62f2-e100-8000c0a864ca.
2010-08-25 21:08:35     Information     Using connection JPR. Trying to put the message into the receive queue.
2010-08-25 21:08:35     Information     Message successfully put into the queue.
2010-08-25 21:08:35     Information     The message was successfully retrieved from the receive queue.
2010-08-25 21:08:35     Information     The message status was set to DLNG.
010-08-25 21:08:35     Information     Java Proxy Runtime (JPR) accepted the message.
2010-08-25 21:08:35     Information     Calling Invoke Method
2010-08-25 21:08:36     Information     Back after executing Invoke Method
2010-08-25 21:08:36     Information     JPR successfully processed the message.
2010-08-25 21:08:36     Information     The message was successfully delivered to the application using connection JPR.
2010-08-25 21:08:36     Information     The message status was set to DLVD.
2010-08-25 21:08:36     Error     Delivering the message to the application using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.services.ts.transaction.TxRollbackException: Current transaction is marked for rollback.
2010-08-25 21:08:36     Information     The message status was set to WAIT.
2010-08-25 21:08:36     Information     The asynchronous message was successfully scheduled to be delivered at Wed Aug 25 21:13:36 GMT 2010.
2010-08-25 21:08:36     Information     The asynchronous message was successfully scheduled to be delivered at Wed Aug 25 21:13:36 GMT 2010.
2010-08-25 21:13:37     Information     The message status was set to TBDL.
Let me know if you need any more info.
Thanks,
Sekhar

Similar Messages

  • ValueMappingReplication

    HI
    Please check this thread ,may help you.
    Error in XI: INTERNAL.SYSTEM_NOT_CONFIGURED_AS_XMB System not c

    Hi
    I created a program to execute the RFC.
    When I go to MessagingSystem I see the following error for the call I executed:
    XI_J2EE_MESSAGING_SYSTEM
    CALL_CONSUMER_ERROR
    and
    Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.ConnectException: Connection refused: connect.
    Transmitting the message using connection http://<host>:8090/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.ConnectException: Connection refused: connect.
    Best Regards
    ROn

  • 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

  • Value Mapping Insert Error

    Hi
    I am sendind an item value mapping from R3 to XI and I get this error:
    <ns:ValueMappingReplicationFault xmlns:ns="http://sap.com/xi/XI/System">
    - <standard>
      <faultText>A value is missing for content of Identifier in item 0.</faultText>
    - <faultDetail>
      <text />
      <id>7</id>
      </faultDetail>
      </standard>
    - <addition>
      <ItemNr>0</ItemNr>
    - <Item>
      <Operation>Insert</Operation>
      <GroupID>037dd9b01a3111da8abef522ac127968</GroupID>
      <Context>http://sap.com/xi/XI</Context>
      <Identifier scheme="BS_PEPE" agency="Company" />
      </Item>
      </addition>
      </ns:ValueMappingReplicationFault>
    The code in R3 is this one
    REPORT  Z_XI_REPLICATE_VALUE_MAPPING.
    data: My_ZCO_MI_CONSULTA_SERIAL type ref to
                    CO_SVMR_VALUE_MAPPING_REP_SYNC,
          in type SVMR_VALUE_MAPPING_REP_RESP,
          out type SVMR_VALUE_MAPPING_REPLICATION,
          vIdentifier type SVMR_VALUE_MAPPING_IDENTIFIER,
          vItem type SVMR_VALUE_MAPPING_REP_ITEM,
          vItemLst type SVMR_VALUE_MAPPING_REP_TAB,
          vList type SVMR_VALUE_MAPPING_REP_LIST,
          lo_sys_exception   TYPE REF TO cx_ai_system_fault.
    try.
        create object My_ZCO_MI_CONSULTA_SERIAL.
        vIdentifier-scheme = 'BS_PEPE'.
        vIdentifier-agency = 'Company'.
        vIdentifier-value = '122'.
        vItem-Group_id = '037dd9b01a3111da8abef522ac127968'.
        vItem-operation = 'Insert'.
        vItem-context = 'http://sap.com/xi/XI'.
        vItem-Identifier = vIdentifier.
        append vItem to vItemLst.
        vList-item = vItemLst.
        out-VALUE_MAPPING_REPLICATION = vList.
        call method My_ZCO_MI_CONSULTA_SERIAL->EXECUTE_SYNCHRONOUS
          EXPORTING
            output = out
          IMPORTING
            input  = in.
      CATCH cx_ai_system_fault INTO lo_sys_exception.
        write: /'Error Text   --> ',lo_sys_exception->errortext.
        write: /'Error Code   --> ',lo_sys_exception->code.
        exit.
    ENDTRY.
    write: /'ESN_STATUS --> ',in-STATUS.
    The message sent to XI and I see in the sxmb_moni in R3 is this one
    <?xml version="1.0" encoding="utf-8" ?>
    - <nr1:ValueMappingReplication xmlns:nr1="http://sap.com/xi/XI/System">
    - <Item>
      <Operation>Insert</Operation>
      <GroupID>037dd9b01a3111da8abef522ac127968</GroupID>
      <Context>http://sap.com/xi/XI</Context>
      <Identifier scheme="BS_PEPE" agency="Company">122</Identifier>
      </Item>
      </nr1:ValueMappingReplication>
    When I try to delete a Group it works but not when I want to insert an individual item.
    What am I doing wrong?
    Thanks
    Regards

    Hi
    There is a field call CONTROLLER with this structure:
    FIELD     FIELDNAME     CHAR     30     0     Field Name
    VALUE     PRX_CONTR     CHAR     1     0     Field Control in XML Data Stream (=> Type Group SAI)
    But in SAP documentacion does not say any references to this field and how to fill them.
    I am asbolute sure I filled all the mandatory fields.
    Thanks
    Regards

  • Accessing values during runtime in value mapping

    Hi all,
    We have a specific requirement , where in we have a set of fields coming from the source system. All the fields have values expect few. The few which don't have values are reserved for future use, and for each source field there is a corresponding target value and we need map them.
    We have used value mapping here, but it doesn't work for fields which don't have values.
    We have thought of  accessing the fields which do not have values, dynamically or at runtime by connecting the database of the source system.
    Is it possible to do this, if yes, please provide with your inputs and alternatives.
    thanks,
    younus

    Go through this:
    http://help.sap.com/saphelp_nw70/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
    <b>To implement Value Mapping, following activities have to be performed:</b>
    <b>1.</b> Register Java Proxies. This is one time activity for each installation. Following URL has to be called for registering asynchronous 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
    <b>2.</b> Application Programming: ABAP program has to be written to perform following tasks:
    <b>a.</b> Read Value Mapping data from table.
    <b>b.</b> Call Outbound Proxy to push the data into a message to Integration Server.
    <b>3.</b> Configuration of Replication scenario in Integration Directory.
    Regards,
    Sarvesh

  • Error in Value Mapping Replication scenario

    Hello all,
    We have developed the scenario to upload the mass data to VMR and which is actually working as expected in Dev environment,
    But it is not working in quality after transport.
    Also we have regeister the service in JAVA proxy but still facing the issue.
    The message is failing in adapter enigne with status system error with the below error  :
    09.05.2014 10:39:36.435
    Information
    Trying to retry the message because of administrative action of user
    "XVEREKAN".
    09.05.2014 10:39:36.437
    Information
    Admin
    action: Trying to redeliver message.
    09.05.2014 10:39:36.456
    Information
    The
    message status was set to TBDL.
    09.05.2014 10:39:36.465
    Information
    Retrying
    to deliver message to the application. Retry: 4
    09.05.2014 10:39:36.465
    Information
    The
    message was successfully retrieved from the receive queue.
    09.05.2014 10:39:36.472
    Information
    The
    message status was set to DLNG.
    09.05.2014 10:39:36.498
    Information
    Java
    Proxy Runtime (JPR) accepted the message.
    09.05.2014 10:39:36.896
    Error
    JPR
    could not process the message. Reason: No such method ValueMappingReplication in
    proxy bean
    localejbs/sap.com/com.sap.xi.services/ValueMappingApplication.
    09.05.2014 10:39:36.897
    Error
    Delivering the message to the application using connection JPR failed,
    due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    Error processing inbound message. Exception: No such method
    ValueMappingReplication in proxy bean
    localejbs/sap.com/com.sap.xi.services/ValueMappingApplication.
    09.05.2014 10:39:36.905
    Error
    The
    message status was set to NDLV.
    Can some one please help on this ?
    Thanks.

    Hi Amit,
    I tried that also but the same error :
    Delivering the message to the application using
    connection JPR failed, due to:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error
    processing inbound message. Exception: No such method ValueMappingReplication in
    proxy bean localejbs/sap.com/com.sap.xi.services/ValueMappingApplication.
    De-Register the interface using the link :
    http://server:port/ProxyServer/unregister?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplication&method=ValueMappingReplication
    Register :
    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
    Result
    Interface http://sap.com/xi/XI/System#ValueMappingReplication registered with
    value
    localejbs/sap.com/com.sap.xi.services/ValueMappingApplication:ValueMappingReplication
    My Final Payload after mapping
    <?xml version="1.0" encoding="UTF-8"
    ?>
    - <ns1:ValueMappingReplication xmlns:ns1="http://sap.com/xi/XI/System">
    - <Item>
    <Operation>Insert</Operation>
    <GroupID>31322371194085293873227252571012</GroupID>
    <Context>http://sap.com/xi/XI</Context>
    <Identifier scheme="Source1" agency="Excel">786123test</Identifier>
      </Item>
    </ns1:ValueMappingReplication>
    Thanks,
    Anant

  • Error in Value Mapping Replication

    Hi
    I am trying to upload a flat file  to value mapping table using the standard interface given by SAP. I am getting the error ' HTTP_RESP_STATUS_CODE_NOT_OK' in message monitoring.
    I have already registered the interface on the proxy and is successful and created adapter on reciever side for java proxy as stated in the documentaion. on the reciever side I craeted a business service as reciever of interface 'ValueMappingReplication' and communication channel that I created for java proxy input.
    Any thing I am missing ? Any help willl be appriciated.
    Thanx & regards
    Vinod ahir

    Check if you have trailing spaces in the communication channel. If so, remove them.
    Check the port number of the URL which leads to the Java Proxy. It has to be the J2EE port.
    Regards
    Stefan

  • Cache not updated on Value Mapping Replication  PI 7.1

    Hi,
    I already configure an scenario to do Value Mapping Replication on PI 7.1
    I am sending the xml file thru an HTTP client and it seems to go all the way down. I have a "Processed Successfully" status in the moni but the thing is that I can not see any difference in the Cache at the RWB.
    My receiver agreement uses the ValueMappingReplication interface to a CC of type XI.
    Any ideas on what could be wrong?
    Thanks in advance.
    Luis

    Hi  Udo,
    Your reply pointed me to the right direction.
    In the RWB I found out that my group-id was in the wrong format, so to be sure, I used a function module called /OSP/GET_GUID.  That way I generate a correct 32-bit group-id.
    Now it works.
    Thanks.
    Luis.

  • Value Mapping replication issue

    Hi  PI Experts,
    I am working on the Value mapping replication scenario using Z-table created in R/3 system.
    I have configured the value mapping Replication Out Abap proxy.
    I am getting the following error :
    Audit Log for Message: 4d404b41-39e4-0083-e100-80008b3557e6
    Time Stamp Type Description
    2011-01-27 07:56:19 Information The message was successfully received by the messaging system. Protocol: XI URL: http://gendevhrcx51.unix.appliarmony.net:54000/MessagingSystem/receive/JPR/XI Credential (User): PIAPPLUSER
    2011-01-27 07:56:19 Information Using connection JPR. Trying to put the message into the receive queue.
    2011-01-27 07:56:19 Information Message successfully put into the queue.
    2011-01-27 07:56:19 Information The message was successfully retrieved from the receive queue.
    2011-01-27 07:56:19 Information The message status was set to DLNG.
    2011-01-27 07:56:19 Information Java Proxy Runtime (JPR) accepted the message.
    2011-01-27 07:56:19 Error JPR could not process the message. Reason: Cannot locate proxy bean ValueMappingApplication.
    2011-01-27 07:56:19 Error Delivering the message to the application using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: Cannot locate proxy bean ValueMappingApplication.
    2011-01-27 07:56:19 Information The message status was set to WAIT.
    2011-01-27 07:56:19 Information The asynchronous message was successfully scheduled to be delivered at Thu Jan 27 08:01:19 CET 2011.
    I have followed the threads :
    1) /people/udo.martens/blog/2009/04/03/value-mapping-replication-scenario
    2) ValueMappingReplication in PI 7.1 
    3) How to Perform Value Mapping u2013 A Walkthrough ->  Sarath Chandra Kandadai
    which had similar issue but could not make any headway.
    Questions :
    1) Are there any specific PIAPPLUSER authorizations required ,I have configured the CC as per the 3rd thread.
    2) There is an issue with SLD access when I look at the JPR monitoring,could be the possible reason.
      SLD access SLD host:port = gendevhrcx51:54000
    Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for DHX.SystemHome.gendevhrcx51 found
    No access to get JPR configuration
    I have refered to the Note : 809420 and asked the basis team to look into this.
    I am running out of ideas ,request you guys to help on this issue.
    Thanks
    -Alok

    Hi Alok,
    i have similar error. Here the error:
    30.12.2013 20:40:17.789
    Information
    Java Proxy Runtime (JPR) accepted the message.
    30.12.2013 20:40:17.871
    Error
    JPR could not process the message. Reason: No remote bean found for reference of class com.sun.proxy.$Proxy352.
    30.12.2013 20:40:17.876
    Error
    Delivering the message to the application using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: No remote bean found for reference of class com.sun.proxy.$Proxy352.
    30.12.2013 20:40:17.911
    Information
    The asynchronous message was successfully scheduled to be delivered at Mon Dec 30 20:45:17 CET 2013.
    I have registered the inbound interfaces:
    http://sap.com/xi/XI/System#ValueMappingReplication = localejbs/sap.com/com.sap.xi.services/ValueMappingApplication:valueMappingReplication
    http://sap.com/xi/XI/System#ValueMappingReplicationSynchronous = localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous:valueMappingReplicationSynchronous
    2 interfaces found
    But somehow the bean is not found and gave me the error :
    JPR could not process the message. Reason: No remote bean found for reference of class com.sun.proxy.$Proxy352.
    Can you tell me in detail what you have done to resolve the problem? I send the test data from soapui using the outbound interface ValueMappingReplicationOut provided by the content in SAP BASIS 7.11.
    Thanks,
    Ly-Na

  • 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

  • ABAP program and FB for value mapping replication

    Hi,
    we are using a 40B system and I want to use the value mapping replication in XI. To refill the data into the XI database I must write an ABAP and a function module to transfer the data out of R/3 into XI (via RFC). Has anybody an example how the program (and the FB) must look like? i.e I want to read table mvke and extract the materialnumber and the prodhierarchy.
    Thanks and best regards
    Arnold

    Hi Arnold,
    First you need a table type with a structure like follows:
    operation
    groupid
    context
    identifier
    agency
    scheme
    (corresponding to the Interface ValueMappingReplication)
    All used data elements should have type string or charXX
    for example: operation - char10, groupid - char32, rest - char120
    Next you create a function module with attribute 'remote-enabled module'.
    The import parameter is your new table structure.
    Next you create an ABAP program. Here an example:
    report z_value_mapping .
    tables mvke.
    data:
    p_value_mapping type zvalue_mapping,
    p_value_mapping_table type zvalue_mapping_table.
    p_value_mapping-operation = 'Insert'.
    p_value_mapping-context = 'http://xi.com/Material'.
    select * from mvke where matnr between '170' and '501'.
    check not mvke-prodh is initial.
    * Create a value mapping group to join two entries.
    * use a unique 32 digit number.
    concatenate '00000000000000' mvke-prodh into p_value_mapping-groupid.
    translate p_value_mapping-groupid using ' 0'.
    * Store the mapping source as first entry to the group
    p_value_mapping-identifier = mvke-matnr.
    p_value_mapping-agency = 'SenderAgency'.
    p_value_mapping-scheme = 'MATNR'.
    append p_value_mapping to p_value_mapping_table.
    * Store the mapping target as second entry to the group
    p_value_mapping-identifier = mvke-prodh.
    p_value_mapping-agency = 'ReceiverAgency'.
    p_value_mapping-scheme = 'PRODH'.
    append p_value_mapping to p_value_mapping_table.
    endselect.
    * Push data to XI
    call function 'Z_VALUE_MAPPING' in background task
      destination 'IS_XID'
      exporting
        value_mapping       = p_value_mapping_table.
        commit work.
    Import the RFC to the Integration Builder, create a mapping between your RFC and the interface ValueMappingReplication.
    Check this Blog for additional steps:
    /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Choose names for context, agency and scheme which are useful your scenario.
    Regards
    Stefan

  • Error while calling the java proxy with the ValueMapping repl scenario

    Hi All
    I am trying to upload values in the RWB for vaue mapping using the standard ValueMappingReplication interface . But I can see the following message in the Message Display Tool of the RWB .This scenario was working fine sometime back suddenly after some days we started to see this exception .
    JPR could not process the message. Reason: No such method valueMappingReplication (for the asynchronous replication scenario) in proxy bean localejbs/sap.com/com.sap.xi.services/ValueMappingApplication
    Delivery of the message to the application using connection JPR failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: No such method valueMappingReplication (for the asynchronous replication scenario) in proxy bean localejbs/sap.com/com.sap.xi.services/ValueMappingApplication: com.sap.aii.proxy.xiruntime.core.XmlInboundException: No such method valueMappingReplication (for the asynchronous replication scenario) in proxy bean localejbs/sap.com/com.sap.xi.services/ValueMappingApplication.
    Can anyone please guide me what could be the done to resolve this .
    Thanks.

    This may happen when the java proxy is not registered. Use the following URL to do so
    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
    Regards,
    Prateek

  • Value Mapping Replication Inbound Structure

    Hi All,
    I am using Value Mapping Replication to upload Value Mapping Table in runtime cache, to do this first i create value mapping manually in ID with source and target.
    Source:Agency : ValCustomerNo_B
    Schema : ValB
    Value : xxx
    Target:Agency : ValCustomerNo_J
    Schema : ValJ
    Value : yyy
    Now try to upload 1800 record in the same value mapping table through Value Mapping Replication. Inbound structure looks like this.
    <?xml version="1.0"?>
    <ns1:ValueMappingReplication>
         <Item>
              <Operation>Insert</Operation>
              <GroupID>f16372c043bd11dea79f001558c985eb</GroupID>
              <Context> http://sap.com/xi/XI</Context>
              <Identifier scheme=" ValB" agency="ValCustomerNo_B">3DASDIG</Identifier>
         </Item>
         <Item>
              <Operation>Insert</Operation>
              <GroupID>f16372c043bd11dea79f001558c985eb</GroupID>
              <Context>http://sap.com/xi/XI</Context>
              <Identifier scheme="ValJ" agency="ValCustomerNo_J">1960452622</Identifier>
         </Item>
         <Item>
              <Operation> Insert </Operation>
              <GroupID>f16372c043bd11dea79f001558c985eb</GroupID>
              <Context>http://sap.com/xi/XI</Context>
              <Identifier scheme=" ValB " agency="ValCustomerNo_B">4CAHRJTN</Identifier>
         </Item>
         <Item>
              <Operation>Insert</Operation>
              <GroupID>f16372c043bd11dea79f001558c985eb</GroupID>
              <Context>http://sap.com/xi/XI</Context>
              <Identifier scheme="ValJ" agency=" ValCustomerNo_J">1960457894</Identifier>
         </Item>
    I do not know is this xml structure is correct for XI adapter to create correct rows in value mapping table or not?
    At runtime value mapping function in graphical mapping, for manually create record in Value mapping table is coming correctly where in case VM replication record it always map to one arbitrary number.
    Even when I look into runtime cache notification, manually created record comes in pair like..
    Agency : ValCustomerNo_B | Schema : ValB | Value : xxx | Group ID | Context
    Agency : ValCustomerNo_J  | Schema : ValJ  | Value : yyy | Group ID | Context
    Where as record for VM Replication comes in sequence first all ValB and then ValJ, they are not in pair
    Agency : ValCustomerNo_B | Schema : ValB | Value : xxx | Group ID | Context
    Agency : ValCustomerNo_B | Schema : ValB | Value : ppp | Group ID | Context
    u2026u2026.
    Agency : ValCustomerNo_J  | Schema : ValJ  | Value : yyy | Group ID | Context
    Agency : ValCustomerNo_J  | Schema : ValJ  | Value : aaa | Group ID | Context
    I suspect inbound xml structure is not correct for VM replication.
    With Regards
    Sunil
    Edited by: Sunil Pandey on May 18, 2009 7:40 PM

    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5  that should clear a lot of doubts

  • Value Mapping Replication

    Hi,
    I'm having issue in value mapping replication and seeking help to fix it....following is my config in place:
    1. Created java out proxy and registered it
    http://host:port/ProxyServer/register?
    ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.se
    rvices/ValueMappingApplication&method=valueMappingReplication
    2. Configurations in place in ID
    3. Activated the Outbound ABAP proxy and triggered the call from report program
    No errors reported from the client abap proxy, yet, when checked in RWB i'm unable to view the VM table in cache monitoring....not sure where the error is.
    Is it required to register the JAR file as generated during the step# 1 in J2EE visual Admin? else is there something I overlooked?

    > No errors reported from the client abap proxy, yet, when checked in RWB i'm unable to view the VM table in cache monitoring....not sure where the error is.
    Check monitoring for adapter framework for errors.

  • Value Mapping Tables are not updated in RWB cache

    Hi Friends,
    I am doing value mapping replication from SAP.
    I am following
    /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    1)
    I didnt changed ABAP proxy of ValueMappingReplicationOut in SAP system.
    is anything to... its already in Active state
    2)I used ABAP report to call proxy in SAP system.
    while debugging ,I come to know that values are populating in the structure svmr_value_mapping_replication in proxy.
    3) activated Java inbound proxy (async).I got respose like
    Interface http://sap.com/xi/XI/System#ValueMappingReplication registered with value localejbs/sap.com/com.sap.xi.services/ValueMappingApplication:valueMappingReplication
    4) No message Mapping .because sender and receive using same message type ValueMappingReplication in http://sap.com/xi/XI/System of SAP BASIS 7.00.
    4) I didnt done Sender agreement because of sender is SAP here.
    6) In receiver communication channel i follwed help.sap.com
    i used PIAPPLUSER
    7)
    but I am not getting values in RWB Cache.
    8) i didnt find any message in sxmb_moni
    8) I did cashe refresh and CPA cache refresh too..
    correct me please..
    suggest the relevent
    regards
    Ram

    Hi Sarvesh,
    Thanks for your responses.
    Now RWB ValueMapping Table is updating.
    I tried my luck with Single row of Target and Source values.
    I am lucky.
    Now I tried my luck more than One row..But I am not getting values the way I required.
    Please have a look in below screenshot from RWB.
    [http://www.imagehosting.com/show.php/1735277_ValueMapping.jpg.html]
    I am getting the first Taget value for all Target avlues.
    In Details Tab,It is showing all the values of source and target values.
    In my observation,It should show only one source value details.[http://www.imagehosting.com/show.php/1735286_Valuemapping1.Jpg.html]
    Please guide me.
    Is ther any necessary to change Abap report logic.
    my abap logic look like this.
    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 = '315286378563858425463215845123544'.
    ls_item-context = 'http://Test'.
    ls_item-identifier-scheme = 'OTDVendor'.
    ls_item-identifier-agency = 'OTD'.
    ls_item-identifier-value = '111'.
    append ls_item to ls_value_mappings-value_mapping_replication-item.
    ls_item-operation = 'Insert'.
    ls_item-group_id = '315286378563858425463215845123544'.
    ls_item-context = 'http://Test'.
    ls_item-identifier-scheme = 'SAPVendor'.
    ls_item-identifier-agency = 'SAP'.
    ls_item-identifier-value = 'XXX'.
    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 and wait.
    if sy-subrc = 0.
    WRITE : 'Value Mapping Executed and Values sent to XI system'.endif.
    catch cx_ai_system_fault into lcl_system_fault.
    write: 'Error: ', lcl_system_fault->errortext.
    endtry.
    clear ls_value_mappings-value_mapping_replication-item[].
    ls_item-operation = 'Insert'.
    ls_item-group_id = '315286378563858425463215845123544'.
    ls_item-context = 'http://Test'.
    ls_item-identifier-scheme = 'OTDVendor'.
    ls_item-identifier-agency = 'OTD'.
    ls_item-identifier-value = '222'.
    append ls_item to ls_value_mappings-value_mapping_replication-item.
    ls_item-operation = 'Insert'.
    ls_item-group_id = '315286378563858425463215845123544'.
    ls_item-context = 'http://Test'.
    ls_item-identifier-scheme = 'SAPVendor'.
    ls_item-identifier-agency = 'SAP'.
    ls_item-identifier-value = 'YYY'.
    append ls_item to ls_value_mappings-value_mapping_replication-item.
    try.
    call method lcl_value_mapping->execute_asynchronous
    exporting
    output = ls_value_mappings.
    commit work and wait.
    if sy-subrc = 0.
    WRITE : 'Value Mapping Executed and Values sent to XI system'.endif.
    catch cx_ai_system_fault into lcl_system_fault.
    write: 'Error: ', lcl_system_fault->errortext.
    endtry.
    Regards
    Ram

Maybe you are looking for

  • How can I show photos from aperture via airplay?

    We try to show the photos via airplay to apple TV. now does that work?

  • How to use video in a slide show

    I've created slideshows in iPhoto and incorperated a mizture of photos and videos. I've now made one using Aperture but the video does not play - it just shows the first frame. The video will play if I select it alone in the browser. Any suggestions.

  • Organizing my ipod music as it is organized on my hard drive

    i have a large music colection on my coputer, i have it well organized with folders and subfolders. meaning i have genaras as folders and in thoes folders i have variouse artists. id like to know if there is any way to put al this music in the same o

  • BB 9220 unable to use browser to bbm8 link

    Hi All - Question - Various users have suggested to go to www.blackberry.com/bbm or www.blackberry.com/messenger to download latest version of BBM. But from my device 9220 which is on the latest OS version (7.1.0.907 (2494), it takes me to the BBM7 d

  • MRP types and procedures

    Hi people! I am new to this forum. We are implementing SAP in our company now and I am responsible mainly for MRP. I need to determine main features of SAP MRP types. Unfortunately I found my SAP manuals and SAP help too vague. I want to create a kin