Hello All,
I have a procedure that uses the SESSION_USER in the SQL statements.
When I use it directly in the console or in an analytic privilege the procedure returns the correct values (session_user is the user I used to login).
The problem occurs when I create an input parameter in a calc view, derived from this procedure. When invoking this procedure inside the calc view, the session_user is SYSTEM user and no longer my user.
Does anyone know why this is happening and how can I get my user in this context? (current user is SYS_REPO, which in my opinion is correct)
Thanks,
Alex