As of ABAP 7.51, CDS framework provides some runtime system variables which can be readily used to make CDS more optimal and feature-rich. These session variables sometimes also discard the need of parameterization of CDS view.
- $session.client is runtime SAP client which is equivalent to sy-mandt
- $session.system_date is current system date and works same as sy-datum
- $session.system_language works very similar to sy-langu
- $session.user is essentially same as sy-uname