cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP PROXY CONNECTION TO SAP/XI

Former Member
0 Kudos

Hi,

I have the following scenery: Abap Proxy -> XI->RFC.

This abap proxy is installed in the enviroment R/3 in the client 041 and client 210.

In the client 041 it is executed with success. In the customer 210 when I execute the program abap a login screen appears in SAP/XI. Typing the login works.

The subject is: why in the enviroment cliente 210 does the login screen appear when I execute the program abap and in the client 041 not?

I enter in the sxmb_moni and appears the following in the client 210

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

- <!--Entrance message

-->

- <SAP:ErrorHeader xmlns:SAP = "http://sap.com/exchange/MessageFormat">

<SAP:Context />

<SAP:Code p1 = "401" p2 = "Unauthorized" p3 = "" p4 = ""> HTTP.HTTP_STATUS_CODE_NEQ_OK </ SAP:Code>

<SAP:Text language = "EN">HTTP status code 401: Unauthorized </ SAP:Text>

</ SAP:ErrorHeader>

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sergio,

When you execute the program abap a login screen appears in SAP/XI. Typing the login works. But It gives error

HTTP status code 401: Unauthorized

Because it is using your userID and trying to execute it,

But it is not having enough authorization.

Go and check the entry for Integration server in

Go to SXMB_ADM

Go to Integration engine Configuration

Check the Integration server Entry -

It must be

http://server:port/sap/xi/engine?type=entry

The solution is make a RFC destination of type HTTP for XI Integration server

with Target host - host

service - http port (like 8000)

Path prefix - /sap/xi/engine/?type=entry

And in the logon/security Tab, enter the user name and password for user XIAPPLUSER,

And again Go to SXMB_ADM

Go to Integration engine Configuration

Check the Integration server Entry -

change it to

dest://<RFCDESTNAME that you have created>

This way it will not ask for login and XIAPPLUSER will

have enough permission to execute it.

Regards,

Vijay

Former Member
0 Kudos

Did you follow the configuration guide from https://service.sap.com/~sapidb/011000358700001697502004E.PDF

Page 25, 8 Connecting Business Systems with an Integration Engine to the Central Integration Server.

Follow all the steps and you should be fine.

regards

Shravan

Former Member
0 Kudos

Hi Sergio,

Check your Services is active in client 210 .

TCODE SICF

default_host-SAP-XI-ENGINE.

Hope it helps.

Thanks.

RekhA