Application Development 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: 

how to display header in alv list

Former Member
0 Kudos

Hi all,

How to Disply header in alv list. i gave the prameter i_callback_top-of-page in the function 'REUSE_ALV_LIST_DISPLAY' it triggered an runtime error saying there is no such parameter.

Advance Thanks and regards

Guhapriyan

1 ACCEPTED SOLUTION

Lakshmant1
Active Contributor
0 Kudos

Hi Guhapriyan,

Have a look at Standard Demo Program BALVSD01 on how to use TOP-OF-PAGE.

Thanks

Lakshman

3 REPLIES 3

Former Member
0 Kudos

a) Mention the name of program in i_callback_program

data: lv_repid type sy-repid.
lv_repid = sy-repid.

Pass this lv_repid to callback program parameter.

b) Give a subroutine name in i_callback_top_of_page say '<b>SUBROUTINE_TOP_OF_PAGE</b>'

c) Write a subroutine '<b>SUBROUTINE_TOP_OF_PAGE</b>' and put the necessary write statements

Regards,

Subramanian V.

0 Kudos

Hi

Just to add something to Subramanian's explanation:

Within the form, use the FM "ALVCOMMENTARY*" after filling an internal table of type as its parameter and pass that table to the FM.

Kind Regards

*--Serdar

ssimsekler@yahoo.com

Lakshmant1
Active Contributor
0 Kudos

Hi Guhapriyan,

Have a look at Standard Demo Program BALVSD01 on how to use TOP-OF-PAGE.

Thanks

Lakshman