cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the usercode for current session

Former Member
0 Kudos

Hi Gurus..

I am working now on a field validation, using the Coresuite Customize add-on. In such validation, i need to know which user is currently working on system, in order to grant or denied certain permission.

My question is:

Is there any table -as "SY" table in SAP ERP- where i could retrieve the usercode?

Thanks in advance,

Aascan

Accepted Solutions (0)

Answers (2)

Answers (2)

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

Are you working with SAP Business One? If yes, run below FMS,

SELECT * FROM OUSR T0 WHERE T0.USERID = $[USER]

Regards,

Nagarajan

Abdul
Active Contributor
0 Kudos

Try USR5