Monday 4 January 2021

BW Integrated Planning – Steps to build a simple application

Overview

This blog documents step by step process to build a simple planning application using BW 7.5 on HANA as backend, Business Object Lumira 4.2 as the front-end using BW Integrated Planning framework. I understand that SAP recommended planning solution is SAP Analytics Cloud or BPC on BW/4 HANA. If for some reason you cannot use those options, you may find the information here helpful. Here are the steps to build a fully functional simple planning application including development of BW InfoProviders, Input Ready BW query, planning functions using RSPLAN and frontend application using Lumira Designer.

Scenario

Create a Planning application that allows for Planning using:

◉ Fiscal Year

◉ Fund Center

◉ Version

◉ Amount

Planning application should allow:

◉ Manual entry of Plan values by Fund Center Hierarchy

◉ Ability to Copy a version

◉ Ability to increase or decrease plan values by a user specified percentage amount

◉ Ability to display Plan and actual values to be used as reference for manual value input

◉ Allow for Copy and Paste manual planning values

BW Design

InfoProvider – Real Time ADSO

◉ Create a real time ADSO “ZSP_AD01 – Simple Plan Demo” with the specified InfoObjects

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Use the planning template as shown above. Include the InfoObjects as shown below:

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Navigate to Manage ADSO and flip the DSO to Planning Mode. Otherwise the input readiness of the query at runtime will not work.

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

InfoProvider – Aggregation Level


◉ Right click on InfoArea in Eclipse and select new Aggregation Level

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

Select all the fields and add them to the Output tab, save and activate

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

InfoProvider – Composite Provider


◉ Create a composite provider with a Union of InfoProvider with Actual Amounts and the new Aggregation level created in previous step

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW Query


Create BW Query that will be used for Lumira Planning application. It will allow for display of plan and actual values, and input of plan values. All infoobjects of the aggregation level have to be included. The Characteristics have to be set to use master data values, and the relevant measures have to be defined as input ready. Fiscal year and Version variables are used to allow the user to limit the scope of planning.

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Select all characteristics and set Extended propertiesasshown below

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

Planning Functions – Copy Version


◉ Use transactions RSPLAN to create the planning functions
◉ Planning Function to copy “Baseline” Version to “What-If” Version, assume you have the master data entries for infoObject 0BUD_VERSN for the two versions.

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

Planning Functions – Revaluation


◉ Create planning function ZSP_PF02 – Revaluate in RSPLAN

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ To enable filter by Version and Fund Center, select them as fields for Condition and the click on Parameter in toolbar

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ We will not limit the Condition fields in the planning function definition. At runtime, user specified filter for these infoObjects will control which rows are revaluated. Select the row and Click on parameter

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Select a formula variable (ZRVFAUSM) that allows the user to input a single number as the Revaluation factor. This allows the Revaluation % to be controlled by the Lumira application

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

Lumira Application


= We will use Lumira designer to create the planning application. The environment is SAP Business Objects 4.2 with Lumira server. There is an OLAP connection SAP_BW that connects to SAP BW system. SAP delivers a planning application template which is a very good starting point.

◉ Create a new Lumira document

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Set datasource DS_1 to use connection SAP_BW and query that was created earlier

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Set the application property of Planning Connection to SAP_BW and force prompts on startup

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ In the outline view, right click on Planning Object folder to add the two planning functions

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Modify the action sheet to add items for the two planning function

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Add a simple pop-up to input the revaluation factor as shown here

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Add the following scripting to complete the application.
◉ Action sheet scripting: for PF01 – execute the planning function, for PF02 – open POPUP

var SelectedItem = ACTION_SHEET_PLANNING_FUNCTIONS.getSelectedValue();
if (SelectedItem == "PF01") {
PF_1.execute();
} else
if (SelectedItem == "PF02") {
POPUP_1.open();
}

◉ POPUP scripting – when Ok is selected,
     ◉ Set Revaluation factor variable ZRVFAUSM to Input field value
     ◉ set planning function filters to DS_1,
     ◉ execute planning function and

PF_2.setVariableValueExt("ZRVFAUSM", INPUTFIELD_1.getValue());
PF_2.setFilterExt("0FUNDS_CTR", DS_1.getFilterExt("0FUNDS_CTR"));
PF_2.execute();
POPUP_1.close();

◉ Allow for Copy and Paste on the spreadsheet component

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

Application Review


◉ Execute the Lumira Application. Select Fiscal Year 2020, and versions baseline and What-If

◉ Initial view displays both measures with Plan amount open for input and actual amount is not. Notice the Planning toolbar that comes built-in with the planning layout template. See the following screenshots

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Copy Version

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Filter to Revenue node and What-If version, and Revaluate by 10%

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

BW SAP HANA Data Warehousing, SAP HANA Exam Prep, SAP HANA Certification, SAP HANA Guides, SAP HANA Career

◉ Revenue is 10% higher now
◉ Remove Revenue Filter and filter to expenditures and Revalue by -10

No comments:

Post a Comment