Skip to Content
0
Jul 06, 2020 at 04:26 AM

Using CAP model: Retrieve logged-in user details in Cloud Foundry Using Web IDE

756 Views

Hello All,

We are trying to retrieve the logged-in user details using SAP Cloud platform business application in WEBIDE.

We have followed the below blog to retrieve the logged-in user details in MTA project:

https://blogs.sap.com/2020/06/04/retrieve-logged-in-user-details-in-cloud-foundry-using-web-ide/

It is working fine with MTA project, but we are unable to replicate the same in Cloud platform business application project.

Is there any way to get the logged-in user details in the CDS level or in the .js file of SRV module?

Thanks and Regards,

Vivek Babu