I have one query here. I am here making a smartforms in which I want one template which should get printed on all the pages except the last page.
E.g. I have three page in smartform then the template should be printed only on first and second page and not on third page.
I have tried to use the condition SFSY-PAGE ne SFSY-FORMPAGES but it is giving me error as both have the same values always on all the pages of smartforms.
Kindly help me soon.