Hi All,
i am trying to fetch the Current user id, by using, select CURRENT_USER as "USERID" from dummy;
which if i run it in sql console, giving me DEV_XXXXX as user id.
and if i put it in calculation view, access using the XSOData service, giving me _SYS_REPO.
Also, i would like to point out that if i try to insert a new entry in a table where i need to insert the user id. If i include CURRENT_USER as "USER_ID"in a select statement in a procedure, its inserting, C5**** user id(Note:i am trying to insert a new entry via xsodata service using a create exit procedure), here the C5***** is my C-User id with which i have created the HCP Trial account.
So what i am asking is how to fetch my C5***** user id in a calculation view, because it is giving me _SYS_REPO as user id but i need to fetch C5XXX.
Can anyone help me on this??
Thanks & Regards,
Mahesh