SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

xP&A CX Commercial Planning - Introduction to the Marketing Planning Data Model within the Commercial Planning Content part of the xP&A Content Suite

This tutorial will provide you with an introduction to the Dimensions and Measures used in the Marketing Planning Data Model and will also explain how data is stored inside the model.

Overview

🎓 beginner 30 min. SAP Analytics CloudBeginnerSAP Analytics Cloud Analytics Designer

You will learn

  • all fundamentals about the data model used in the Marketing Planning and Portfolio Planning module of the CX Commercial Planning content package. This includes…
  • …understanding the different dimensions and what they are used for
  • …understanding the different measures and what they are used for
  • …getting an understanding of how data is stored in the data model.
Rudolf Lindt R Rudolf Lindt August 7, 2024
Created by September 21, 2023
Contributors

Prerequisites

Prerequisites

Steps

Intro

Now that you have successfully gone through the introduction tutorials and know how to use the content package like an expert, you may want to start customizing it and adjusting it according to your own business needs.

But in order to do this, you have to get an understanding about the data model first.

This tutorial provides fundamental information about the data model and the provided demo data. You will learn about the dimensions, measures and how data is supposed to be stored.

In case you have any questions or require further support, please use the SAP Question Form.

If you have a specific request to our team in regards to the business content, you may also submit a request using the SAP Influence Platform.

If you are interested in more xP&A topics, related business content packages, or videos showing the content in action, feel free to check out our community page Extended Planning & Analysis Business Content.

Step 1 Introduction to Dimensions

In this step you will learn about the dimensions of the data model and what they are used for.

Generally the Marketing Planning data model SAP_MKT_IM_MarketingPlanning is composed of twelve dimensions and is used by the Portfolio Planning module and the Marketing Planning module of the Commercial Planning content package. The Sales Planning module has its own data model while it consumes some of the information from the Marketing Planning data model.

Version

  • The Version dimension is a mandatory dimension and is part of each and every SAC planning data model.

  • In the scope of this content package, the Version dimension comes with five pre-defined versions.

    xp&A Commercial Planning
    xp&A Commercial Planning

  • The member public.Actual stores actual data as the name indicates. It contains actual revenues, costs as well as the list prices and cost rates per product.

  • The member public.Financial Target of category Budget serves as a reference version and is not used for planning activities in this content package. This version stores data which mimics a revenue and cost budget that is given from upper management or from the financial department and is thus only used for reporting purposes.

  • The member public.Budget of category Budget is initially an exact copy of the Financial Target version. The difference here is that planning on the Budget version is enabled which means that you can change your marketing budget and use this version as a reference for your planning activities later.

  • The member public.Plan of category Planning is the version where you will enter your planning assumptions. Here you can plan quantities, price changes, revenues and costs. Here you can also find the baseline quantity which is imported from SAP Integrated Business Planning and the initial list prices imported from SAP S/4HANA. In addition to that, imported COGS rates from the product cost model SAP_FI_IFP_IM_ProductCost part of the Integrated Financial Planning for SAP S/4HANA (xP&A - Integrated Financial Planning for SAP S/4HANA and S/4HANA Cloud) business content are also stored here.

  • The member public.PricesFromSource of category Planning stores the initial prices coming from the source system, which is SAP S/4HANA in this case. This version serves as a sort of backup version or reference version for the initial data that had been integrated and is not used for planning purposes, but rather for reporting purposes.

GL Account

  • The SAP_FI_XPA_GLAccount dimension is an account dimension which provides an exemplary General Ledger Account structure in combination with a couple of calculated accounts outside the hierarchy.

    xp&A Commercial Planning
    xp&A Commercial Planning

  • In the scope of this content package, only a limited number of G/L Accounts is used.

  • Most of the data is located under the Net Revenue node FPA1/013.

    xp&A Commercial Planning
    xp&A Commercial Planning

Date

  • The Date dimension is another mandatory dimension for every SAC data model.
  • In the scope of this content package, dates range from period 202101 (first period of fiscal year 2021) until 202512 (last period of fiscal year 2025).
  • Most of the data is stored on the years 2023 to 2024, while actual data can be found for Q1 and Q2 of 2023. Plans and Budgets can be found from 2023 to 2025.
  • The data model is configured to handle the Date dimension with Fiscal Year property, where the fiscal year starts in January. Periods are labeled as P01, P02, P03 ....

Sales Organisation

  • The dimension SAP_ALL_SALESORGANISATION is a shared public dimension and provides IDs for numerous sales organisations which are semantically structured by region.

    xp&A Commercial Planning
    xp&A Commercial Planning

  • The public dimension comes with three pre-defined hierarchies. In this content package, the default hierarchy with the ID Hierarchy is used across all stories.

  • The property Row_Source shows where the sample master data comes from. Some products might be imported from a source system like SAP S/4HANA while others might be created manually.

  • The property Company Code shows if a specific sales organisation is related to a company code as a company code might have multiple sales organisations in theory. For the demo data, the relationship between used sales organisations and company codes is 1:1 though.

Product

  • The dimension SAP_ALLPRODUCT is a shared public dimension and contains a list of different products.

  • The public dimension comes with four pre-defined hierarchies. In this content package, the hierarchy with the ID Hierarchy4 is used across all stories as the demo data focusses on bike products only. Other products are excluded from this hierarchy.

  • In addition to that, all Data Actions are restricted to only work on Hierarchy4 of this dimension.

    xp&A Commercial Planning
    xp&A Commercial Planning

  • The property Base Unit of Measure must be maintained inside the data modeler and shows the base unit of the measure. For the products used in the demo data, all items have the base unit PC which translates to Piece.

  • The property PC Std UOM complements the property Base Unit of Measure by telling how many pieces are covered by one PC unit. All bike products have a PC Std UOM of 1, which means that one PC translates to exactly 1 bike.

  • The property Row_Source shows where the master data comes from. Some products might be imported from a source system like SAP S/4HANA while others might be created manually. All bike data was created manually and thus these items are marked as MANUAL inside this property.

Marketing Campaign

  • The dimension SAP_MKT_MarketingCampaign is a private dimension which exists only inside the data model.

  • This dimension is used to store different marketing campaigns which are created in the Marketing Campaign Planning story.

  • The dimension comes with two hierarchies.

  • The hierarchy All Campaigns is used to display all existing campaigns, both active and inactive ones.

  • The hierarchy Active Campaigns is used to display only active campaigns as the name indicates.

  • The properties Start Date and End Date define the validity period of each campaign and are maintained from inside the Marketing Campaign Planning story.

  • The property Campaign Status shows the current status of the campaign and is also maintained from inside the Marketing Campaign Planning story.

  • The property Objective describes the goal of the campaign and is also maintained from inside the Marketing Campaign Planning story.

  • The property Company Code is created for technical reasons and is maintained automatically when a campaign is created from inside the Marketing Campaign Planning story.

  • The properties Campaign Spend Amount and Campaign Uplift Percentage store the respective numbers and are automatically updated by the Marketing Campaign Planning story.

  • The properties Expense Start Date and Expense End Date are also maintained from inside the Marketing Campaign Planning story and show when expenses are expected to occur for a specific campaign.

  • The property Comment is also maintained from inside the Marketing Campaign Planning story and shows user generated comments related to a specific campaign.

  • The property Deleted shows whether a campaign was deleted and is maintained from inside the Marketing Campaign Planning story.

    xp&A Commercial Planning
    xp&A Commercial Planning

Marketing Activity

  • The dimension SAP_MKT_MarketingAtivity is a private dimension which exists only inside the data model.

  • This dimension is used to store different marketing activities which are created in the Marketing Campaign Planning story.

  • The dimension comes with two hierarchies.

  • The hierarchy All Activity is used to display all existing activities, both active and inactive ones.

  • The hierarchy Active Activities is used to display only active activities as the name indicates.

  • The property Invoice Date shows the date of the invoice in a YYYY-MM-DD format and is maintained from inside the Marketing Campaign Planning story.

  • The property Spend Type shows what kind of marketing activity is planned and is maintained from inside the Marketing Campaign Planning story.

  • The property Campaign Id shows the related campaign member ID as a marketing campaign can have multiple marketing activities related to it. The IDs maintained are the ones that can be found in the SAP_MKT_MarketingCampaign dimension.

  • The property Activity Spend Amount stores the respective spend amount and is automatically updated by the Marketing Campaign Planning story.

  • The property Deleted shows whether an activity was deleted and is maintained from inside the Marketing Campaign Planning story.

  • The property Activity Status shows the current status of the activity and is also maintained from inside the Marketing Campaign Planning story.

  • The property Comment is also maintained from inside the Marketing Campaign Planning story and shows user generated comments related to a specific activity.

    xp&A Commercial Planning
    xp&A Commercial Planning

Spend Type

  • The dimension SpendType is a private dimension which exists only inside the data model.

  • This dimension is used to store different options of spend types which can be maintained in the property Spend Type< of the SAP_MKT_MarketingAtivity dimension.

    xp&A Commercial Planning
    xp&A Commercial Planning

Quantity Unit

  • The dimension SAP_FI_IFP_QUANTITY_UNIT is a shared public dimension and contains a list of different quantity units.

  • This list serves as a sort of allowlist for possible units which can be maintained in the property Base Unit of Measure of the dimension SAP_ALLPRODUCT.

  • As mentioned earlier, for the demo data only the member ID PC was used.

    xp&A Commercial Planning
    xp&A Commercial Planning

Driver

  • The dimension Driver is a private dimension which exists only inside the data model.

  • This dimension is used to differentiate different components or sources of quantities, revenues and costs.

  • The member baseLine is used to store all baseline quantities coming from the source system SAP Integrated Business Planning. By taking the price and the COGS rates which are stored on the driver member #, baseline revenues and costs are calculated and stored on the member baseLine as well. Eventually, this member stores the baseline quantity, baseline revenue and the baseline costs.

  • The member campaignLift is used to store incremental quantities, revenues and costs which come from planned marketing campaigns and activities.

  • The member consumerTrend is used to store incremental quantities, revenues and costs which come from assumptions made about the consumer trend.

  • The member marketShare is used to store incremental quantities, revenues and costs which come from estimated changes based on the market share.

  • The member priceImpact is used to store incremental quantities, revenues and costs which result from price changes.

  • The sum of all members represents the total planned revenue or respectively the total costs and quantities.

    xp&A Commercial Planning
    xp&A Commercial Planning

Plant

  • The dimension SAP_ALL_PLANT is a shared public dimension and contains a list of different plants where a product comes from.

  • The dimension has one hierarchy only which is used throughout the entire content respectively.

  • The property Company Code shows the assignment of the plant to a company code, as a company code may have multiple plants.

  • Different plants may have different COGS rates, baseline quantities, revenues etc. - but in the scope of this content package, planning does not occur on plant level explicitly as the plant dimension itself is not included in the planning tables. The dimension is rather present in the background and entered planning assumptions are distributed across the respective plant members automatically.

    xp&A Commercial Planning
    xp&A Commercial Planning

    INFORMATION:

    • Let us assume you have a product called Mountain Bike in company code Germany with a baseline quantity of 900.
    • Out of those 900 bikes, 300 units come from plant Munich while 600 units come from plant Berlin.
    • In the planning table itself, you would not be able to see any plant related information as planning in the context of this content package occurs on a company code and product level only.
    • As a result, you would only see the value of 900 units in the planning table.
    • If you now increased the value from 900 units by 25 % to a value of 1200 units, the baseline quantity for plant Munich will automatically adjust from a value of 300 units to 400 units and for plant Berlin from 600 units to 800 units.

Company Code

  • The dimension SAP_ALL_COMPANY_CODE is a shared public dimension and contains a list of different company codes.

  • The public dimension comes with three pre-defined hierarchies. In this content package, the default hierarchy with the ID Hierarchy is used across all stories.

  • This dimension is also used to derive the currencies for each company code.

  • The property Currency is used to define the currency used for a specific company code.

  • The property Country is used to translate the company code to a specific country and must be maintained inside the data model.

  • The property Trading Partner is used to define the trading partner and must be maintained inside the data model, while the trading partner is specific by using an existing company code member ID.

  • None of these properties apart from the Currency property are important for the scope of this content package.

    xp&A Commercial Planning
    xp&A Commercial Planning

That’s it for the dimensions! You may jump to the next step to learn about the measures of this data model.

Step 2 Introduction to Measures
+
Step 3 Data Storage
+
Step 4 Final Remarks
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Introduction to Dimensions 2. Introduction to Measures 3. Data Storage 4. Final Remarks

Learn more →