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 can i do different top

Former Member
0 Kudos

hi

i use cl_salv_table to creat an ALV rep

i print each line in a different page i want to add different top to each page, is it posibale?

thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

use the FM

REUSE_ALV_COMMENTARY_WRITE

In the dynamic subroutine for header use if conditions to pass different header values.

regards

sarves

2 REPLIES 2

Former Member
0 Kudos

Hi,

use the FM

REUSE_ALV_COMMENTARY_WRITE

In the dynamic subroutine for header use if conditions to pass different header values.

regards

sarves

bpawanchand
Active Contributor
0 Kudos

Check this code [snippet|https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/topOFPAGEANDENDOFPAGEINCLASS+cl_salv_table]