‎2007 Mar 07 7:54 AM
What are the events in ALV reports and events in sequence they occur in Classic and Interactive reports
Points for sure
‎2007 Mar 07 7:59 AM
‎2007 Mar 07 7:59 AM
‎2007 Mar 07 8:08 AM
‎2007 Mar 07 8:18 AM
same as normal reports.After all ALVs are also REPORTS only. The only difference is that they LOOK better.
‎2007 Mar 07 7:20 PM
TOP_OF_LIST no USING parameter
Information output at the start of the list
END_OF_LIST no USING parameter
Information output at the end of the list
TOP_OF_PAGE no USING parameter
Equivalent to the list processing TOP-OF-PAGE event
END_OF_PAGE no USING parameter
Not available for hierarchical-sequential lists.
Information output at the end of a page. This is only called fo
printing.
TOP_OF_COVERPAGE no USING parameter
The selection information and list status are output together
‎2007 Mar 07 7:29 PM
Other than the above events u can use .....
Yes..You can use the event <b>AT LINE SELECTION...AT USER-COMMAND</b>.
Example for <b>AT LINE-SELECTION</b>.
WRITE: / 'Display record'.
AT LINE-SELECTION.
Write: / 'Secondary list triggered'.
Example for <b>AT USER-COMMAND</b>.
DATA: BEGIN OF itab OCCURS 0,
check,
value(20),
END OF itab.
SET PF-STATUS 'TEST1'.
itab-value = 'ETSAT'.
APPEND itab.
itab-value = 'ETSATADSF'.
APPEND itab.
itab-value = 'ETSAT'.
APPEND itab.
LOOP AT itab.
WRITE: / itab-check AS CHECKBOX,
itab-value.
ENDLOOP.
<b>
AT USER-COMMAND</b>.
DATA: wa LIKE itab.
DATA: itab_download LIKE itab OCCURS 0 WITH HEADER LINE.
IF sy-ucomm = 'DOWNLOAD'.
DESCRIBE TABLE itab.
DO sy-tfill TIMES.
READ LINE sy-index FIELD VALUE itab-check.
IF sy-subrc <> 0.
EXIT.
ENDIF.
CHECK itab-check = 'X'.
itab_download-value = itab-value.
APPEND itab_download.
ENDDO.
download
call function 'WS_DOWNLOAD'
exporting
filename = 'C:\TEST.XLS '
tables
data_tab = itab_download.
ENDIF.