2008 Jan 17 12:06 PM
What are the system fields related to interactive reporting?
2008 Jan 17 12:15 PM
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.
[/code]
**************************************8
What are the system fields related to interactive reporting?
2008 Jan 17 12:15 PM
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.
[/code]
**************************************8
2008 Jan 17 12:15 PM
Hi,
System fields are set at the PAI event for every screen. These can be also used for interactive list processing, except for SY-DATAR, SY-LOOPC, and SY-STEPL.
SY-CUCOL
Horizontal cursor position Counting starts at column 2
SY-CUROW
Vertical cursor position Counting starts at row 1
SY-DATAR
Set to X at time of PAI if at least one screen input field was changed by the user or other data transfer, otherwise empty.
SY-LOOPC
Number of rows currently displayed in a screen table (table control).
SY-PFKEY
GUI status of current screen. Can be set at PBO using SET PF-STATUS.
SY-SCOLS
Number of columns in current screen.
SY-SROWS
Number of rows in current screen.
SY-STEPL
Index of current row in a screen table (table control). Is set at every loop pass. Outside a loop, for example during the POV event for a table row, SY-STEPL is not set appropriately.
SY-TITLE
Text that appears in the title bar of the screen. For selection screens and lists this is the program name, otherwise SAP R/3. Can be set during PBO using SET TITLEBAR.
SY-UCOMM
Function code that triggered the event PAI. Every user action that triggers PAI is assigned a unique function code, with one exception: Choosing Enter triggers PAI and different function codes can be transferred to SY-UCOMM:
· If there is an entry in the command field of the standard toolbar, this is transferred to SY-UCOMM as the function code.
· If there is no entry in the command field and a function code is assigned to the ENTER key, this function code is transferred to SY-UCOMM.
· If the command field does not contain an entry and no function code is assigned to the ENTER key, it is empty and the content of SY-UCOMM is not affected.
PLzz reward points if it helps.
Edited by: manjari kotta on Jan 17, 2008 3:20 PM
2008 Jan 17 12:19 PM
Hi,
the fields regarding interactive reporting are
SY-COLNO List creation, current column of list
SY-LINCT List processing, page length of list
SY-LINNO List creation, current line
SY-LINSZ List creation, width of list
SY-LSIND List processing, details list index
SY-LISTI List processing, index of current list
SY-LISEL List processing, contents of selected line
these are basically we use for list processing
plzz reward if iti si usefull
if u have any further quiries contact me on [email protected]
dont forget to reward.....
2008 Jan 17 12:40 PM
At each interactive list event and for READ-LINE, the system automatically fills the following system fields:
SY-CPAGE
Page number of the first displayed page of the list from which the event was triggered. Counting starts at 1
SY-LILLI
Line from which the event was triggered Counting begins at 1 and includes the page header.
SY-LISEL
Contents of the line from which the event was triggered
SY-LISTI
Index of the list from which the event was triggered
SY-LSIND
Index of the list that is being created (basic list: 0, detail list > 0). Each time an interactive list event occurs, the system automatically increases SY-LSIND by 1. SY-LSIND can be changed in the ABAP program to navigate between detail lists. Changes to SY-LSIND are not taken into account until the end of the list event. Therefore, any manipulation of SY-LISND should be done using the last command of the processing block.
SY-LSTAT
ID for list levels within the program. SY-LSTAT can be filled with values during list creation in the ABAP program. The value valid when the list is completed is saved with the list. In the case of an interactive list event, SY-LSTAT is set to the value it was assigned during the creation of the list from which the event takes place. SY-LSTAT is no longer maintained and should therefore no longer be used.
SY-STACO
Number of the first displayed column of the list from which the event was triggered. Counting starts at 1.
SY-STARO
Number of the upper-most displayed row of the upper-most page of the list, from which the event was triggered. Counting begins at 1. This does not include the page header.
2008 Feb 05 11:02 AM
The system fields that are associated during interactive reporting are as follows :
SY-LSIND : List processing, details list index
SY-LISTI : List processing, index of current list
SY-LILLI : List processing, current list line
SY-CPAGE : List processing, current page number
SY-CUCOL : Screens, horizontal cursor position at PAI
SY-CUROW : Screens, vertical cursor position at PAI
SY-STACO : List processing, initial column displayed
SY-STARO : List processing, first line displayed at top
SY-UCOMM : Screens, function code triggered by PAI
SY-PFKEY : Screens, current GUI status .
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |