Showing results for 
Search instead for 
Did you mean: 

How to read user id from portal to PCUI application

Former Member
0 Kudos


How to read user id from portal to PCUI application?

When a user calls a PCUI iview on the portal, his user id has to be passed to the PCUI application. I need to determine BP from the user id.

This function module will get the BP from the user id COM_BPUS_BUPADATA_FOR_USER_GET. But how to pass the user id to PCUI application and how to read it in PCUI.

Thanks & Regards,


Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

Hello Karthik,

normaly the Portal User is authenticated to the PC-UI Application via his SAP SSO Cookie/Ticket. You can just use the global variable sy-uname which holds the actual username using the PCUI Application.



Answers (0)