Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

System fields

Former Member
0 Likes
767

hi,

What are system fields for secondary lists?

thnks.

4 REPLIES 4
Read only

Former Member
0 Likes
669

hi,

SY-LSIND contains the index of the list currently being created. While the basic list is being created, SY-LSIND is zero. for Secondary lists it starts from 1.

Read only

Former Member
0 Likes
669

Hi,

The SY-LSIND system field contains the index of the list currently created. While creating a basic list, SY-LSIND equals 0. With each interactive event, the system automatically sets the following system fields: System field Information SY-LINCT total line count of a list SY-LINNO current line no where cursor is placed. SY-LSIND Index of the list currently created during the current event (basic list = 0) SY-LISTI Index of the list level from which the event was triggered SY-LILLI Absolute number of the line from which the event was triggered SY-LISEL Contents of the line from which the event was triggered SY-CUROW Position of the line in the window from which the event was triggered (counting starts with 1) SY-CUCOL Position of the column in the window from which the event was triggered (counting starts with 2) SY-UCOMM Function code that triggered the event SY-PFKEY Always contains the status of the current list.

Hope this helps u,

Regards,

Arunsri

Read only

Former Member
0 Likes
669

HI,

SY-LSIND Index of the list created during the current event (basic list = 0)

SY-LISTI Index of the list level from which the event was triggered.

SY-LILLI Absolute number of the line from which the event was triggered.

SY-LISEL Contents of the line from which the event was triggered.

SY-CUROW Position of the line in the window from which the event was triggered (counting starts with 1)

SY-CUCOL Position of the column in the window from which the event was triggered (counting starts with 2).

SY-CPAGE Page number of the first displayed page of the list from which the event was triggered.

SY-STARO Number of the first line of the first page displayed of the list from which the event was triggered (counting starts with 1). Possibly, a page header occupies this line.

SY-STACO Number of the first column displayed in the list from which the event was triggered (counting starts with 1).

SY-UCOMM Function code that triggered the event.

SY-PFKEY Status of the displayed list.

Cheers,

Chandra Sekhar.

Read only

Former Member
0 Likes
669

Hi,

sy-lsind

sy-listi

sy-lilli

sy-lisel

*****************************

codeLILLI Number of current list line

AT LINE-SELECTION.

DETAIL.

SY-LSIND is the index of the current list

WRITE: / 'SY-LSIND:', SY-LSIND LEFT-JUSTIFIED.

SY-LISTI is the index of the previous list

WRITE: / 'SY-LISTI:', SY-LISTI LEFT-JUSTIFIED.

SY-LILLI is the number of the selected line in the absolute list

WRITE: / 'SY-LILLI:', SY-LILLI LEFT-JUSTIFIED.

SY-LINCT Number of list lines

WRITE: / SY-LINCT, 'line and', (3) SY-LINSZ, 'column is a page'.

SY-LINNO Current line for list creation

WRITE: SY-COLNO, ',', SY-LINNO, 'Cursor position (column, row).'.

SY-LINSZ Line size of list

WRITE: SY-COLNO, ',', SY-LINNO, 'Cursor position (column, row).'.

SY-LISEL Interact.: Selected line

contents of the selected line

WRITE: / 'SY-LISEL:', SY-LISEL.

SY-LISTI Number of current list line

SY-LISTI is the index of the previous list

WRITE: / 'SY-LISTI:', SY-LISTI LEFT-JUSTIFIED.