cancel
Showing results for 
Search instead for 
Did you mean: 

Error in File-PI-Idoc scenario

Former Member
0 Kudos

Dear All,

While working on File-PI-Idoc scenario, I am getting the error as

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

- <!-- Call Adapter

-->

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

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

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

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

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

<SAP:P3>(See attachment HTMLError for details)</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack />

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

</SAP:Error>

I have checked various other posts on the same error but still I am not able to resolve this.

Please help me in resolving this error.

reg,

nj

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos
<SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code> 
<SAP:P1>401</SAP:P1>

internal XI user....user mentioned in the RFC destination in SM59....are these things working fine?

Answers (1)

Answers (1)

Former Member
0 Kudos

I see that you are getting 401 code " unauthorixed error". This error occurs due to insufficient authorizations. Please check the XI user roles mentioned in SM59...

Former Member
0 Kudos

Nishu,

Please check whether you have assigned the following roles to the particular user you are using for data communication.

Roles:

SAP_XI_IS_SERV_USER,

SAP_XI_APPL_SERV_USER

Regards,

Sugata