Smartforms - Identify the page just before the last page

Hi,
I need to add OMR code into a Smartforms, I print my form in duplex mode, and my OMR code must be only in the odd page (1, 3, 5, 7 ...).
In the OMR code, I must set the end of the grouping, this end occurs at the last odd page. But if the last page is pair (2 4 6 8 ...), I need to the the ending code to the page just before the end.
So, I need to identify the page just before the last page.
My problem is, when I debug the Smartforms, the SFSY-FORMPAGES contains the actual page, not the value of the last page.
if someone have an idea ..
Fred

Maybe I found the solution :
Note 359009 - Postprocessing and query of the total number of pages
I check and make a return (if a day someone have the same problem)
Fred

Similar Messages

Maybe you are looking for