Application Development and Automation 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: 
Read only

smartform footer issue

Former Member
0 Likes
827

Dear Friends

I have smartform with group with main window

I hava added new window for footer when program runs its comes properly

my problem is total no of pages counted as actual pages +1 then last page print only with footer how can i solve this case

Thanks in advance

Dear Friends

I have smartform with group with main window

I hava added new window for footer when program runs its comes properly

my problem is total no of pages counted as actual pages +1 then last page print only with footer how can i solve this case

Thanks in advance

6 REPLIES 6
Read only

former_member225631
Active Contributor
0 Likes
786

Before calling smartforms, number of lines in internal table can be counted. Then in conditions tab of loop or table line in smartforms we can prevent the last page with only footer.

Read only

alex_m
Active Contributor
0 Likes
786

You need to give more clarity to your question.. The footer window you define does it have any condition check?.

Read only

Former Member
0 Likes
786

On each and every widow you will be having some additional events

i think you can control the operation with them

Read only

Former Member
0 Likes
786

I have main loop

and two tables

according to looping value

need to print tables values

after each looping value we need to go to new page

in this case i handle by using command line

after ending loop running

my problem is after ending loop statment again executing command line for new page how can i avoid this

Read only

0 Likes
786

As i already mentioned, first count number of lines in the internal table. Then in the command line, conditions tab, put a condition sfsy-page < no.of lines in internal table.

Read only

Former Member
0 Likes
786

Dear Friends

I have done by my self thanks lot for your valuable answers

Dear Balaji

My solution also very smiler to your post how ever i have given few points for you

Thanks again all of you