cancel
Showing results for 
Search instead for 
Did you mean: 

Template not to be printed on Last Page

Former Member
0 Kudos


Hi all,

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.

Thanks,

Rohan

Accepted Solutions (1)

Accepted Solutions (1)

hedvig_rohonyi
Employee
Employee
0 Kudos

Hi Rohan,

if you want to use SFSY-FORMPAGES in a condition, you must use a window of type 'Final window'. The reason for the  Final Window, is that the value of SFSY-FORMPAGES is only known by the smartforms composer after all the pages are processed.

Best regards,

Hedvig

Former Member
0 Kudos

Hi,

Thanks for the reply issue resolved.

Answers (0)