cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Authorization error while sending by HTTP (error code: 401 , error text: Unauthorized)

Former Member
0 Likes
1,490

Hi All Experts,

I am working on ABAP Proxy to File Scenario i.e. ECC -> PI 7.31 dual stack -> File system. I developed the proxy and executed the message.

Message is flowing from ECC to PI which I can see from Tx sxmb_moni.

When checked in the Tx sxmb_moni of SAP-PI it shows Integration Engine: General Error.

Trace screenshot:


The following workaround I did.

1.Both the user PIISDIP and PIAPLLDIP have the required role in PI system i.e. SAP_BC_WEBSERVICE_CONSUMER,SAP_BC_WEBSERVICE_PI_CFG_SRV
SAP_J2EE_ADMIN,SAP_SLD_CONFIGURATOR,SAP_XI_APPL_SERV_USER,SAP_XI_IS_SERV_USER and SAP_XI_IS_SERV_USER_MAIN.

2.I logged in with user PIISDIP http://dipxxx.xxxx.com:50000/MessagingSystem/receive/AFW/XI and I am able to login.

3.Both the users are not locked.

4.In Tx sxi_cache, the cache is upto date.

5.In Tx sxi_cache, the adapter engine cache url shows correct url.

6.Restarted the system as well.

7.All the ESR and ID objects are in active status

8.When running FM SAI_AE_DETAILS_GET, it shows no error message and shows the password which I maintained with service user PIISPID.

Note: A.--->This issue is with 1 interface only, the other interface are working fine. So I didnt made any changes in password at Exchange Profile and in Tx SU01. If this was the issue then it would have affected both interface.


B--> I observed number of services stopped in the JAVA application at START and STOP in NWA.I dont know which is mandatory?

Regards

Rebecca

View Entire Topic
Former Member
0 Likes

Hi Alice,

The trace shows the Principal propagation connection. If this issue is not affecting the other interface , then most probably you would have made changes in the ID part which you can compare with the successful message of other interface.

Check the option of Principal propagation in the Receiver Agreement?

Regards

Robinson