Skip to Content
avatar image
Former Member

Error in File-PI-Idoc scenario

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

-->

- 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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 19, 2010 at 09:43 AM
    <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?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 19, 2010 at 10:22 AM

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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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