/AWS1/CL_BCPUSAGEQUANTITYRSLT¶
Represents the result of a usage quantity calculation.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_amount TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The numeric value of the usage quantity result.
iv_unit TYPE /AWS1/BCPSTRING /AWS1/BCPSTRING¶
The unit of measurement for the usage quantity result.
Queryable Attributes¶
amount¶
The numeric value of the usage quantity result.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AMOUNT() |
Getter for AMOUNT, with configurable default |
ASK_AMOUNT() |
Getter for AMOUNT w/ exceptions if field has no value |
STR_AMOUNT() |
String format for AMOUNT, with configurable default |
HAS_AMOUNT() |
Determine if AMOUNT has a value |
unit¶
The unit of measurement for the usage quantity result.
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 |