SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software SAP ABAP Programming and HANA Database Tutorials
Development resources, articles, tutorials, code samples and tools and downloads for ASP.Net, SQL Server, R Script, Windows, Windows Phone, AWS, SAP HANA and ABAP, like SAP UI5, Screen Personas, etc.

Install SAP Free

Window MAIN does not fit onto page PAGE (height)

Call transaction code smartforms in order to open SAP Smartforms editor.
Click on Form Attributes node under Global Settings section of related SAP Smartform output.
On the right, switch to Output Options tab.
There you will see Page Format option.

SAP Smart Form Page Format

If you display available formats for Smartform output page format, a list of defined page formats with width and height values will be displayed.

page formats for SAP Smartform output

Although I changed the page format to a larger page layout both in width and height, I got a the below error messages list when I tried to activate the Smartform itself.
It was an interesting error message "Window MAIN does not fit onto page PAGE (height)" because I choose a page layout format which is bigger in width and height.
I increased page width from 293 mm to 297 mm. I also increased page height from 203 mm to 210 mm.

Window MAIN does not fit onto page PAGE (height)

I played around with position of the windows on pages but I got continuing error messages.

At last I found the cause of the error.
Drill through pages under Pages and Windows form section.
Click on the page "Page" you get error messages about. Switch to Output Options tab on the right screen.
There is Print Attributes section where you can select Portrait Format or Landscape Format. Since the invoice output layout is landscape, I tried to choose it since portrait format was selected. When I choose landscape format, the below error message "PAGE FORMAT landscape format not possible"

PAGE FORMAT landscape format not possible

"PAGE FORMAT landscape format not possible" message lead me to the solution of "Window MAIN does not fit onto page PAGE (height)" error messages on SAP Smartform.
Although the width and height information was defined, the portrait format was not defined for the related Page Format that I selected.

SAP Tutorials

SAP Tutorial

SAP Forums

SAP Tools

SAP Transaction Codes Table

Meetup Sunumu 1 meetup

Related Articles and Tutorials(http://www.kodyaz.com/sap-abap/smartform-window-does-not-fit-onto-page-height.aspx)
Free Adobe LiveCycle Designer Download
SAPScript Transaction Codes
Change Output Condition Records
Convert Smartform to PDF in Print Preview Mode
SAP Invoice Output ZZZZ is not Defined
Email Spool Request using SAPOffice - Spool to PDF
How to Debug SmartForms - Debugging SAP SmartForm in ABAP ?
SAP Invoice Output Determination Analysis for Not Created Output Message
SAP Smartforms - How to Call Smartform within ABAP Program
SAP Smartforms Table for Sales Order and Invoice Outputs
SAP Smartforms Tutorial - How to Create Smartform
SAP Smartforms Tutorial - Create Smartforms Example
SAP Smartforms Tutorial - Table Calculations using Count
SAP Smartforms Tutorial - Table Calculations using Sum Total
Adobe Forms Table Header is Missing After Second Page
Message no XS826: Cannot process message; no node determined for 76550052
Complex Conditions in SAP Smartform with AND/OR
How to Spell Numbers using ABAP Spell_Amount Function Module
Delete Entries in NAST Table using RSCLNAST ABAP Program
How to Export IDOC as Excel and Save as Local File from WE02 Transaction
Export SAP Spool Requests as PDF using SP01 Transaction
How to Find Output Determination Procedure for a Billing Document
Export SAP Data to Fixed Length Text File
How to Disable Word Editor in SAP Smartform Text
Import and Export SO10 Standard Text using RSTXSCRP ABAP Program
Move Minus Sign from Right to Left of Negative Number in SAP Smartform
Print SAP Outputs From Two Printers at the Same Time
Get Proforma Invoice from Commercial Invoice in ABAP
SAP Output Management - Create New SAP Output Type
SAP Purchase Order Tables, Transaction Codes and Output
Graphics White Background Displayed Grey on SAP Smartform Output
SE63 Smartform Translation and Export using SLXT Program
Window MAIN does not fit onto page PAGE (height)
SAP Smartforms Table Parameter in Form Routine
Trigger Output Re-Determination for Billing Documents
VF31 SAP Transaction to Reprocess Billing Output Messages
Web DynPro Tutorial - Display Spool Requests using Web DynPro Table

Copyright © 2004 - 2020 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems