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

RFC Authorization Error in SAP WebIDE - No Authorization to log via a trusted system

ahmed6141
Explorer
0 Kudos
648

Hi Michal,

Need your expertise on this!

I know it could be a silly question to ask, but my developer gets as authorization issue when using a destination that was created with my user. it appears that I might not have authorization to log onto the back-end system via a trusted connection.

My question is, what should be the Authentication type used when connecting from SAP Cloud Platform to Back-end Systems?

Currently, we use 'Basic Authentication' as Authentication type but want to know what's the right one.

rfc-autherror.jpg

Accepted Solutions (0)

Answers (3)

Answers (3)

junwu
SAP Champion
SAP Champion
0 Kudos

ask your developer to go to sm59 (frontend server)to check if they can logon to backend using the selected abap connection.

junwu
SAP Champion
SAP Champion
0 Kudos

if I am not wrong, your user id is not used to access sap system.

ahmed6141
Explorer
0 Kudos

yeah, I gave my user authorization to login via trusted RFC; now it works, but my user ID has to be always active i.e. unlocked, else Developers will not be able to use Destination with my user.

former_member186852
Contributor
0 Kudos

Hi Salman,

According to me When you set ProxyType to "OnPremise" then PrincipalPropagation is the most suitable authentication type.

Regards,

Meghal Shah


ahmed6141
Explorer
0 Kudos

Hi Meghal,

My developer still gets error when he tests his app, it prompts to enter his credentials but get error message as below(screenshot also attached)

Error Message "\{

"requestUri": "/sap/opu/odata/sap/ZRM_REQUEST_CR_SRV/$metadata?sap-documentation=heading&sap-language=en",
"statusCode": 200,
"statusText": "",
"headers": [],
"body": " UserUser PasswordPassword Log On Logon[\"SL__FORM\", \"SL__PAGE\"]"

The Destination in SAP Cloud Platform is defined with Authentication: PrincipalPropogation"

ProxyType: OnPremise

Any help is highly appreciated!

Thanks

Salman

principalprogjpg.png