on 12-12-2007 3:06 PM
Hi All..
I want to vary the line count in a page in my report.
I have mentioned the line size n line count at the starting of the report, n it prints the same no of lines in every page but in the subsequent pages , I want to increase the line count .
How can I do that ?
Thanks.
You can specify them using the NEW-PAGE.
Like:
LOOP AT ITAB.
IF SY-TABIX > 10.
NEW-PAGE LINE COUNT 10. " <<
ENDIF.
WRITE: / ITAB-FIELD1.
ENDLOOP.
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naimesh..
thanks for the reply .
well,the code u suggested does not work..NEW-PAGE is jus a standalone command with which the line count cannot be associated.
I actually have some header details that shud only appear on 1st page , n basing on the line count all works fine on 1st page ..but on the 2nd page the header details ned not appear , so only the itab details are getting printed , so the sy-tabix value remains the same but the line count is less than the 1st page leaving some space at the bottom of the page .
And in the subsequent pages the printing takes place but from the begining of the page n also leaving more space at the bottom of the page.
I want that equal no of lines get printed each page , also leaving equal no of lines at the bottom of each page.
Hope I'm sounding clear.
Any answers ?
Thanks.
Sangeet.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.