Skip to content

/AWS1/CL_BDCVIEWPORT

The configuration that defines the dimensions of a browser viewport in a browser session. The viewport determines the visible area of web content and affects how web pages are rendered and displayed. Proper viewport configuration ensures that web content is displayed correctly for the agent's browsing tasks.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_width TYPE /AWS1/BDCVIEWPORTWIDTH /AWS1/BDCVIEWPORTWIDTH

The width of the viewport in pixels. This value determines the horizontal dimension of the visible area. Valid values range from 800 to 1920 pixels.

iv_height TYPE /AWS1/BDCVIEWPORTHEIGHT /AWS1/BDCVIEWPORTHEIGHT

The height of the viewport in pixels. This value determines the vertical dimension of the visible area. Valid values range from 600 to 1080 pixels.


Queryable Attributes

width

The width of the viewport in pixels. This value determines the horizontal dimension of the visible area. Valid values range from 800 to 1920 pixels.

Accessible with the following methods

Method Description
GET_WIDTH() Getter for WIDTH, with configurable default
ASK_WIDTH() Getter for WIDTH w/ exceptions if field has no value
HAS_WIDTH() Determine if WIDTH has a value

height

The height of the viewport in pixels. This value determines the vertical dimension of the visible area. Valid values range from 600 to 1080 pixels.

Accessible with the following methods

Method Description
GET_HEIGHT() Getter for HEIGHT, with configurable default
ASK_HEIGHT() Getter for HEIGHT w/ exceptions if field has no value
HAS_HEIGHT() Determine if HEIGHT has a value