on 02-24-2012 11:03 AM
We have a form that includes a long text in the main window. When the length of the text is more than will fit on a single page, the system automatically starts the text on a new page. This is not a problem in itself, but when this occurs on the first item it results in a blank first page.
Is there any way to suppress the automatic page break that is created for text that does not fit on a page.
Dear Mike,
Can you explain as to how you have included the "Text include " inside the main window.Have you just placed it inside the main window or you are using a table/loop etc under which you have placed it.
regards,
Rijuraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To Clarify, this only occurs when the text is longer than will fit on a single page. If the text is short enough to fit, then it appears on the first page correctly.
Also I have another very similar form where the text displays correctly, so there must be some subtle difference that I have not been able to identify that is causing this error to occur.
I do not want to have additional page breaks between items. The ideal would be for there to be no page breaks at all between items.
Hi,
Try the following:
1) Inside the MAIN window create one LOOP where you loop at the internal table into work area.
2)Inside loop create one node for PROGRAM LINES.In that calculate the number of lines in that table and compare values of the sy-tabix with the total number of lines of the table.If sy-tabix is less then or equal to the total number of lines of the table,set a flag.
3) Inside that program lines create one COMMAND node and in that node in the GENERAL ATTRIBUTES tab give the next page as the FIRST PAGE(the current page name) and then in the CONDITION tab check if the flag is not initial.
This way a new page will get triggered only for change in line item.
Hope it serves useful to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try
main window --> text --> condition --> print in first page only
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.