Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Do not print in the last page in the smart form

Former Member
0 Kudos

Hi to all experts.

I have requirement like in the footer of the table i have to print continuation on next page.

continuation on next page should not be printed in the last page

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

SFSY-PAGE contains current page number

SFSY-FORMPAGES contain Total number of pages.

Hence in your footer you can add condition as below,

SFSY-PAGE NE SFSY-FORMPAGES.

Thanks,

Raghavendra

3 REPLIES 3

Former Member
0 Kudos

Hello,

For this requirement, you can set a flag and validate it.

In the Main window set a flag gw_flag eq 'X' when it is in last page ie when total number of pages equal form pages.

In footer, put a condition that, If this flag gw_flag is 'X', then dont display the text "continuation on next page."

Thanks,

Sowmya arni

Former Member
0 Kudos

Hi,

SFSY-PAGE contains current page number

SFSY-FORMPAGES contain Total number of pages.

Hence in your footer you can add condition as below,

SFSY-PAGE NE SFSY-FORMPAGES.

Thanks,

Raghavendra

former_member387317
Active Contributor
0 Kudos

Hi Mohammed Abdul Hai,

in Smartform You can use Conditions Tab at each nodes..

So for your Footer Window.. goto Last Tab Conditions

and specify conditions like

SFSY-PAGE

Click on middle button Relational Operator and then Select Not Equal to

SFSY-FORMPAGES

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

ilesh Nandaniya