2009 Jul 09 8:52 AM
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
On each and every widow you will be having some additional events
i think you can control the operation with them
2009 Jul 09 9:05 AM
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.
2009 Jul 09 9:05 AM
You need to give more clarity to your question.. The footer window you define does it have any condition check?.
2009 Jul 09 10:03 AM
On each and every widow you will be having some additional events
i think you can control the operation with them
2009 Jul 09 10:32 AM
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
2009 Jul 09 10:41 AM
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.
2009 Jul 09 11:45 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |