Hello Michael,
the SESSION_USER variable is supported in CDS views since HANA SPS10.
As a workaround you can create a scripted calculation view with the coding (or better a table function which is consumed from a graphical calculation view -> cause scripted calculation views are more or less deprecated in newer SPS versions).
The calculation view than can be consumed by your CDS view.
Regards,
Florian