Skip to Content
-1

Get user on logon screen or before logon.

Hi experts

I need to get the user logged in APP UI5 when he logs on system and set to sap.

There are a way to do it ?

Thanks.

bob.png (20.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • why do you want to determine the username logged in to front end ?

  • Hi

    I want to get the user id and send to sap because i need it to select data by userid in specific table.

  • As mentioned by Fred, if you have an hub deployment of your application then there will be a trusted RFC connection between frontend server and backend server which will propagate the user credentials to the backend system.

    Even if you have an embedded deployment then also the Fiori Launchpad core services will pass the logged in user id to backend.

    Check field sy-uname in backend. Also it makes sense for the framework to pass this value beacuse before any custom logic is triggered, framework checks for various authorizations and for that it needs user name.

  • Get RSS Feed

0 Answers