cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori Logon Details in backend system

Former Member
0 Kudos

Hi,

How do i know SAP Fiori Logon details like User Name. Here is my scenario, In the back end (ECC) function module i need to get under what user id user has logged in. From SAPUI5 Application how to get who logged in so that i can send it to back end via oData Service

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

bradp
Active Participant
0 Kudos

Hi,

You shouldn't need to pass in the user id from the UI5 application to the backend as once you have authenticated in the backend you will be able access the user via sy-uname.

Cheers,

Brad

Former Member
0 Kudos

Hi,

Thanks, but i am getting only RFC Destination user id.

bradp
Active Participant
0 Kudos

Does the RFC destination have in SM59 have a hardcoded user and password in it? Are you able to setup a Trust Relationship so it uses the user logged on to the Gateway hub to connect to the ECC backend?