/AWS1/CL_CNTMETRICCALCULATION¶
Contains the formula and component metrics that define a custom metric calculation.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
it_calculationcomponents TYPE /AWS1/CL_CNTCALCCOMPONENT=>TT_CALCULATIONCOMPONENTLIST TT_CALCULATIONCOMPONENTLIST¶
The list of component metrics referenced in the calculation formula. Each component has an alias used in the formula expression.
iv_calculation TYPE /AWS1/CNTCALCULATIONEXPRESSION /AWS1/CNTCALCULATIONEXPRESSION¶
The formula expression that defines how the metric is calculated. Uses component aliases (for example,
100 * SUM(M1) / SUM(M2)).
Queryable Attributes¶
CalculationComponents¶
The list of component metrics referenced in the calculation formula. Each component has an alias used in the formula expression.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CALCULATIONCOMPONENTS() |
Getter for CALCULATIONCOMPONENTS, with configurable default |
ASK_CALCULATIONCOMPONENTS() |
Getter for CALCULATIONCOMPONENTS w/ exceptions if field has |
HAS_CALCULATIONCOMPONENTS() |
Determine if CALCULATIONCOMPONENTS has a value |
Calculation¶
The formula expression that defines how the metric is calculated. Uses component aliases (for example,
100 * SUM(M1) / SUM(M2)).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CALCULATION() |
Getter for CALCULATION, with configurable default |
ASK_CALCULATION() |
Getter for CALCULATION w/ exceptions if field has no value |
HAS_CALCULATION() |
Determine if CALCULATION has a value |