on 04-02-2007 7:59 AM
Hi all,
i hav a form in which am using Header Main and Footer windows.
My requirement is to print the footer in the same page, if there are only some line items in main window ( for ex 3).
In case, If there are around 25 line items the main window, it should be etended to the next page, and after that the footer should
be printed . can any body advice ..
Regards
sandeep
HI..,
in the main program u can do this...
<b>call function 'OPEN_FORM'.
LOOP at t_data.
...........
passing variables to scripts.....
..........
if sy-tabix eq 25.
call function 'CONTROL_FORM'
command = 'NEW-PAGE'.
endif.
ENDLOOP.
call function 'WRITE_FORM'
window = 'FOOTER'.
callfunction 'CLOSE_FORM'.
</b>
plz do remember to close the thread,,, when ur problem is solved !!
reward if it helps u...
sai ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
I think u want to print the details of bottom in end of the last page.
if yes
IF &NEXTPAGE& eq 0.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
26 | |
9 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.