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

Reports

Former Member
0 Likes
652

What are the events in ALV reports and events in sequence they occur in Classic and Interactive reports

Points for sure

1 ACCEPTED SOLUTION
Read only

Former Member
5 REPLIES 5
Read only

Former Member
Read only

Former Member
0 Likes
632

what are the events in ALV reports

Read only

0 Likes
632

same as normal reports.After all ALVs are also REPORTS only. The only difference is that they LOOK better.

Read only

Former Member
0 Likes
632

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

Read only

former_member187255
Active Contributor
0 Likes
632

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.