Skip to Content
0
Former Member
Aug 12, 2008 at 10:06 AM

Trusted RFC not working for different user , working for same user

2789 Views

Dear All,

I have two SAP system - One Solman (7.0) and another ECC 6.0 (SR3) on HPUX box with Oracle DB (Unicode).

I want to establish Trust relationship between these system.

I have configured the same, as per the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/8b/0010519daef443ab06d38d7ade26f4/content.htm

and note 128447.

My requirement is one user X in solman client 001,

will execute some test plan (Tcode stwb_2) which will take the control to ECC 6.0 client 200, execute the tcode as user Y and come back in Solman again.

The user X (SAP_ALL) exists in Solman - client 001 and user Y (SAP_ALL) exists in ECC 6.0 - client 200.

In ECC 6.0 client 200, I have created a role ZRFCACL with the following and assigned to the user Y (as per the above help / note):

Role : ZRFCACL

Auth. Obj: S_RFCACL

Value assigned to fields are:

RFC_SYSID : SOL

RFC_CLIENT: 001

RFC_USER : X

RFC_EQUSER: N

RFC_TCODE : *

RFC_INFO : *

ACTVT : 16

Whenever the user X is trying to execute the test from solman, he is getting the error : "No authorization to log on as trusted system (RC = 0)"

Each time the user is trying the above, in ECC 6.0, the following dump is occuring:

CALL_FUNCTION_SINGLE_LOGIN_REJ under username SAPSYS

I have assigned the role ZRFCACL to user X in Solman also.

Next, I have performed the following check:

created one user M in both system

created the role ZRFCACL2 in ECC 6.0 client 200 as follows and assigned the role to user M:

Role : ZRFCACL2

Auth. Obj: S_RFCACL

Value assigned to fields are:

RFC_SYSID : SOL

RFC_CLIENT: 001

RFC_USER : ''

RFC_EQUSER: Y

RFC_TCODE : *

RFC_INFO : *

ACTVT : 16

Assigned SAP_ALL to user M in both system (So the user M in Solman does not have ZRFCACL2).

This time, the trust relationship worked and no dump got generated.

I have also checked the thread Trusted RFC do not work

but unable to resolve the issue.

Any suggestion where the things are going wrong in this / what else I need to check or this is not possible at all?

Thanks in advance for your help.

Sudip