cancel
Showing results for 
Search instead for 
Did you mean: 

How to maintain different heights of main window in each page?

Former Member
0 Kudos

How can we have different heights of main windows on last page (where we have our footer) and other pages (where we don't have footer).

We can't always have the same height on the first page because if the output is of 1 page we need to have footer also on the first page and then the actual height of the main window should be reduced to accommodate that.

My Scenario is :

1.If suppose we have 30 lines of table will be populated in the first page. Page contains only 20 lines space.So definitely remaining 10 lines of printing will be populated in the next page and the footer needs to be come after 10 lines printing.t

2.In second case my table having ticonly 10 records.so 10 records automatically printed in the first page.Then footer follows the 10 lines of printing.

So how can we manage this case.

Accepted Solutions (0)

Answers (3)

Answers (3)

nabheetscn
Active Contributor
0 Kudos

You can use the footer which is there in table of main window. In this way the resizing of the footer will happen. It will always be printed once all line items are done. Dont use a separate window for footer as it will be at fixed margin.

Nabheet

Former Member
0 Kudos

In forms, the main window is usually of different heights (and placement sometimes) on each page.  In SAPScript, only the same width (and that's logical, isn't it?) is enforced.    Just put the MAIN window where you want on each defined page, and be sure it's the same width in every page you've defined in the form. You have pages defined by name, often like FIRST, the next page for that is NEXT, the next page for that is NEXT or perhaps LAST.   Put the footer on the bottom of each page and use it when you need it, either on every page or only on last or ??

former_member585060
Active Contributor
0 Kudos

Hi,

     We can have different heights for MAIN window but the width of the MAIN window will be always constant in all the pages, just adjust the height of the MAIN window in each page.

Thanks & Regards

Bala Krishna