cancel
Showing results for 
Search instead for 
Did you mean: 

Error while posting data from SCM to XI

Former Member
0 Kudos

Dear Expertise,

I got a requirement where I need to post data from SCM to XI server. From SCM

side it is an ABAP proxy. When I tested the scenario and checked in the MONI of

SCM I got an error. But SCM is correctly configured pointing to XI under Tcode

SM59 (SM59 --> Connection Type H (HTTP Connection to ABAP System) -->with

correct user credentials and PIPE line URL of XI server).

Please let me know is this the correct settings for ABAP proxy for connecting

from SCM system to XI system.

Error Dump in SXMB_MONI:

************************************************************************************************

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

- <!-- Call Integration Server

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<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 />

<SAP:AdditionalText><!DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01Transitional//EN">

........................

......................

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Authorization error while sending by HTTP (error code: 401, error text: Unauthorized)</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

************************************************************************************************

Thanks in Advance,

Gujjeti

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member181985
Active Contributor
0 Kudos

Solved.

Former Member
0 Kudos

Hi Praveen

How did you solve it because i ve got the same error and simlar scenario Request you to give the steps on how you reolved the issue.

Regards

Korvi

former_member335553
Active Contributor
0 Kudos

HI

Check these

For Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized

Description: The request requires user authentication

Possible Tips:

• Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER

• If the error is in XI Adapter, then your port entry should J2EE port 5<System no>

• If the error is in Adapter Engine

–then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.

• May be wrong password for user XIISUSER

• May be wrong password for user XIAFUSER

– for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message