‎2006 Oct 12 11:11 AM
what r the mandatory system fields used in interactive reports?
‎2006 Oct 12 11:12 AM
‎2006 Oct 12 11:12 AM
‎2006 Oct 12 11:13 AM
HI Priya,
Following are few important 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 it helps.
Manish
‎2006 Oct 12 11:14 AM
hi manju,
u can use sy-lsind,sy-ucomm,sy-lisel, sy-linct, sy-lilli
‎2006 Oct 12 11:14 AM
Hi
See the structure SYST in SE11, here check all field linked to abap list.
Max
‎2006 Oct 12 11:21 AM
The following system fields are filled at each interactive list event and at the READ LINE
statement:
SY-CPAGE
Page number of the topmost page in the display of the list on which the event was triggered. The
counter begins at 1.
SY-LILLI
Line at which the event was triggered. The counter begins at 1 and includes the page header.
SY-LISEL
Contents of the line in which the event was triggered (restricted to the first 255 characters).
SY-LISTI
Index of the list in which the event was triggered.
SY-LSIND
Index of the list currently being created. The basic list has SY-LSIND = 0, detail lists have SYLSIND
> 0. The field is automatically increased by one in each interactive list event. You may
change the value of SY-LSIND yourself in the program to enable you to navigate between lists. Changes to SY-LSIND do not take effect until the end of a list event. It is therefore a good idea to
place the relevant statement at the end of the corresponding processing block.
SY-STACO
Number of the first displayed column of the list from which the event was triggered. The counter
begins at 1.
SY-STARO
Number of the topmost displayed line of the topmost displayed page of the list from which the
event was triggered. The counter begins at 1, not including the page header.
Also have a look at below link
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba2eb35c111d1829f0000e829fbfe/content.htm
Best Regards,
Vibha
*Please mark all the helpful answers
Message was edited by: Vibha Deshmukh
‎2006 Oct 12 12:10 PM
HI Priya,
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). This line may contain the page header.
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 list currently being displayed.
Hope this helps u.
Regds,
Seema.