2014 Nov 07 2:44 PM
Hi All,
I am facing problem in page break.
We have two pages in a smartform. Both Pages are having different header and item details.
While using page break in the first page main window. The main window of the second page is not displaying but the header details are displaying.
Please help me in resolving it out.
Regards
Akshat
Hi All,
I am facing problem in page break.
We have two pages in a smartform. Both Pages are having different header and item details.
While using page break in the first page main window. The main window of the second page is not displaying but the header details are displaying.
Please help me in resolving it out.
Regards
Akshat
2014 Nov 10 5:58 AM
Hi Akshat,
Please check whether you have given any condition on Main window?
2014 Nov 10 6:03 AM
Hi Akshat,
Were do you want to apply the page break, please elaborate.
2014 Nov 10 9:19 AM
Hi Thangam,
We have not given any condition on main window,
Regards
Akshat
2014 Nov 10 9:42 AM
Hi Shadab,
I want to apply the page break after the end of first page main window.
Regards
AKshat
2014 Nov 10 9:47 AM
Hi Akshat,
Is there a table in second page main window.?
You can set the page break here for your table please check the screen shot(choose the correct line type here which you have used in your main body).
2014 Nov 10 12:47 PM
No, those checkboxes control something entirely different - whether or not the contents of that table row can split over two pages on pagebreak, or if the row in its entirety should appear on the next page.
Once again, this time from the SAP Help:
Main Window on Several Draft Pages
Even though only one main window per form is allowed, you can copy it to several draft pages. Each main window then points to the same output control. You use this technique if you want the pages on which a table with items is printed to have different layouts. Height and position of the main window may differ on the different pages, but the width must remain the same throughout.
One can either have the same main window copied to all of pages of the form, OR one can have several, differently named main windows, but then the main windows on second and subsequent pages must not have any content assigned to them. If there is content assigned to second and subsequent differently named main window, it will not be output.
cheers
Janis
2014 Nov 10 7:57 AM
Hi,
There can only be one main window with contents defined per form. So on the second page you can only change the attributes of main window like position, height (but not width!), shading, etc.
cheers
Jānis
2014 Nov 10 9:51 AM
Have you checked output without any page break. Please check once.
BR,
Prakash
2014 Nov 10 9:52 AM
u have to share the MAIN window defined over the pages
so for example - group your logics/templates/tables etc in folders - and apply a condition on the folders - depending on the page number
i.e.
if &SFSY-PAGE& = 1
if &SFSY-PAGE& # 1
etc
this way you can control what elements in main window get printed on which page
2014 Nov 14 10:36 AM
2014 Nov 14 12:10 PM