Dividing Genrated PDF no of pages into two parts
I have requirement in which i need to divide total number output pdf pages into two parts.
E.g. If there are 10 pages Then 10 / 2 = 5
Before generation of pdf file from smartform it automatically divide by 2 and then show these files.
How to do this?
Thanks & Regards,
when you call the function module of the smartform you have the output parameter:
It is the number of pages of the smartform.
Then... you can call the funtion module of smartform two times :
1rst with the input field OUTPUT_OPTIONS-TDPAGESLCT from 1 to number of pages / 2
2nd with the input field OUTPUT_OPTIONS-TDPAGESLCT from number of pages / 2 to number of pages
And generate both pdf.