SAP ABAP System fields
Oct 6th, 2009 | By Ole | Category: SAP ABAPWhen you execute an ABAP programs, all the system fields data are passed to the structure SYST.
Use transaction SE11 – Dictionary to view the structure. Structure are used for storing temporary data.
Some of the system fields can be used in your ABAP programs.
Below you will find a list of the most common used system fields.
| Field | Description | Example |
| SY-ABCDE | Constant: Alphabet (A,B,C,…) | ABCDEFGHIJKLMNOPQRSTUVWXYZ |
| SY-APPLI | SAP applications | 0 |
| SY-BATCH | Background active (X) | |
| SY-BATZD | Background SUBMIT: Daily | |
| SY-BATZM | Background SUBMIT: Monthly | |
| SY-BATZO | Background SUBMIT: Once | |
| SY-BATZS | Background SUBMIT: Immediately | |
| SY-BATZW | Background SUBMIT: Weekly | |
| SY-BINPT | Batch input active (X) | |
| SY-BREP4 | Background SUBMIT: Root name of request report | |
| SY-BSPLD | Background SUBMIT: List output to spool | |
| SY-CALLD | CALL mode active (X) | X |
| SY-CALLR | Print: ID for print dialog function | |
| SY-CCURS | Rate specification/result field (CURRENCY CONVERT) | 0 |
| SY-CCURT | Table rate from currency conversion | 0 |
| SY-CDATE | Date of rate from currency conversion | 00000000 |
| SY-COLNO | Current column during list creation | 22 |
| SY-CPAGE | Current page number | 0 |
| SY-CPROG | Runtime: Main program | Z0OV_SYSTEMFIELDS |
| SY-CTABL | Exchange rate table from currency conversion | |
| SY-CTYPE | Exchange rate type ‘M’,'B’,'G’ from CURRENCY CONVERSION | |
| SY-CUCOL | Cursor position (column) | 0 |
| SY-CUROW | Cursor position (line) | 0 |
| SY-DATAR | Flag: Data received | |
| SY-DATLO | Local date for user | 20091006 |
| SY-DATUM | System: Date | 20091006 |
| SY-DATUT | Global date related to UTC (GMT) | |
| SY-DAYST | Summertime active ? (’daylight saving time’) | X |
| SY-DBCNT | Number of elements in edited dataset with DB operations | 0 |
| SY-DBNAM | Logical database for ABAP/4 program | __S |
| SY-DBSYS | System: Database system | ORACLE |
| SY-DCSYS | System: Dialog system | |
| SY-DSNAM | Runtime: Name of dataset for spool output | |
| SY-DYNGR | Screen group of current screen | |
| SY-DYNNR | Number of current screen | 1000 |
| SY-FDAYW | Factory calendar weekday | 2 |
| SY-FDPOS | Location of a string | 0 |
| SY-FMKEY | Current function code menu | |
| SY-HOST | Host | sbdsapr3 |
| SY-INDEX | Number of loop passes | 0 |
| SY-LANGU | SAP logon language key | E |
| SY-LDBPG | Program: ABAP/4 database program for SY-DBNAM | SAPDB__S |
| SY-LILLI | Number of current list line | 0 |
| SY-LINCT | Number of list lines | 0 |
| SY-LINNO | Current line for list creation | 46 |
| SY-LINSZ | Line size of list | 224 |
| SY-LISEL | Interact.: Selected line | |
| SY-LISTI | Number of current list line | 0 |
| SY-LOCDB | Local database exists | |
| SY-LOCOP | Local database operation | |
| SY-LOOPC | Number of LOOP lines at screen step loop | 0 |
| SY-LSIND | Number of secondary list | 0 |
| SY-LSTAT | Interact.: Status information for each list level | |
| SY-MACDB | Program: Name of file for matchcode access | |
| SY-MACOL | Number of columns from SET MARGIN | 0 |
| SY-MANDT | Client number from SAP logon | 201 |
| SY-MARKY | Current line character for MARK | A |
| SY-MAROW | No. of lines from SET MARGIN statement | 0 |
| SY-MODNO | Number of alternative modi | 0 |
| SY-MSGID | Message ID | |
| SY-MSGLI | Interact.: Message line (line 23) | |
| SY-MSGNO | Message number | 000 |
| SY-MSGTY | Message type (E,I.W,…) | |
| SY-MSGV1 | Message variable | |
| SY-MSGV2 | Message variable | |
| SY-MSGV3 | Message variable | |
| SY-MSGV4 | Message variable | |
| SY-OPSYS | System: Operating system | Windows NT |
| SY-PAART | Print: Format | |
| SY-PAGCT | Page size of list from REPORT statement | 0 |
| SY-PAGNO | Runtime: Current page in list | 1 |
| SY-PDEST | Print: Output device | |
| SY-PEXPI | Print: Spool retention period | 0 |
| SY-PFKEY | Runtime: Current F key status | |
| SY-PLIST | Print: Name of spool request (list name) | |
| SY-PRABT | Print: Department on cover sheet | |
| SY-PRBIG | Print: Selection cover sheet | |
| SY-PRCOP | Print: Number of copies | 000 |
| SY-PRDSN | Print: Name of spool dataset | |
| SY-PREFX | ABAP/4 prefix for background jobs | |
| SY-PRIMM | Print: Print immediately | |
| SY-PRNEW | Print: New spool request (list) | |
| SY-PRREC | Print: Recipient | |
| SY-PRREL | Print: Delete after printing | |
| SY-PRTXT | Print: Text for cover sheet | |
| SY-REPID | Program: Name of ABAP/4 program | Z0OV_SYSTEMFIELDS |
| SY-RTITL | Print: Report title of program to be printed | |
| SY-SAPRL | System: SAP Release | 700 |
| SY-SCOLS | Columns on screen | 224 |
| SY-SLSET | Name of selection set | |
| SY-SPONO | Runtime: Spool number for list output | 0000000000 |
| SY-SPONR | Runtime: Spool number from TRANSFER statement | 0000000000 |
| SY-SROWS | Lines on screen | 66 |
| SY-STACO | Interact.: List displayed from column | 0 |
| SY-STARO | Interact.: Page displayed from line | 0 |
| SY-STEPL | Number of LOOP line at screen step | 0 |
| SY-SUBRC | Return value after specific ABAP/4 statements | 0 |
| SY-SUBTY | ABAP/4: Call type for SUBMIT | 18 |
| SY-SYSID | System: SAP System ID | DR3 |
| SY-TABIX | Runtime: Current line of an internal table | 1 |
| SY-TCODE | Session: Current transaction code | SEU_INT |
| SY-TFDSN | Runtime: Dataset for data extracts | |
| SY-TFILL | Current number of entries in internal table | 0 |
| SY-TIMLO | Local time for user | 184313 |
| SY-TIMUT | Global time related to UTC (GMT) | |
| SY-TITLE | Title of ABAP/4 program | My program |
| SY-TLENG | Line width of an internal table | 510 |
| SY-TMAXL | Maximum number of entries in internal table (?) | 0 |
| SY-TNAME | Name of internal table after an access (?) | |
| SY-TOCCU | OCCURS parameter with internal tables | 0 |
| SY-TPAGI | Flag indicating roll-out of internal table to paging area (?) | 0 |
| SY-TSTLO | Timestamp (date and time) for user | |
| SY-TSTUT | Timestamp (date and time) related to UTC (GMT) | |
| SY-TTABC | Number of line last read in an internal table (?) | 0 |
| SY-TTABI | Offset of internal table in roll area (?) | 0 |
| SY-TVAR0 | Runtime: Text variable for ABAP/4 text elements | |
| SY-TVAR1 | Runtime: Text variable for ABAP/4 text elements | |
| SY-TVAR2 | Runtime: Text variable for ABAP/4 text elements | |
| SY-TVAR3 | Runtime: Text variable for ABAP/4 text elements | |
| SY-TVAR4 | Runtime: Text variable for ABAP/4 text elements | |
| SY-TVAR5 | Runtime: Text variable for ABAP/4 text elements | |
| SY-TVAR6 | Runtime: Text variable for ABAP/4 text elements | |
| SY-TVAR7 | Runtime: Text variable for ABAP/4 text elements | |
| SY-TVAR8 | Runtime: Text variable for ABAP/4 text elements | |
| SY-TVAR9 | Runtime: Text variable for ABAP/4 text elements | |
| SY-TZONE | Time difference from ‘Greenwich Mean Time’ (UTC) in seconds | 3600 |
| SY-UCOMM | Interact.: Command field function entry | |
| SY-ULINE | Constant: Underline | ——————————— |
| SY-UNAME | Session: SAP user from SAP logon | MY_NAME |
| SY-UZEIT | System: Time | 184313 |
| SY-VLINE | Constant: Vertical bar | |
| SY-WAERS | T001: Company code currency after reading B segment | |
| SY-WILLI | Number of current window line | 0 |
| SY-WINCO | Cursor position in window (column) | 0 |
| SY-WINDI | Index of current window line | 0 |
| SY-WINRO | Cursor position in window (line) | 0 |
| SY-WINSL | Interact.: Selected window line | |
| SY-WINX1 | Window coordinate (column left) | 0 |
| SY-WINX2 | Window coordinate (column right) | 0 |
| SY-WINY1 | Window coordinate (line left) | 0 |
| SY-WINY2 | Window coordinate (line right) | 0 |
| SY-WTITL | Standard page header indicator | |
| SY-XCODE | Extended command field | |
| SY-ZONLO | Time zone of user | CET |
![]() |
![]() |
![]() |


