Error - 403 - Value mapping replication - not authorized

Hello Experts,
I tried to implement the value mapping replication in PI 7.1as per the below article.
"http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e07dd2ae-f783-2c10-9aa6-ca69f67dd20f"
As given in the article i have configured everything in Integration Directory.
I have tried the same thing but getting the following error in "call adapter step" after sending the XML from soap client.
"<b>  You are not authorized to view the requested resource.</b>"
I am able to find 2 error messages in SXMB_MONI.
i think this is an issue with user details in XI channels.
Please let me know what is the issue,user we have to give in XI receiver channel andwhat ROLE one should have to test the scenario.
Many thanks.
Regards,
Harish

Hi Hareesh,
Can you try to use the RFC/ communication user in the communication channel and try?
Please check the authentication type also, check if you will require non-sap type or sap type.
Thanks,
Hetal

Similar Messages

  • 401 - Unauthorized error in Value Mapping Replication scenario

    Hi,
    I'm trying to push some Value Mapping replication data from one of the clients (which is a non-Integration Server) of XI system to IS. When I execute the program which calls the outbound proxy, the XI message fails with the error HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorised.
    As given in SAP help, I registered the inbound java proxies and generated the outbound proxies. I confiured the receiver channel with path /MessagingSystem/receive/JPR/XI. In authentication data, I tried several users such as XISUPER, XIAPPLUSER, XIISUSER..Still I get the same error.
    What is missing/wrong?
    Thanks in advance
    Praveen Sirupa

    Hi Praveen,
    Could you pls do the following...just for verification....
    enter the url http://<was_server>:5<sysnr>00/MessagingSystem/receive/JPR/XI
    and when it asks for authentication give the XIAPPLUSER and password...you should get an xml that looks like this...
      <?xml version="1.0" encoding="UTF-8" ?>
    - <scenario>
      <scenname>MSG_SCEN</scenname>
      <scentype>SERV</scentype>
      <sceninst>MSG_001</sceninst>
      <scenversion>001</scenversion>
    - <component>
      <compname>SERVLET</compname>
      <compdesc>Messaging System</compdesc>
      <comphost>localhost</comphost>
      <compinst>MSG_001</compinst>
    - <message>
      <messalert>OKAY</messalert>
      <messseverity>100</messseverity>
      <messarea>QR</messarea>
      <messnumber>801</messnumber>
      <messparameter>na</messparameter>
      <messtext>MessagingServlet is active.</messtext>
      </message>
      </component>
      </scenario>
    Thanks,
    Renjith

  • 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

  • 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

  • Value Mapping Replication - Issue - Authorization Error

    Hi all,
    I am trying to do value mapping replication of the data from a table in ECC system using an outbound proxy on ECC and ASync Inbound interface  on XI - valuemappingreplication.
    Steps followed:
    1. Created Table Stucture and did write a report to extract the data from the table in ECC to send the data through Outbound proxy.
    2.Followed this blog - Value Mapping replication
    When tried to execute the scenario after all the steps in the above blog, we have an error in sxmb_moni saying that the authentication failed. I used pisuper, pidiruser in the receiver communication channel
    3.Generated a Java Proxy for the valuemappingreplication interface.
    4.Tried to deploy the .jar from the above step using SDM, I was not able to deploy it.
    reg
    Edited by: naveen chitluri on Jul 16, 2008 12:55 PM

    All,
    For the value mapping replication,
    I have tried to send the message to URL directly for RWB, Test Message in the Component Monitoring http://server:50400/MessagingSystem/receive/JPR/XI.
    I am getting an error saying that:
    Delivery of the message to the application using connection JPR failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Interface urn:flatfile:to:flatfile#MI_EMP_FILE_ASYNC_OUT not registered: com.sap.aii.proxy.xiruntime.core.XmlRecoverableException: Interface urn:flatfile:to:flatfile#MI_EMP_FILE_ASYNC_OUT not registered
    Can anyone throw some light on this.
    reg

  • 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 : Error  Category: XIServer

    Hi All,
    I'm doing a value mapping replication. Have configured the interface proxy-pi (Async) and the message is transferred to pi with no issues but in pi the message is logged with the following error as in payload:
    >Error while receiving by HTTP (error code: 200, error text: Error Parsing Response. No XI Response Received
    Link to payload > [http://www.esnips.com/web/SAPIssues ]
    tried various cases yet the issue remains the same. any helpful tip on this?
    thanks
    Prabhu

    Error in RWB: To be  delivered
    Error in moni: Payload as posted in the thread (refer link)
    Error in SMQ2: User column:XIISUSER statustext column: Command to tRFC/qRFC: Execute LUW again

  • 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

  • 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 Replication - no method ValueMappingReplicationOutSynchronou

    Hi There,
    When i am trying to implement value mapping replication i a getting the below error.
    ""com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: No such method ValueMappingReplicationOutSynchronous in proxy bean localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous""
    I am using  "ValueMappingReplicationOutSychronous" as my oubtbound and "ValueMappingReplicationOutSychronous" as my inbound interfaces.
    We dont need to change anything other than server and port in the below URL to register right.?
    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
    Please note that i have tried multiple combinations in the above URLCas it gave the error after replacing only server and port.
    Let me what went wrong..
    Please help me out..
    Regards
    Harish

    Hi.
    First check if your interface is already registered,
    http://server:port/ProxyServer/listAll
    then unregister all
    http://server:port/ProxyServer/unregisterAll
    then register again..
    there is another options.
    Requests to (un)register beans for interfaces (requires security role xi_jpr_register_bindings):
    /register Example: /register?[ns=myNamespace&]interface=myInterface&bean=myBean&method=myMethod
    /unregister Example: /unregister?[ns=myNamespace&]interface=myInterface[&bean=myBean&method=myMethod]
    /unregisterAll 
    Requests to list registered beans (requires security role xi_jpr_list_bindings):
    /list Example: /list?[ns=myNamespace&]interface=myInterface
    /listAll 
    Request to test the Java Proxy Runtime (requires security role xi_jpr_admin):
    /jprselftest (also requires a configuration in the Integration Directory)

  • Value Mapping Replication Vs RFC Lookup API Usage Pros and Cons

    Hi Ananth,
       Looking at the options you have, Value Mapping Replication might be a better option, because, by going the second route, you are just trying to simulate how a Value mapping replication works in reality.
    But, when the VMR framework is readily available, why do we need to simulate it by using Java code?
    Moreover, the java code approach will be triggered as many times and the number of messages that are triggered VS the number of times the VMR tables in the Java Runtime gets updated only when there is an entry that is added/modified in the SAP side (Which i feel is less frequent than the frequency of the messages being sent through XI).
    Regards,
    Ravi Kanth Talagana

    Hi,
    There are more issues you need to consider here:
    1) Is this static data or will it change often (the lookup data);
    2) Wether it is a good approach to keep it in middle system? if so who takes the ownership of managing it i.e. update, delete etc from time to time
    3) The tables don't seem small to me for value mapping
    I am not a big expert but i am off the opinion going RFC way as it will keep loose-coupling in place.
    However your issue for not using graphical RFC is not true though, you can pass all your line items as a single object which means only making ONE single call to ECC and then get the return the same way. Think along the lines of internal table as an object
    regards,

  • Value mapping replication - java cache

    i used value mapping replication and successfully loaded values to the java cache (i can see the in the cache monitoring but not in  the configuration).
    when i try to use a scenario with value mapping using the agencies and schemes which i loaded, the mapping doesn't work and i receive the same value that was entered.
    what could be the problem?
    P.S
    i used the same groupid for each pair of source and target value when i loaded them. is that the right way?

    Tomer,
    what is the context that u used. Did you give the correct context in mapping as in Runtime Cache.
    Regards,
    Sudharshan N A

  • 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

  • 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

  • No Values available or not authorized to display

    No Values available or not authorized to display.I have a profit center is a selection parameter in the report.I am not able to select anything in the selection.
    I am getting the message" No Values available or not authorized to display".
    Please help on this.

    Hi,
    check the cube content for the profit centers. If you found values there run RSRT in debug mode for your query and set break-points at the authorization check. There you can see if your query aborts because of authorization error. you can also check st22 or sm21 for short dumps and system log entries.
    Regards,
    Juergen

Maybe you are looking for