openSAP Sac3 Week 1 Exercise1
openSAP Sac3 Week 1 Exercise1
2
This exercise is supposed to cover the topics presented during week 1 of the openSAP course
Planning with SAP Analytics Cloud which is published on the openSAP platform
https://open.sap.com/courses/sac3. This exercise is not relevant for the certificate of achievement
provided at the end of the course. The exercises can be used to intensify your learning experience
with a guided hands-on tutorial. The concepts behind the materials of this exercise are explained
during the course sessions.
In this exercise you will create a planning model in the SAC modeler and import sample data. The
required data like currency rates, dimension master data and transaction data are provided via an
Excel spreadsheet.
OVERVIEW
The exercise has two parts. In part one, a currency rate table is created. If you are working on a
tenant where you already have a currency rate table in place like e.g. the SAP_ALL_CURRENCY
table from the business content network you might skip this part of the exercise and re-use your
existing table when creating the planning model. Make sure that all relevant currencies are
maintained in your table.
In the second part of the exercise, a planning model is created using the SAC modeler. The model
will be created from scratch. The dimension members and the relevant attributes are provided via
an Excel file. After the model is created you will import actual data from the Excel workbook. At the
end you will create dimension combination rules to restrict the allowed dimension member
combinations.
Model Structure
The final structure of the model which is created is shown in Figure 1. The model captures the
relevant information of a sales planning process. Besides the standard dimensions for version and
time, the dimensions used in the model are product, customer, sales organization, entity and
planning level as a technical element to distinguish between different planning levels.
3
EXERCISE 1 – DEFINE THE CURRENCY TABLE
Explanation Screenshot
4
4. Provide a name for the
new table and click
Create.
5
8. Navigate back to the
currency view in SAP
Analytics Cloud and
paste the currency
rates (Ctrl-V).
9. Save the rate table.
6
EXERCISE 2 – BUILD THE MODEL FOR SALES PLANNING
Explanation Screenshot
7
8. Navigate into the new folder
Week1.
9. Create a new model from the
toolbar.
8
16. Provide MEASURE as the
name of the new dimension.
17. Make sure that Account is
selected as the type of the
dimension.
18. Make sure that the option
Make this a Public Dimension
is not selected.
9
23. In the panel Dimension
Settings on the right you can
adjust the settings for the
dimension.
24. Provide a Description.
25. In the section Hierarchies,
click on Create Hierarchy
and then Parent-Child-
Hierarchy. This will add a
hierarchy to the product
dimension.
10
30. Make sure you have selected
the grid view from the
toolbar.
31. Place the cursor into the first
column of an empty row.
11
37. Repeat the procedure and
add another dimension.
38. Provide
SAP_CEP_CUSTOMER as
the name of the new
dimension.
39. Make sure the dimension
type is set to Generic.
40. Make sure that the dimension
is private.
12
44. Repeat the procedure to add
further properties. At the end
you should have three
properties called L1, L2 and
cL3.
13
47. Select L3 from the drop-down
box as the attribute
representing the lowest level
of the hierarchy.
14
51. Select the first column of an
empty row in the dimension
member grid. Make sure that
you are in grid view (you can
change this via the icon in
the toolbar).
15
57. Repeat the procedure and
create another dimension.
58. Provide
SAP_CEP_SALESORG as
the name.
59. Make sure that the dimension
type is Generic.
60. Make sure that the dimension
is private.
16
66. In the dimension list, click on
the entry for the dimension
sales organization to open
the dimension member
maintenance.
17
73. Provide SAP_CEP_ENTITY
as name and make sure that
the type is set to Generic.
74. Make sure that the dimension
is private, i.e. the option
Make this a Public Dimension
is not selected.
18
80. Place the cursor in the first
column of an empty row.
19
88. In the dimension settings
panel, provide a description.
20
95. You have added all the
relevant dimension for the
sales planning model. The
list of dimensions should look
similar to what is shown in
the screenshot on the right.
21
104. In the model overview
page, click on the entry for
the account dimension to
open the member
maintenance view.
22
112. Save the model via the
toolbar.
23
120. Select the provided
Excel workbook
SalesData.xlsx from your
local disk as the source file.
121. Make sure that the first
tab of the workbook named
Transactional Data is
selected under Sheet.
122. Make sure that the
option Use first row as
column headers is switched
on.
123. Hit the Import button to
start the upload.
24
131. In the panel on the right,
click on the button Map
Versions.
25
137. If the consistency
checks are ok, there will be a
positive indicator No Issues
which means you can start
the actual import process
which copies the data into
the model.
138. You start this process
by hitting the Finish
Mapping button at the
bottom.
26
144. As a result, you will get
an additional area in the
modeling environment which
can be used to define valid
member combinations
between dimensions. Before
you can switch to this Rules
perspective you need to save
the model.
27
150. Pick Sales Org from the
list.
28
157. Your model should look
similar to what is shown in
the screenshot.
29
Coding Samples
Any software coding or code lines/strings (“Code”) provided in this documentation are only examples and are not intended for use in a production system environment. The Code is only intended to better
explain and visualize the syntax and phrasing rules for certain SAP coding. SAP does not warrant the correctness or completeness of the Code provided herein and SAP shall not be liable for errors or
damages cause by use of the Code, except where such damages were caused by SAP with intent or with gross negligence.
30