cancel
Showing results for 
Search instead for 
Did you mean: 

Errors during authorization

Former Member
0 Kudos

Hi,

We did a brand new install of PI 7.3 and the post installation checks look good. But when we try to test interfaces we get an error

<Trace level="1" type="T">Get logon data for adapter engine (SAI_AE_DETAILS_GET):</Trace>

<Trace level="1" type="T">URL = http://<url>:<port>/MessagingSystem/receive/AFW/XI</Trace>

<Trace level="1" type="T">User = PIISUSER</Trace>

<Trace level="1" type="T">Cached =</Trace>

<Trace level="3" type="T">Creating HTTP-client</Trace>

<Trace level="3" type="T">HTTP-client: creation finished</Trace>

<Trace level="1" type="T">Security: Basic authentication</Trace>

<Trace level="1" type="T">Serializing message object...</Trace>

<Trace level="1" type="T">Tuning - AFW_MAXREQUESTCONTENTLENGTH 2000000000</Trace>

<Trace level="1" type="T">HTTP Multipart document length: 7887</Trace>

<Trace level="3" type="T">HTTP-client: sending http-request...</Trace>

<Trace level="1" type="T">Timeout: 0</Trace>

<Trace level="1" type="T">HTTP-client: request sent</Trace>

<Trace level="3" type="T">HTTP-client: request sent</Trace>

<Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>

<Trace level="1" type="T">HTTP-client: response received</Trace>

<Trace level="3" type="T">HTTP-client: checking status code...</Trace>

<Trace level="1" type="T">HTTP-client: status code = 401</Trace>

<Trace level="3" type="System_Error">Authorization error while sending by HTTP (error code: 401 , error text: Unauthorized)</Trace>

·         Check the INTEGRATION_DIRECTORY_HMI and the connection test is status 200.

·         PIISUSER is assigned with the correct passwords in the RFC and exchange profiles

However when we checked the adapter engine registration in the SLD, we find the application system referring to the java stack of the PID integration server technical system (WEBAS JAVA) and not the WEBAS ABAP. Could this be a problem on why the AFW URL does not get authorized?

Teresa

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

This issue related to not having sufficient authorization roles for the above user.

SAP_XI_APPL_SERV_USER role might required for the PIISUSER

You might want to check this thread and see if that helps

http://scn.sap.com/thread/1998433

Former Member
0 Kudos

Bravo....The solution was in the thread that you had attached...

Answers (2)

Answers (2)

Former Member
0 Kudos
  • Try adding the below roles:-
  •   SAP_XI_IS_SERV_USER
  •   SAP_XI_IS_SERV_USER_MAIN
  •   SAP_SLD_CONFIGURATOR

Also try the note:-

721548:- XI 3.0: Changing the passwords of the XI service

rajasekhar_reddy14
Active Contributor
0 Kudos

What type of interface are you testing and check in HTTP destination and enter correct credetials. it should work.

The problem with PIISUSER used in HTTP destination.