Skip to content

/AWS1/CL_BCOUSAGE

Details about the usage.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_usagetype TYPE /AWS1/BCOSTRING /AWS1/BCOSTRING

The usage type.

iv_usageamount TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The usage amount.

iv_operation TYPE /AWS1/BCOSTRING /AWS1/BCOSTRING

The operation value.

iv_productcode TYPE /AWS1/BCOSTRING /AWS1/BCOSTRING

The product code.

iv_unit TYPE /AWS1/BCOSTRING /AWS1/BCOSTRING

The usage unit.


Queryable Attributes

usageType

The usage type.

Accessible with the following methods

Method Description
GET_USAGETYPE() Getter for USAGETYPE, with configurable default
ASK_USAGETYPE() Getter for USAGETYPE w/ exceptions if field has no value
HAS_USAGETYPE() Determine if USAGETYPE has a value

usageAmount

The usage amount.

Accessible with the following methods

Method Description
GET_USAGEAMOUNT() Getter for USAGEAMOUNT, with configurable default
ASK_USAGEAMOUNT() Getter for USAGEAMOUNT w/ exceptions if field has no value
STR_USAGEAMOUNT() String format for USAGEAMOUNT, with configurable default
HAS_USAGEAMOUNT() Determine if USAGEAMOUNT has a value

operation

The operation value.

Accessible with the following methods

Method Description
GET_OPERATION() Getter for OPERATION, with configurable default
ASK_OPERATION() Getter for OPERATION w/ exceptions if field has no value
HAS_OPERATION() Determine if OPERATION has a value

productCode

The product code.

Accessible with the following methods

Method Description
GET_PRODUCTCODE() Getter for PRODUCTCODE, with configurable default
ASK_PRODUCTCODE() Getter for PRODUCTCODE w/ exceptions if field has no value
HAS_PRODUCTCODE() Determine if PRODUCTCODE has a value

unit

The usage unit.

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
HAS_UNIT() Determine if UNIT 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_USAGELIST

TYPES TT_USAGELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_BCOUSAGE WITH DEFAULT KEY
.