When a screen is resized, a PBO-event is triggered. The size of the screen can be determined by sy-scols and sy-srows, given the number of columns and rows in the window. For "Default" size, these are 86 and 22 respectively (on my system at least!).
Dig Deeper on SAPscript and Smart Forms
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.