Skip to Content
avatar image
Former Member

SAP Fiori Logon Details in backend system

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 29, 2014 at 04:02 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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?