Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Smartforms - Identify the page just before the last page


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 ..


Not what you were looking for? View more on this topic or Ask a question