on 08-18-2010 11:57 AM
Dear All,
Can we trigger page breaks while printing table of data. Here I need to trigger new page from a table. For instance, I have a scenario like this,
IITAB contains 25 lines with 5 Feilds(ie. F1,F2,F3,F4,F5). I am displaying this data using table.Now i need to trigger a new page when ever value changes in F5. So is it possible to perform in table display. If possible, How to perform it.
Thanks in Advance
I would use logic like:
loop at tab.
. . .
if tab-keyfield ne lv_last_key.
if sy-tabix gt 1.
new-page.
endif.
lv_last_key =tab-keyfield.
endif.
. . .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friend,
We can do page protection functionality inside table of main window using Folders option. Follow the below steps,
1. Assume rows are created inside table in a main window, with corresponding line types.
2. Create a folder named PROTECT inside table, for example in Main area of table.
3. Just drag and drop your Row(s) into folder PROTECT and simply click page protection check box of the folder PROTECT.
4. This will help you to add the required functionality using Folders option in smartform.
If you still face any other problem kindly reply to this post.
Cheers...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
REPORT <REPORT Name> NO STANDARD PAGE HEADING LINE-SIZE 1023 LINE COUNT 5.
Use Line count in the report header for Page Breaks.
if you dont know the lines in internal table try this way..
loop at itab.
if itab-f5 ne <old f5 value>.
new-page.
endif.
endloop.
Regards,
Prabhduas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.