Skip to content

/AWS1/CL_BCDSAVGPLANSUTILQUERY

Defines the parameters for querying Savings Plans utilization data, including time granularity and sorting preferences.

CONSTRUCTOR

IMPORTING

Required arguments:

io_timerange TYPE REF TO /AWS1/CL_BCDDATETIMERANGE /AWS1/CL_BCDDATETIMERANGE

Defines a time period with explicit start and end times for data queries.

Optional arguments:

iv_granularity TYPE /AWS1/BCDGRANULARITY /AWS1/BCDGRANULARITY

The time granularity of the retrieved data: HOURLY, DAILY, or MONTHLY.

io_filter TYPE REF TO /AWS1/CL_BCDEXPRESSION /AWS1/CL_BCDEXPRESSION

Defines complex filtering conditions using logical operators (AND, OR, NOT) and various filter types.


Queryable Attributes

timeRange

Defines a time period with explicit start and end times for data queries.

Accessible with the following methods

Method Description
GET_TIMERANGE() Getter for TIMERANGE

granularity

The time granularity of the retrieved data: HOURLY, DAILY, or MONTHLY.

Accessible with the following methods

Method Description
GET_GRANULARITY() Getter for GRANULARITY, with configurable default
ASK_GRANULARITY() Getter for GRANULARITY w/ exceptions if field has no value
HAS_GRANULARITY() Determine if GRANULARITY has a value

filter

Defines complex filtering conditions using logical operators (AND, OR, NOT) and various filter types.

Accessible with the following methods

Method Description
GET_FILTER() Getter for FILTER