Field:SY-COLNO
 
Definition
 
This field contains the current column position of the cursor during list
generation; counting begins with 1.
 
For documentation about system fields related to SY-COLNO, see System
Fields for Lists.
 
 
 
Field:SY-CPAGE
 
Definition
 
This field contains the number of the displayed logical list page. If
several list pages are displayed at the same time on the screen, the
number is that of the first list page still visible; counting begins with
1.
 
For documentation about system fields related to SY-CPAGE, see System
Fields for Lists.
 
 
 
Field:SY-CUCOL
 
Definition
 
During interactive reporting, this field contains the column position of
the cursor in the last window displayed (relative to the left edge of the
screen section).
Counting begins at 1.
 
System fields like SY-CUCOL are documented under System Fields for Lists.
 
 
Field:SY-CUROW
 
Definition
 
During interactive reporting, this field contains the line position of
the cursor in the last window displayed (relative to the upper edge of
the screen section).
Counting begins at 1.
 
System fields like SY-CUROW are documented under System Fields for Lists.
 
 
Field:SY-LILLI
 
Definition
 
This field contains the absolute number of a selected line in the
displayed list; counting begins with 1.
 
For documentation about system fields related to SY-LILLI, see System
Fields for Lists.
 
Field:SY-LINCT
 
Definition
 
Number of lines per list page. If this field contains a zero or is blank,
the number of pages is unlimited (not allowed when printing). The length
of the list is then determined by its content alone.
 
When printing, the maximum number of lines per page depends on the
formatting you choose. If you want to change the number of lines, you
must use different formatting.
 
System fields like SY-LINCT are documented under System Fields for Lists.
 
 
Field:SY-LINNO
 
Definition
 
This field contains the number of the current line on the current page
when generating a list; counting begins with 1.
 
For documentation about system fields related to SY-LINNO, see System
Fields for Lists.
 
 
Field:SY-LINSZ
 
Definition
 
This field contains the current line width of the list; the maximum line
width of a list is 255 characters.
 
When printing, the maximum line width depends on the format. If you want
to change the line width, you must also choose a different format.
 
For documentation about system fields related to SY-LINSZ, see System
Fields for Lists.
 
Field:SY-LISEL
 
Definition
 
This field contains the contents of the selected list line when editing a
list.
 
For documentation about system fields related to SY-LISEL, see System
Fields for Lists.
 
 
Field:SY-LISTI
 
Definition
 
This field contains the number of the displayed list after selection of a
line (i.e. the number of the list from which the selected line SY-LILLI
comes).
 
Normally, the following applies: SY-LISTI = SY-LSIND - 1.
 
For documentation about system fields related to SY-LISTI, see System
Fields for Lists.
 
Field:SY-LSIND
 
Definition
 
This field contains the number of the current list in the list hierarchy
(basic list: 0, 1st. details list: 1, ..., 20th details list: 20). This
number is automatically incremented for each interactive event (AT ...)
that occurs. If SY-LSIND is set back (to n), the list at level n is
replaced by the current list, after the latter has been retrieved. For
this reason, you should only change the value of SY-LSIND at the end of
the relevant processing block.
 
For documentation about system fields related to SY-LSIND, see System
Fields for Lists.
 
 
Field:SY-PAART
 
Definition
 
This field contains the spool request format for output. Essentially, it
defines the page format, i.e. the maximum number of lines and columns per
print page.
 
 
Field:SY-PAGCT
 
Definition
 
This field contains the current number of pages in a list.
 
 
Field:SY-PAGNO
 
Definition
 
This field contains the number of the current page when generating a
list; counting begins with 1.
 
For documentation about system fields related to SY-PAGNO, see System
Fields for Lists.
 
 
Field:SY-PDEST
 
Definition
 
This field contains the name of the output device. In most cases, this is
a printer name, but it can also refer to the name of a fax machine or
similar.
 
Before displaying possible entries with F4, you can enter a generic
search pattern ( XYZ* ).
 
Field:SY-PEXPI
 
Definition
 
This field determines how many days a spool request is to remain in the
spool system before it is deleted.
 
Field:SY-PLIST
 
Definition
 
This field contains the name of the spool request. It may consist of
letters, numerals, special characters and blanks. The standard name
proposed by the system for a spool request comprises the 8-character
report name, the separator '_' and the first 3 characters of the user
name.
 
 
Field:SY-PRABT
 
Definition
 
This field contains the name of the department originating the spool
request. On hardcopy printouts, the name is displayed on the cover sheet.
 
 
Field:SY-PRBIG
 
Definition
 
This field determines whether the report output should include a cover
sheet with the report selections. The two permitted values are:
 
'X' : Output cover sheet
' ' : No cover sheet
 
 
Field:SY-PRCOP
 
Definition
 
Specify here how many copies of the document you want to print.
 
 
 
System Fields for Lists
 
In the following comments, the list just generated is referred to as the
current list (and thus pages and lines in that list as the current page
and the current line). The list just displayed as a result of any
interactive events is referred to as the displayed list.
Here, absolute means that the specification refers to the list itself and
not to any special features of the screen display (e.g. screen size,
scroll status, ...)
After an interactive event (AT LINE-SELECTION, AT USER-COMMAND, ...), any
line of the displayed list that has been selected (or contains the
cursor) or any line read with READ LINE is known as the selected line.
 
The system field report for lists allows you to display and modify the
current values of system fields. You can, for example, scroll, modify the
window size or select a list line (by double-clicking or by selecting the
pushbutton Next list level with cursor positioning).
 
a) Generating a list
 
 
SY-PAGNO - Number of current page of current list;
counting begins at 1;
 
SY-LINNO - Number of current line on current page;
counting begins at 1;
 
SY-COLNO - Number of column where cursor is positioned in current list;
counting begins at 1;
 
 
SY-LINCT - Number of lines per page in current list, if specified by
LINE-COUNT in the REPORT statement or by NEW-PAGE; otherwise, SY-LINCT
has the value zero and the length of the page is determined by its
contents alone;
 
SY-LINSZ - Line width of current list;
Can be manipulated by LINE-SIZE in the REPORT statement or by NEW-PAGE;
the maximum line width is 255 characters;
 
 
SY-TITLE - Title that appears in the title bar of the display window;
can be manipulated by maintaining the text elements of the report or by
SET TITLEBAR;
maximum length: 70 characters;
 
SY-SROWS - Current number of lines in display window;
counting begins at 1;
 
SY-SCOLS - Current number of columns in display window;
counting begins at 1;
 
 
b) Interactive Reporting
 
After each interactive event, the following system fields are set
automatically:
 
 
SY-LSIND - Index of current list; (basic list: 0, first details list: 1,
..., twentieth details list: 20);
if you reduce the value of SY-LSIND (to n), the list at level n is
replaced by the current list when this list has been generated. (For this
reason, any modifications to SY-LSIND should always be made at the end of
the relevant processing block.)
 
 
SY-LILLI - Absolute number of a selected line in displayed list;
the addition CURRENT LINE of READ LINE or MODIFY LINE always refers to
the line SY-LILLI in the list SY-LISTI;
counting begins at 1;
 
SY-LISTI - Index of displayed list after line selection (normally,
SY-LISTI = SY-LSIND - 1);
modifications should only be made by READ LINE;
 
SY-LISEL - Contents of a selected line;
 
 
SY-CUROW - Number of line in window on which the cursor was last
positioned in the displayed list;
modifications should only be made by SET CURSOR for the next screen
change;
counting begins at 1;
 
SY-CUCOL - Number of column in window on which the cursor was last
positioned in the displayed list;
to determined tbe absolute position of the cursor, you can use GET CURSOR
instead;
modifications should only be made by SET CURSOR;
counting begins at 2;
 
 
SY-CPAGE - Number of top displayed page in displayed list;
modifications should only be made by SCROLL LIST TO...PAGE... or through
interactive scrolling;
counting begins at 1;
 
SY-STARO - Number of top line on top displayed page (SY-CPAGE) of the
displayed list;
modifications should only be made by SCROLL LIST TO...PAGE...LINE... or
through interactive scrolling;
counting begins at 1 and lines of the page header are included;
 
SY-STACO - Number of first displayed column in the displayed list;
modifications should only be made by SCROLL LIST LEFT/RIGHT/TO COLUMN or
through interactive scrolling;
counting begins at 1;
 
 
Incidentally:
 
SCROLL LIST INDEX SY-LSIND TO: PAGE SY-CPAGE LINE SY-STARO,
COLUMN SY-STACO.
 
positions the current list in exactly the same position as the
list just displayed;
 
 
SY-UCOMM - Function code that triggered the event in the displayed list;
Modifications should be made by SET USER-COMMAND .
 
SY-PFKEY - Status of displayed list;
Modifications should be made by SET PF-STATUS;