cancel
Showing results for 
Search instead for 
Did you mean: 

Trusted RFC connection Problem

Former Member
0 Kudos

Hello,

Trusted RFC connection between two systems when the results are negative. The error we get is "You Are Not authorized to logon to the target system (error code 1)." But everything looks smooth (kernel, logfiles, etc.).. S_rfc users and has s_rfcacl objects. Where do you think could be problem?

RFC trace log files;

dev_rfc0

        • Trace file opened at 20100503 232709 GTB Daylight Time, SAP-REL 700,0,236 R

======> You are not authorized to logon to the target system (error code 1).

ABAP Programm: RSRFCPIN (Transaction: SM59)

Called function module: RFCPING

User: P0326 (Client: 100)

Destination: RFC001 (handle: 2, 21766343, {3CF256DF-FE74-F105-BF85-000C29E0B2F6}

dev_rfc1

        • Trace file opened at 20100503 233011 GTB Daylight Time, SAP-REL 700,0,236 R

======> No authorization to logon as trusted system (Trusted RC=1).

ABAP Programm: SAPLSYST (Transaction: SM59)

Called function module: ABAP4_LEAVE_TO_TRANSACTION

User: P0326 (Client: 100)

Destination: RFC001 (handle: 2, 21951359, {A7F256DF-F7BE-F119-BF85-000C29E0B2F6}

        • Trace file opened at 20100503 233115 GTB Daylight Time, SAP-REL 700,0,236 R

======> Name or password is incorrect (repeat logon)

ABAP Programm: RSRFCPIN (Transaction: SM59)

Called function module: RFCPING

User: P0326 (Client: 100)

Destination: RFC001 (handle: 2, 22021687, {D1F256DF-90D2-F15E-BF85-000C29E0B2F6}

        • Trace file opened at 20100503 233127 GTB Daylight Time, SAP-REL 700,0,236 R

======> You are not authorized to logon to the target system (error code 1).

ABAP Programm: RSRFCPIN (Transaction: SM59)

Called function module: RFCPING

User: P0326 (Client: 100)

Destination: RFC001 (handle: 2, 22034437, {D8F256DF-78D3-F1BE-BF85-000C29E0B2F6}

Regards

ismail

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member227283
Active Contributor

Hi ,

Check user P0326 exits on source and target or not.

If yes user exists , then check authorization object S_RFCACL assgin to user or not.

For trusted RFC communication , user should have authorization with object S_RFCACL.

Thanks

Anil

Former Member
0 Kudos

Hi,

In addition to the auth object, First make the entry in SMT1 with the normal RFC here the rfc should not be enabled as trusted.

Then create an entry in the target system as well, one the entries are made in tcode SMT1 in both the systems, then enable both the RFC's as trusted RFC it will work fine then.

Regards,

Vamshi.

Former Member
0 Kudos

Hello,

Thank you for answers. Say what you've already applied but the result is the same. I opened a OSS message. I share with you the results of solving the problem.

Thanks again everyone.

Regards

ismail

former_member227283
Active Contributor
0 Kudos

Hi,

I don't thing so you will get the solution from SAP, They will just provide the certain note related to the error , error has to be search by you.

The best option to search error is by starting AUTHORIZATION TRACE using ST01 on both the system and generate the error.

Once the error generated , check the trac log in source as well as target system.

Thanks

Anil

Former Member
0 Kudos

Check the user P0326 exist in both sides and make sure its not locked.

ALso check if the user is with initial password.