Skip to content

/AWS1/CL_LSAESTIMATEBYTIME

An estimate that's associated with a time period.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_usagecost TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The amount of cost or usage that's measured for the cost estimate.

iv_pricingunit TYPE /AWS1/LSAPRICINGUNIT /AWS1/LSAPRICINGUNIT

The unit of measurement that's used for the cost estimate.

iv_unit TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.

iv_currency TYPE /AWS1/LSACURRENCY /AWS1/LSACURRENCY

The currency of the estimate in USD.

io_timeperiod TYPE REF TO /AWS1/CL_LSATIMEPERIOD /AWS1/CL_LSATIMEPERIOD

The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.


Queryable Attributes

usageCost

The amount of cost or usage that's measured for the cost estimate.

Accessible with the following methods

Method Description
GET_USAGECOST() Getter for USAGECOST, with configurable default
ASK_USAGECOST() Getter for USAGECOST w/ exceptions if field has no value
STR_USAGECOST() String format for USAGECOST, with configurable default
HAS_USAGECOST() Determine if USAGECOST has a value

pricingUnit

The unit of measurement that's used for the cost estimate.

Accessible with the following methods

Method Description
GET_PRICINGUNIT() Getter for PRICINGUNIT, with configurable default
ASK_PRICINGUNIT() Getter for PRICINGUNIT w/ exceptions if field has no value
HAS_PRICINGUNIT() Determine if PRICINGUNIT has a value

unit

The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.

Accessible with the following methods

Method Description
GET_UNIT() Getter for UNIT, with configurable default
ASK_UNIT() Getter for UNIT w/ exceptions if field has no value
STR_UNIT() String format for UNIT, with configurable default
HAS_UNIT() Determine if UNIT has a value

currency

The currency of the estimate in USD.

Accessible with the following methods

Method Description
GET_CURRENCY() Getter for CURRENCY, with configurable default
ASK_CURRENCY() Getter for CURRENCY w/ exceptions if field has no value
HAS_CURRENCY() Determine if CURRENCY has a value

timePeriod

The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.

Accessible with the following methods

Method Description
GET_TIMEPERIOD() Getter for TIMEPERIOD

Public Local Types In This Class

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

TT_ESTIMATESBYTIME

TYPES TT_ESTIMATESBYTIME TYPE STANDARD TABLE OF REF TO /AWS1/CL_LSAESTIMATEBYTIME WITH DEFAULT KEY
.