hi all,
I have a script that prints invoices. I am trying to display page no as Current page / total no of page.
I am using &PAGE& / &SAPSCRIPT-FORMPAGE&. when I give invoice numbers as input, if each invoice has different no of pages for example 1st invoice - 2 pages; 2nd invoice - 3 pages; 3rd invoice - 2 pages, while printing it correctly counts total no of pages as 7 pages . But, while printing current page is not printed sequentially from 1 to 7. instead, for each invoice it recounts from 1 i.e. 1/7, 2/7, 1/7, 2/7, 3/7, 1/7, 2/7.
how can I rectify this,
Thanks,
Rajan