Demand Planning Configuration
Demand Planning Configuration
Demand Planning Configuration
• OLTP: Current planning data from your R/3 system such as Sales
Orders, Stock, Production/Purchase Orders. This data uses the CIF to
populate SAP APO.
vishnuop@sapanalyst.net 1/49
vishnu pathangi 2/49
vishnuop@sapanalyst.net 2/49
vishnu pathangi 3/49
Once in the screen, select from the selection list “Planning Object
Structures” as shown below.
vishnuop@sapanalyst.net 3/49
vishnu pathangi 4/49
1. Brand ZV_BRND
2. Product 9AMATNR
3. Location 9ALOCNO
4. Customer ZV_CUST
5. Sales org ZV_SORG
For the Key figures we would have to get back to planning area screen
and copy some defined key figures from 9ADP01.
From the drop-down menu, select Planning Area and then double click
on the planning area 9ADP01
vishnuop@sapanalyst.net 4/49
vishnu pathangi 5/49
vishnuop@sapanalyst.net 5/49
vishnu pathangi 6/49
Click on the Key figs tab to see the available key figures.
vishnuop@sapanalyst.net 6/49
vishnu pathangi 7/49
You have several ways to enter BW in SCM, from the same screen click
vishnuop@sapanalyst.net 7/49
vishnu pathangi 8/49
To create Info area, right click on Info provider and select create info
area
vishnuop@sapanalyst.net 8/49
vishnu pathangi 9/49
For this, select info objects, and right click on your info area and select
create info objects catalog
vishnuop@sapanalyst.net 9/49
vishnu pathangi 10/49
In the next screen click on activate icon to activate the char info obj
catalog.
The system will ask for package details. For test purpose we shall
assign it to /SAPapo/demand_planning
vishnuop@sapanalyst.net 10/49
vishnu pathangi 11/49
Once the required info for the transport is entered and saved you
would see the char info objects created as shown below
In the same manner create another catalog for Key figures. Once both
are completed you should be able to see them under the infoobjects
Next and the last step in this BI are to create info objects for the
characteristics and keyfigures. (The characteristics that we discussed
vishnuop@sapanalyst.net 11/49
vishnu pathangi 12/49
In the next screen enter the characteristics that we would like to have
vishnuop@sapanalyst.net 12/49
vishnu pathangi 13/49
Once you selected enter it would take you to the screen where you
would enter the attributes of the characteristics like data type and
Length.
For ZV_BRAND, I have selected Char and length to be 10. Click on the
activation icon on the top. You should be able to see that the Version
and Object status are in Active state as shown in the fig.
vishnuop@sapanalyst.net 13/49
vishnu pathangi 14/49
vishnuop@sapanalyst.net 14/49
vishnu pathangi 15/49
Enter the quantity and unit of currency in the next screen. Demand
Planning is always with 0unit.
vishnuop@sapanalyst.net 15/49
vishnu pathangi 16/49
Please note that the key figures can be added here at any point of
time. But it should be avoided to change in the Master planning
objects.
Once the BW part is complete, our next step is to create the Master
Planning Object structure
T.Code: /n/SAPapo/msdp_Admin
vishnuop@sapanalyst.net 16/49
vishnu pathangi 17/49
Once in select the Planning objects structure right click on the planning
objects structure folder and create
vishnuop@sapanalyst.net 17/49
vishnu pathangi 18/49
In the next screen enter the long text and also select the planning
object structures.
vishnuop@sapanalyst.net 18/49
vishnu pathangi 19/49
Once all the object structures are in, Activate. This inturn will activate
an infocube in the same name in BW.
With this we complete the first step in Demand Planning i.e, Master
Planning Object Structure
vishnuop@sapanalyst.net 19/49
vishnu pathangi 20/49
The storage bucket profile is also called Periodicities for planning area.
The path for creating the storage bucket profile is SAP menu->Demand
planning ->Environment->Current settings ->Periodicities for Planning
Area
T.Code: /n/SAPapo/tr32
vishnuop@sapanalyst.net 20/49
vishnu pathangi 21/49
For this we need 2 types of profile, one for future and the other for
history
vishnuop@sapanalyst.net 21/49
vishnu pathangi 22/49
T.Code: /n/SAPapo/msdp_Admin
Enter the T.code and right clock on Planning Area to create the
planning area.
vishnuop@sapanalyst.net 22/49
vishnu pathangi 23/49
Once you click enter you will be taken into the detail view of the
Planning Area.
Select the Key Figs tab and add all the key figs that you have
described
vishnuop@sapanalyst.net 23/49
vishnu pathangi 24/49
vishnuop@sapanalyst.net 24/49
vishnu pathangi 25/49
Next step is to create Time series objects for the planning area.
Right click on the created planning area and select “Create Time series
objects”
vishnuop@sapanalyst.net 25/49
vishnu pathangi 26/49
The date entered in the planning version is like a safety cap. If we give
a range of 10 years, then we do not need to go and change it every 18
months and also once the first 18 months planning is done, and if we
did not give that vast time period, then the there is a huge gap and
discrepancy created. At any point of time it should have 2 years of
past history and 18 months of future history.
So enter the required planning time period in the Time period section
vishnuop@sapanalyst.net 26/49
vishnu pathangi 27/49
Once you clicked on the execute icon, It would through the following
error
vishnuop@sapanalyst.net 27/49
vishnu pathangi 28/49
vishnuop@sapanalyst.net 28/49
vishnu pathangi 29/49
Here you have two options to enter the data, If you select “Single
characteristic combination” In APO itself you can create the location,
Product Brand, Customer and so on. This is helpful if you wanted to
enter 1 or 2 set of data (1 or 2 row).
To enter more than one record at a time you can select “create
characteristics combinations”.
For our example I am selecting the create characteristics
combinations”. This will take you to the next screen where you can
load data
vishnuop@sapanalyst.net 29/49
vishnu pathangi 30/49
There are several options to load the data again. The “Create
manually” option will let you enter the data one by one. The “Load to
worklist” and “Generate Immediately” options would let you upload the
file in several ways, using info cube, from CSV file, using BAdI or even
from other Planning objects.
To load from ECC to SCM you would first have to enter the data in the
Info Cube (BW) and then transport from BW to SCM.
In real time scenario the data are uploaded from Info providers. The
reason is there might several changes to the master data and hence
maintenance is easier with info providers.
For our example I am selecting the option of loading from a file. This
file will be created with format shown in the next figure.
vishnuop@sapanalyst.net 30/49
vishnu pathangi 31/49
vishnuop@sapanalyst.net 31/49
vishnu pathangi 32/49
C:\Documents and
Settings\Owner\Desktop\DP_POS_Data.txt
Make sure that the columns and rows match. You might have to “tab”
twice in your keyboard to adjust the key figures as per the columns
vishnuop@sapanalyst.net 32/49
vishnu pathangi 33/49
To view in detail, go back to the previous screen. Select the option Yes
and proceed
vishnuop@sapanalyst.net 33/49
vishnu pathangi 34/49
vishnuop@sapanalyst.net 34/49
vishnu pathangi 35/49
vishnuop@sapanalyst.net 35/49
vishnu pathangi 36/49
Please note that the BOM Char Comb ID column will not be displayed
as it is Internal
Now that the Combinations are maintained go back and activate the
Planning Area.
Right click on the created planning area and select “Create Time series
objects” and enter the required details. Take care of the start and End
date of Time period.
Once you clicked on the execute icon, It will be activated this time
vishnuop@sapanalyst.net 36/49
vishnu pathangi 37/49
This finishes the setup of planning area. The next step in the DP
configuration is the Planning books and data view.
vishnuop@sapanalyst.net 37/49
vishnu pathangi 38/49
Planning book is the most important tool for demand planner. The data
for planning is derived from the planning area. Although the Demand
Planner does not maintain the Planning area, the data stored in the
Planning are maintained by him.
T.Code: /n/SAPapo/SDP8B
Once you enter the T.Code, Enter the name of the planning book. Let
us name our planning book as ZV_PLGBK and click on create
vishnuop@sapanalyst.net 38/49
vishnu pathangi 39/49
In the next screen enter the planning book description and planning
area. The navigational views in the same screen represent the
planning model type and the screen selections associated with it.
Select all the views and continue.
vishnuop@sapanalyst.net 39/49
vishnu pathangi 40/49
For our example I am selecting all the key figures from the planning
object and characteristics from the planning area.
vishnuop@sapanalyst.net 40/49
vishnu pathangi 41/49
The next step is assigning Data view for the Planning book.
Here, the Planning start is the day on/from which you want the
planning to start. If left blank the planning will start automatically from
today (default value).
vishnuop@sapanalyst.net 41/49
vishnu pathangi 42/49
The Table1 field represents a name for this Data View table.
Once you click continue, you would again see the key figures, but this
time it is from the Planning book. You are the key figures here to add it
to the data view. Again for our example, we select all the key figures.
Please note that the characteristics are not/cannot be selected, only
the key figures. Once selected, click complete to activate the planning
book.
vishnuop@sapanalyst.net 42/49
vishnu pathangi 43/49
Now to see how all the description/data entry we did in the previous
step, go back to the same transaction
vishnuop@sapanalyst.net 43/49
vishnu pathangi 44/49
The table name we gave DP_FCST1, the fields we described in the data
view, TB past and future and it will also be in Edit mode as during the
planning book creation we selected the input option for TB past.
Please note that whenever we change the TB history and future, same
is affected here.
vishnuop@sapanalyst.net 44/49
vishnu pathangi 45/49
This completes the creation of planning book and data view. The next
is creation of Forecast profile.
6. Forecast Profile
vishnuop@sapanalyst.net 45/49
vishnu pathangi 46/49
Once in, select the Planning Area and enter a name for the forecasting
profile.
The forecast figure key represents the key figure to which the
calculated forecast to be saved. For our example let us take ZV_STFR1.
The forecast horizon represents the restricting period for this master
forecast profile.
Here u can either enter the “From” and “To” or you can just enter the
period as shown in the figure above.
vishnuop@sapanalyst.net 46/49
vishnu pathangi 47/49
The next step is to select a model for the master profile to do the
forecast.
For our model parameters, we choose Moving Average and for Forecast
errors we choose, all the error type.
vishnuop@sapanalyst.net 47/49
vishnu pathangi 48/49
vishnuop@sapanalyst.net 48/49
vishnu pathangi 49/49
vishnuop@sapanalyst.net 49/49