Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

SESSION_USER when reading Calculation views

$
0
0

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


Viewing all articles
Browse latest Browse all 6412