Most useful System fields of SAP
Jusr for myself as a reference.
•When a list is generated:
–SY-COLNO - Current column number
–SY-LINCT - Number of lines from the REPORT statement
–SY-LINNO - Current line number
–SY-LINSZ - Line width from the REPORT statement
–SY-PAGCT - Maximum number of pages from the REPORT statement
–SY-PAGNO - Current page number
–SY-SCOLS - Number of columns in the window
–SY-SROWS - Number of lines in the window
–SY-TITLE - Report title taken over from the text elements or attributes
•During interactive reporting:
–SY-CPAGE - Number of current page
–SY-CUCOL - Cursor position (column)
–SY-CUROW - Cursor position (line)
–SY-LILLI - Number of the selected list line
–SY-LISEL - Content of the selected list line
–SY-LISTI - Index of the selected list line
–SY-LSIND - Index of the displayed list level
–SY-PFKEY - Current GUI status
–SY-STACO - List displayed from column
–SY-STARO - List displayed from line
–SY-UCOMM - Function code invoked by user




