Entering content frame

Background documentation Activity EARLY_PROMOTION Locate the document in its SAP Library structure

With this activity the system follows specific criteria to check which data source contains the first valid promotion value. The promotion values of the corresponding data sources form the basis of this check. The system then transfers the total from the baseline forecast values and promotion values of the data source it determined period by period to the combined key figure.

You can use this activity if you have promotion values that were planned period-specifically. If at least one data source provides values that were not planned period-specifically, use activity PROMOTION_CUM_DELTA.

The following parameters are available for the activity EARLY_PROMOTION:

Parameter

Meaning

DS_BASELINE

Baseline forecast key figures and their data sources

DS_EVENT

Promotion key figures and their data sources

DS_PRIORITY

Data source the system uses if it cannot make a distinct decision.

CANCEL_ZERO

Number of chronological periods without promotion. The system begins a new cumulation in the next period.

THRESHOLD_1

Threshold value factor that refers to the greatest cumulated value and results in the discrepancy interval. (Example: If the threshold value factor is 0.2, the system calculates the discrepancy interval 40 to 60 for the value 50.)

PERIOD_SELECT

Start and end periods of the time frame for which you execute the activity

Activity class: /SAPAPO/CL_DC_EARLY_PROMO

Example

You have defined the following parameter values for the following example:

Parameter

Data Source

Start Value

End Value

DS_BASELINE

01

PROG_01

 

 

02

PROG_02

 

DS_EVENT

01

PROM_01

 

 

02

PROM_02

 

DS_PRIORITY

01

 

 

CANCEL_ZERO

 

2

 

THRESHOLD_1

 

0.2

 

PERIOD_SELECT

 

1

7

In this example, the time frame defined for the activity begins in calendar week 36 (CW 36) and ends in CW 42. The values for the baseline forecast key figures and promotion key figures are as follows for this time frame:

This graphic is explained in the accompanying text

Cumulating the Promotion Values

First, the system only considers the promotion values. As you can see in the next figure, the system cumulates the promotion values period by period for each data source.

This graphic is explained in the accompanying text

The system continues cumulating until the number of periods without promotion defined under CANCEL_ZERO has been reached in a data source. In this example, there are no promotion values in CW 39 or CW 40. The cumulation interval therefore ends in CW 40 and the system begins to cumulate the values again beginning with CW 41.

Ascertaining the Discrepancy and Determining the Data Source

The system then compares the cumulated values across the entire time frame that you have defined for the activity. To do so, it checks for each period whether the cumulated values of the individual data sources deviate by the threshold value factor from the greatest cumulated value. The system executes this check as follows:

...

       1.      In this example, the system begins the comparison in CW 36. The discrepancy between the two cumulated values is greater in this period than the defined threshold value factor of 0.2. The deviation from the greater value 70 is between 50 and 90. The value 0 is therefore outside of the discrepancy interval.

The system does not determine a result and checks the next period (CW 37). The discrepancy is again outside the interval. In CW 38, the lower value (75) is within the discrepancy interval of the greater value (80), since the deviation from value 80 is between 64 and 96.

       2.      The system now returns to the first period in which the value is outside of the discrepancy interval (CW 36) and considers the time frame up to the period in which the value is within the discrepancy interval (CW 38). Based on the discrepancy interval from CW 38, the system looks for the earliest cumulated value that is within this interval. As a result, it determines the value 70 in data source 02 in CW 36. Data source 02 is therefore valid for the time frame CW 36 to CW 38.

Note

To ensure that the system can determine the data source, the result must be unique. In other words, only one single value can apply within one period. If several values apply, the data source defined with DS_PRIORITY is valid.

       3.      The system then continues with CW 39 and checks the discrepancy between the cumulated values. The discrepancy is within the discrepancy interval. Since the system cannot determine a unique result for one period, the data source defined with DS_PRIORITY is valid. The same is true for CW 40.

       4.      In CW 41, the lower value is outside the discrepancy interval. In CW 42, the lower value (35) is within the discrepancy interval of the greater value (40). The deviation from the greater value is between 32 and 48. The system now returns to CW 41. Since there is no value in CW 41 that is within the discrepancy interval determined previously, the system cannot determine a unique result. Therefore, the data source defined with DS_PRIORITY is valid.

The system has now determined a data source for each period.

Periods

Data Source

CW 36 to CW 38

Data source 02

CW 39 to CW 40

Data source 01

CW 41 to CW 42

Data source 01

Addition of the Key Figure Values

The system adds the baseline forecast values and promotion values of the corresponding data sources and transfers the totals to the combined key figure.

This graphic is explained in the accompanying text

 

Leaving content frame