Skip to content

/AWS1/CL_BCDWIDGET

A configurable visualization component within a dashboard that displays specific cost and usage metrics. Each widget can show data as charts or tables and includes settings for data querying, filtering, and visual presentation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_title TYPE /AWS1/BCDWIDGETTITLE /AWS1/BCDWIDGETTITLE

The title of the widget.

it_configs TYPE /AWS1/CL_BCDWIDGETCONFIG=>TT_WIDGETCONFIGLIST TT_WIDGETCONFIGLIST

An array of configurations that define the data queries and display settings for the widget.

Optional arguments:

iv_description TYPE /AWS1/BCDDESCRIPTION /AWS1/BCDDESCRIPTION

A description of the widget's purpose or the data it displays.

iv_width TYPE /AWS1/BCDWIDGETWIDTH /AWS1/BCDWIDGETWIDTH

The width of the widget in column spans. The dashboard layout consists of a grid system.

iv_height TYPE /AWS1/BCDWIDGETHEIGHT /AWS1/BCDWIDGETHEIGHT

The height of the widget in row spans. The dashboard layout consists of a grid system.

iv_horizontaloffset TYPE /AWS1/BCDINTEGER /AWS1/BCDINTEGER

Specifies the starting column position of the widget in the dashboard's grid layout. Used to control widget placement.


Queryable Attributes

title

The title of the widget.

Accessible with the following methods

Method Description
GET_TITLE() Getter for TITLE, with configurable default
ASK_TITLE() Getter for TITLE w/ exceptions if field has no value
HAS_TITLE() Determine if TITLE has a value

description

A description of the widget's purpose or the data it displays.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

width

The width of the widget in column spans. The dashboard layout consists of a grid system.

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 widget in row spans. The dashboard layout consists of a grid system.

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

horizontalOffset

Specifies the starting column position of the widget in the dashboard's grid layout. Used to control widget placement.

Accessible with the following methods

Method Description
GET_HORIZONTALOFFSET() Getter for HORIZONTALOFFSET

configs

An array of configurations that define the data queries and display settings for the widget.

Accessible with the following methods

Method Description
GET_CONFIGS() Getter for CONFIGS, with configurable default
ASK_CONFIGS() Getter for CONFIGS w/ exceptions if field has no value
HAS_CONFIGS() Determine if CONFIGS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_WIDGETLIST

TYPES TT_WIDGETLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_BCDWIDGET WITH DEFAULT KEY
.