Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HTTP_RESP_STATUS_CODE_NOT_OK Error in ValueMappingReplication

Hello everyone!

I have setup the ValueMappingReplication scenario ("Insert" entries). I configured an inbound XI adapter with the following values:

Host: 190.20.20.20

Service Number: 50200

Path: /MessagingSystem/receive/JPR/XI

Username: PIAPPLUSER

Password: ******

PIAPPLUSER has the Role: SAP_XI_APPL_SERV_USER and is not locked.

My problem is I get an error in SXMB_MONI saying:

SOAP:mustUnderstand="1">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL"> HTTP_RESP_STATUS_CODE_NOT_OK </SAP:Code>

<SAP:P1> 401 </SAP:P1>

<SAP:P2>Unauthorized</SAP:P2>

<SAP:P3 />

<SAP:P4 />

Here's how my payload looks like:

<?xml version="1.0" encoding="UTF-8" ?>

<ns0:ValueMappingReplication xmlns:ns0="http://sap.com/xi/XI/System">

<Item>

<Operation>Insert</Operation>

<GroupID>8060d1a0-7f21-11dd-c8b4-006073e34ca8</GroupID>

<Context>http://sap.com/xi/XI</Context>

<Identifier scheme="source1" agency="source">9000200</Identifier>

</Item>

<Item>

<Operation>Insert</Operation>

<GroupID>8060d1a0-7f21-11dd-c8b4-006073e34ca8</GroupID>

<Context>http://sap.com/xi/XI</Context>

<Identifier scheme="target1" agency="target">yes</Identifier>

</Item>

</ns0:ValueMappingReplication>

Can anyone help me out?

Glenn

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question