cancel
Showing results for 
Search instead for 
Did you mean: 

Track Number of pages

Former Member
0 Kudos

Hello All,

I want to find out the number of pages before sending the form for printing

Can anyone pls tell me how to track the number of pages so that based on number of pages I can decide where to send it for printing

Thanks

Ricky

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi...,

U note the No.of lines per inch in Basic settings... and count how many lines of records u are going to print.

Divide the main window height in CM's with 2.5 cm.. Now u will get the no.of lines per page, in the main window ( say w_lines )..

Now divide the no.of records in the output internal table (w_records) with the above result.. u will get the number of pages.. ( i.e w_result = w_records / w_lines )

Now the variable w_result contains the number of pages...

Hope this helps u...

reward if it helps u...

sai ramesh

Former Member
0 Kudos

HI,

&SAPSCRIPT-FORMPAGES& will gives the total number of pages

Regards

Sudheer