As an ASAP programmer, you are no doubt familiar with the structure SYST and the option of using the variable SY to query different system fields while a program is running. provides an overview of some important system fields or functions for accessing the relevant information. In the HANA database, you do not use system fields to access the relevant information (which is the case in SAP NetWeaver AS ABAP). Instead, you use special functions.

1.How to display current use login ( Application User ) .

In ABAP : sy-uname

In HANA :

sap hana system fields 1

2.How to display user of the current statement

In ABAP : sy-uname

In HANA :

sap hana system fields 2

3.How to display current client .

In ABAP : SY-MANDT

In HANA :

4.How to display current language

In ABAP : Not defined

In HANA :

5.How to display current language SAP Format

In ABAP : SY-LANGU

In HANA :

6.How to display System Date

In ABAP : SY-DATUM

In HANA :

7.How to display System Time

In ABAP : SY-UZEIT

In HANA :