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

interactive report

Former Member
0 Likes
549

Hi,

what are the System fields used in interactive Reporting .?

regards,

karthik

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
526

SY-LSIND is the variable used for list index.

SY-LINNO is line no of the report on which the user might click.

It depends again on what functionality the user is looking for.

You can look at the SYST table for list of system variables.

Regards,

Ravi

Note - Please mark all the helpful answers

4 REPLIES 4
Read only

Former Member
0 Likes
527

SY-LSIND is the variable used for list index.

SY-LINNO is line no of the report on which the user might click.

It depends again on what functionality the user is looking for.

You can look at the SYST table for list of system variables.

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

Former Member
0 Likes
526
LILLI 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.

Message was edited by:

chandrasekhar jagarlamudi

Read only

Former Member
0 Likes
526

HI,

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.

Reward points if this helps.

Manish

Read only

Former Member
0 Likes
526

All that fields are available for an interactive report.

It usually use the fields with the data of cursor and line, SY-LISEL can be important because it found out the value of selected row.

Anyway it depends on which report you need to do.

Max