The IBP_COVERAGE function can calculate coverage for a key figure in one step.
You can use the IBP_COVERAGE function for a variety of business scenarios. One of the most common ones is calculating Days of Coverage and Projected Stock.
Coverage calculation is more technically involved than simpler functions, like Period Shift. Building a calculation chain where this function is used several times can come with a performance impact.
Mandatory and Optional Parameters of Coverage Function
- Input key figure at the input planning level or a constant (mandatory parameter). It represents the amount that must be covered.
- Input key figure at the input planning level (mandatory parameter). It represents the amount that is covering the first parameter.
- Input key figure at the input planning level or a constant (positive number). Values of the third parameter are summed for all time periods where the second parameter covers the amount of the first parameter. If the second parameter covers only a fraction of the amount of the first parameter for a given time period, the same fraction of the third parameter in the given time period is included in the aggregation.
- Start of coverage (mandatory parameter). This parameter determines whether coverage calculation starts with the value of the current or next bucket.
- Possible values are: NEXTBUCKET and CURRENTBUCKET
- Zero coverage (mandatory parameter). This parameter determines if the zero value of the second parameter can cover the zero value of the first parameter
- Possible values are: USEZEROSTOCK and IGNOREZEROSTOCK
- Calculation horizon (mandatory parameter)
- Possible values: PAST, PASTCURRENT, PASTCURRENTFUTURE, CURRENT, CURRENTFUTURE, and FUTURE.
- If you use one key figure for coverage, regardless of the horizon, use the PASTCURRENTFUTURE value for this parameter.
- Infinite coverage (optional parameter). It notifies the planner that the value of the second parameter for a time period is larger than the sum of the values of the first key figure in all the subsequent periods in the planning horizon. It has to be an integer (high number).
- Number of time periods (optional parameter). It can only be used if the previous parameter has been defined. It limits the time window across which coverage is calculated.
Coverage function can be used at REQUEST.
Coverage is not an aggregator function. The input planning levels and the output planning level must have an identical structure containing the same set of attributes, including the same set of root attributes.
The IBP_COVERAGE function can’t be used at the base planning level in the calculation graph of a key figure used as the input or output of a supply planning or forecast consumption operator.