Important System Variables in SAP ABAP


Here are the list of some important System Fields or System Variables used in ABAP Programming, I suggest you to copy and paste the below code in your Program to know the functionality of the fields....

REPORT  ZSYS_FIELDS NO STANDARD PAGE HEADING.

WRITE:/ 'SY-SUBRC:', SY-SUBRC,

      / 'SY-MANDT:', SY-MANDT,

      / 'SY-UNAME:', SY-UNAME,

      / 'SY-INDEX:', SY-INDEX,

      / 'SY-TABIX:', SY-TABIX,

      / 'SY-DATUM:', SY-DATUM,

      / 'SY-UZEIT:', SY-UZEIT,

      / 'SY-FDPOS:', SY-FDPOS,

      / 'SY-DBCNT:', SY-DBCNT,

      / 'SY-COLNO:', SY-COLNO,

      / 'SY-VLINE:', SY-VLINE,

      / 'SY-ULINE:', SY-ULINE,

      / 'SY-LINNO:', SY-LINNO,

      / 'SY-LINCT:', SY-LINCT,

      / 'SY-LSIND:', SY-LSIND,

      / 'SY-LILLI:', SY-LILLI,

      / 'SY-UCOMM:', SY-UCOMM,

      / 'SY-PAGNO:', SY-PAGNO,

      / 'SY-REPID:', SY-REPID,

      / 'SY-DYNNR:', SY-DYNNR,

      / 'SY-BATCH:', SY-BATCH.

Popular posts from this blog

ALV with field catalog merge

SAP ABAP real-time Interview Questions with answers

Using GUI Upload in SAP ABAP