CDS Session Variables

Index

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

Index

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s