cancel
Showing results for 
Search instead for 
Did you mean: 

sapscript: display in main window table ... repeat table haeder on new page

Former Member
0 Kudos

Hi all,

I have a form with one Window -> Main Window, in this Window it will be written many different information... there is also a table, when the table cause a new-page, the header (discription of the table) should be written (repeated) also on the new page.

Im trying to find out, how i can get the page number in the print-programm... but I dont found any variable (print_co-actpage doesnt work)

Thanks a lot for your help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi David,

I'm sure you've got around your requirement by now, but for future reference you can get the page number into your print program by calling the function module 'GET_TEXTSYMBOL'.

data: lv_page(255) type c.

lv_page = '&PAGE&'.
call function 'GET_TEXTSYMBOL'
     exporting  line             = lv_page
                    start_offset = 0
     importing  value            = lv_page.

Cheers,

Darren