Liquid UI - Documentation - 6.29 windowsize()

6.29 windowsize()


Purpose

With windowsize(), you can re-size or re-position popup windows in SAP.


Syntax

windowsize([startrow,startcol,width,height]);


Property

  • startrow, startcol - window co-ordinates.
  • width, height - height and width of window on SAP screen.


Options

The windowsize() command does not take any options.


Example

The following examples demonstrates the usage of the windowsize() command:

Repositioning & Resizing popup windows

  1. Navigate to SAP Easy Access screen.
  2. Execute the transaction code, /o.
  3. Popup window appears, as shown in the figure:
  1. Create the script file with the filename, RSM04000_ALV.E2000.sjs, with the following commands:
    windowsize([25,4,63,8]);
  2. Refresh the screen.
  3. The popup window appears resized, as shown in the figure:


Usage Details


Can't find the answers you're looking for?