on 10-28-2009 1:05 PM
Hi Guru's,
I am working on smartforms . It conatins two different page formats . My first page only contains Main window . Last page conatains only text element . In first page contains footer window and header window .When main window excedding the first page it is not using the Footer space .When it is exceding the first page continue data i want to print on second page . How can i print two different page formats . I want print the data of mainwindow after first page into second page . Last page is always constant How can i do this one .
Please help me to solve the problem .
Regards
Nandan.N
Hi,
For the first page attributes, give nextpage as SECOND , then this will be triggered when the first page overflows.If you want a LAST Page ( Constant Page) to be printed , give it in output conditions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you have written anything in the footer of table inside main window, then it would print only after end of the main window, that is on second page.
If you want footer to be printed on all pages, then make a separate window after main window in all pages, then it will be triggered for all pages.
HI,
Ok , Thanks For your reply .
1. In Bill of ladding one field is there in table it is same in all line items . Thats why i want to Print only one time . I am using one global varaible like BOLVL with initial value 0. In table i written code bolvl = bolvl + 1. I given condition bolvl = 1 in true condition i am printing Bill of ladding But it is not printing .
2. In table main area contains 8 line items but it is printing 7 line items in first page after that it is printing first 2 line of the footer .
In next page it is printing remaining line item and footer . But i required after completion of main area.
Regards
Nandan.N
Hi,
1. If the field is same for all line items, then use the conditional break statement in the main window to print it only once ( if the field is in internal table ).
If it is not in table, then place it in a separate window, then u can print it once.Or give it in a condition IF &SFSY-PAGE& EQ 1, then display it ( this is when you want it only on first page ).
2. As I have said already, if you want the footer to be printed after all line items, then place it in the footer of the table in main window .It will be printed only after all line items.
Hi,
As per my understanding you have created three pages.
Page1 and page2 and Last page .
Page1 nextpage is page2.
If you are printing say only one sales document number related items,
then for your second page, give next page as SECOND only because, there can be more line items that can overflow second page also,so if your second page's next is last, then it will trigger last immediately.
So, it is better u declare in the footer , a command saying it shud now trigger LAST page.
"And if you have to display many document numbers related items, then your LAST page next shud be FIRST ."
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.