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

how can i do different top

Former Member
0 Likes
512

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
Read only

Former Member
0 Likes
486

Hi,

use the FM

REUSE_ALV_COMMENTARY_WRITE

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

regards

sarves

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

2 REPLIES 2
Read only

Former Member
0 Likes
487

Hi,

use the FM

REUSE_ALV_COMMENTARY_WRITE

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

regards

sarves

Read only

bpawanchand
Active Contributor
0 Likes
486

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