IBP _PERIODSHIFT function allows to configure period shift in one step, instead of using complicated attribute transformations.
The following are types of period shift:
- Shifting by a fixed number:
Key Figure values are shifted by time periods.
Use a constant to define the number of periods by which you want to shift the input key figure.
The number has to be either a positive integer (you shift into the future) or a negative integer (you shift into the past).
The most common usage will be to shift the value of actual quantity into the future by 12 months, to enable year-over-year view.
- Shifting by an attribute (attribute is a time profile attribute):
In this case, the attribute is assigned to the time profile for each period. You may consider creating an aggregation calculation on top of the IBP_PERIODSHIFT function to define how the key figure value is calculated from the multiple values of the given time buckets.
The value of the attribute has to be an integer.
Example: LAG is a time profile attribute, part of the MTHPRODLOC. It can be one value during one year and another value next year.
- Shifting by an attribute (not a time profile attribute):
LEADTIME is an attribute to indicate lead times for supply planning for shifting key figures. Different products can have different lead times in terms of shipping depending on the product characteristics. For example, in a case of actual quantity shift, value can be shifted by 1 for Product, by 2 for Product 2, and so on depending on the master data.
- Shifting by a key figure:
Key figure is used to define the number of periods by which you want to shift the input key figure. If you shift a key figure by another key figure, you might end up with multiple values in some of the time buckets and aggregation calculation will be required.
In case of decimals, the default rounding method is used.