sap bpc410 en col96 fv part a4

395
BPC410 SAP BusinessObjects Planning and Consolidation, version for the Microsoft Platform: Administration SAP BusinessObjects - Financial Performance Management Date Training Center Instructors Education Website Participant Handbook Course Version: 96 Course Duration: 3 Day(s) Material Number: 50106145 An SAP course - use it to learn, reference it for work

Upload: shaozhiqiong

Post on 13-Apr-2016

170 views

Category:

Documents


8 download

DESCRIPTION

SAP Bpc410 en Col96 Fv Part a4

TRANSCRIPT

Page 1: SAP Bpc410 en Col96 Fv Part a4

BPC410SAP BusinessObjects Planning

and Consolidation, version for theMicrosoft Platform: Administration

SAP BusinessObjects - Financial Performance Management

Date

Training Center

Instructors

Education Website

Participant HandbookCourse Version: 96Course Duration: 3 Day(s)Material Number: 50106145

An SAP course - use it to learn, reference it for work

Page 2: SAP Bpc410 en Col96 Fv Part a4

Copyright

Copyright © 2011 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purposewithout the express permission of SAP AG. The information contained herein may be changedwithout prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary softwarecomponents of other software vendors.

Trademarks

• Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® areregistered trademarks of Microsoft Corporation.

• IBM®, DB2®, OS/2®, DB2/6000®, Parallel Sysplex®, MVS/ESA®, RS/6000®, AIX®,S/390®, AS/400®, OS/390®, and OS/400® are registered trademarks of IBM Corporation.

• ORACLE® is a registered trademark of ORACLE Corporation.• INFORMIX®-OnLine for SAP and INFORMIX® Dynamic ServerTM are registered

trademarks of Informix Software Incorporated.• UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.• Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®,

VideoFrame®, MultiWin® and other Citrix product names referenced herein are trademarksof Citrix Systems, Inc.

• HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, WorldWide Web Consortium, Massachusetts Institute of Technology.

• JAVA® is a registered trademark of Sun Microsystems, Inc.• JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for

technology invented and implemented by Netscape.• SAP, SAP Logo, R/2, RIVA, R/3, SAP ArchiveLink, SAP Business Workflow, WebFlow, SAP

EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mySAP.com Logo and mySAP.comare trademarks or registered trademarks of SAP AG in Germany and in several other countriesall over the world. All other products mentioned are trademarks or registered trademarks oftheir respective companies.

Disclaimer

THESEMATERIALS ARE PROVIDED BY SAP ON AN "AS IS" BASIS, AND SAP EXPRESSLYDISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR APPLIED, INCLUDINGWITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY AND FITNESS FOR APARTICULAR PURPOSE, WITH RESPECT TO THESE MATERIALS AND THE SERVICE,INFORMATION, TEXT, GRAPHICS, LINKS, OR ANY OTHER MATERIALS AND PRODUCTSCONTAINED HEREIN. IN NO EVENT SHALL SAP BE LIABLE FOR ANY DIRECT,INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES OF ANYKIND WHATSOEVER, INCLUDING WITHOUT LIMITATION LOST REVENUES OR LOSTPROFITS, WHICH MAY RESULT FROM THE USE OF THESE MATERIALS OR INCLUDEDSOFTWARE COMPONENTS.

g2012110130

Page 3: SAP Bpc410 en Col96 Fv Part a4

About This HandbookThis handbook is intended to complement the instructor-led presentation of thiscourse, and serve as a source of reference. It is not suitable for self-study.

Typographic ConventionsAmerican English is the standard used in this handbook. The followingtypographic conventions are also used.

Type Style Description

Example text Words or characters that appear on the screen. Theseinclude field names, screen titles, pushbuttons as wellas menu names, paths, and options.

Also used for cross-references to other documentationboth internal and external.

Example text Emphasized words or phrases in body text, titles ofgraphics, and tables

EXAMPLE TEXT Names of elements in the system. These includereport names, program names, transaction codes, tablenames, and individual key words of a programminglanguage, when surrounded by body text, for exampleSELECT and INCLUDE.

Example text Screen output. This includes file and directory namesand their paths, messages, names of variables andparameters, and passages of the source text of aprogram.

Example text Exact user entry. These are words and characters thatyou enter in the system exactly as they appear in thedocumentation.

<Example text> Variable user entry. Pointed brackets indicate that youreplace these words and characters with appropriateentries.

2011 © 2011 SAP AG. All rights reserved. iii

Page 4: SAP Bpc410 en Col96 Fv Part a4

About This Handbook BPC410

Icons in Body TextThe following icons are used in this handbook.

Icon Meaning

For more information, tips, or background

Note or further explanation of previous point

Exception or caution

Procedures

Indicates that the item is displayed in the instructor'spresentation.

iv © 2011 SAP AG. All rights reserved. 2011

Page 5: SAP Bpc410 en Col96 Fv Part a4

ContentsCourse Overview ......................................................... vii

Course Goals .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .viiCourse Objectives ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vii

Unit 1: Introduction to SAP BusinessObjects Planning andConsolidation ............................................................... 1

Introducing the Benefits, the Interfaces, and the Components .. .3Introducing the Excel Interface of the EPM Add-In .. . . . . . . . . . . . . . 11Using The Web Client .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Implementing SAP BusinessObjects Planning and

Consolidation ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

Unit 2: Creating Structures ............................................ 75Introducing the Delivered Content .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Working with Environments.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80Maintaining Dimensions... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93Maintaining Models .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117Changing Existing Structures ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133

Unit 3: Data Manager................................................... 143Importing Flat Files .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144Using Data Manager Planning Functions ... . . . . . . . . . . . . . . . . . . . . .158Configuring Transformations ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166Using Advanced Data Manager Features ... . . . . . . . . . . . . . . . . . . . . .182

Unit 4: Business Logic ................................................ 189Using Worksheet formulas and EPM functions ... . . . . . . . . . . . . . .191Configuring Dimension Formulas ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203Running Logic in Real Time ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .214Running Logic in Batch Mode ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .227Configuring Allocations ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .236Using Advanced Logic .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .249Using Business Rules for Planning ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259

Unit 5: Administration of Planning and Consolidation ........ 277Maintaining Security .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .279Configuring Work Status ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .290Designing Processes ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .304Setting Up Journals .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .329

2011 © 2011 SAP AG. All rights reserved. v

Page 6: SAP Bpc410 en Col96 Fv Part a4

Contents BPC410

Creating Document Types for Web Access ... . . . . . . . . . . . . . . . . . . .343Setting Up and Using Audits .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .351Configuring Drill-Through ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .355Setting Up Automated Variance Analysis .. . . . . . . . . . . . . . . . . . . . . . .360

vi © 2011 SAP AG. All rights reserved. 2011

Page 7: SAP Bpc410 en Col96 Fv Part a4

Course OverviewThis is the administration course for SAP BusinessObjects Planning andConsolidation, version for Microsoft. In this course, you learn how to set up andmanage your Planning and Consolidation components as an administrator.

Target AudienceThis course is intended for the following audiences:

• Application Administrators• Application Consultants• Pre-Sales Consultants• Project Leaders• Project Team Members• All those who want to familiarize themselves with SAP BusinessObjects

Planning and Consolidation, version for Microsoft

Course PrerequisitesRequired Knowledge

• Experience with financial applications and systems• Experience with Microsoft Excel

Recommended Knowledge

• Planning experience

Course GoalsThis course will prepare you to:

• Work as an SAP BusinessObjects Planning and Consolidation applicationadministrator

Course ObjectivesAfter completing this course, you will be able to:

• Execute reports and input forms from templates• Create structures in your environment• Use the Data Manager to process data• Work with business logic

2011 © 2011 SAP AG. All rights reserved. vii

Page 8: SAP Bpc410 en Col96 Fv Part a4

Course Overview BPC410

• Manage security settings• Configure work status• Design business process flows• Set up journals• Use variance analysis

viii © 2011 SAP AG. All rights reserved. 2011

Page 9: SAP Bpc410 en Col96 Fv Part a4

Unit 1Introduction to SAP BusinessObjects

Planning and Consolidation

Unit OverviewThis unit includes information about the components and features of SAPBusinessObjects Planning and Consolidation, the Excel interface of the EPMadd-in, and project implementation guidelines.

Unit ObjectivesAfter completing this unit, you will be able to:

• Explain the key terms• Discuss the benefits of SAP BusinessObjects Planning and Consolidation• Describe the components• Identify the most important features of SAP BusinessObjects Planning and

Consolidation• Create an EPM Add-in connection• Describe the features of the EPM Add-in ribbon• Define default values for dimensions with the EPM Context Bar• Build a simple report• Describe the Home tab• Use the built-in screens• Use the Library and Workspaces to organize your reports• Discuss the implementation process• Describe business requirements in general for the planning and consolidation

application.

Unit ContentsLesson: Introducing the Benefits, the Interfaces, and the Components .. .3Lesson: Introducing the Excel Interface of the EPM Add-In .. . . . . . . . . . . . . . 11

Procedure: Connecting to a BW InfoProvider .. . . . . . . . . . . . . . . . . . . . . . . . . . 18Procedure: Enabling the EPM Add-In .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

2011 © 2011 SAP AG. All rights reserved. 1

Page 10: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Exercise 1: Report and Plan in the Excel Interface of the EPMAdd-In .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Lesson: Using The Web Client.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Lesson: Implementing SAP BusinessObjects Planning andConsolidation ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

2 © 2011 SAP AG. All rights reserved. 2011

Page 11: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Benefits, the Interfaces, and the Components

Lesson: Introducing the Benefits, the Interfaces, and theComponents

Lesson OverviewIn this lesson, you will learn about the benefits of SAP BusinessObjects Planningand Consolidation as well as the interfaces, the key terms, and components.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Explain the key terms• Discuss the benefits of SAP BusinessObjects Planning and Consolidation• Describe the components• Identify the most important features of SAP BusinessObjects Planning and

Consolidation

Business ExampleYou are implementing the product and therefore need to familiarize yourself withthe key features, the interfaces, and the components.

The Key TermsIn this section, you will learn some of the key terms.

Key Terms

Term Definition

Dimensions Master data such as companies and accounts

Models Transaction data such as expense values andexchange rates

Environments Contains dimensions and models, forexample

BW SAP Business Information Warehouse

Properties Related fields such as currency

Dimension Members Example: Company C1000

Base Level Members Members with no children

2011 © 2011 SAP AG. All rights reserved. 3

Page 12: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Prior Versions versus 10.0 (1) Terms

Previous Term 10.0 Term

Applications Models

AppSets Environments

Owner Performer

DataSource Dimension Type Audit Trail Dimension Type

Group Dimension Type Scope Dimension Type

Live Reports Web Reports / Input Forms

Dynamic Hierarchy Editor Ownership Manager

Current View Context

Member Access Profile Data Access Profile

Apshell EnvironmentShell

Validations Controls

Note: The terms above apply to both platforms (listed below).

(1) SAP BusinessObjects Planning and Consolidation 10.0, version for SAPNetWeaver

(1) SAP BusinessObjects Planning and Consolidation 10.0, version for theMicrosoft platform

Planning and Consolidation is part of Enterprise Performance Management

Figure 1: SAP BusinessObjects Portfolio with SAP Applications

4 © 2011 SAP AG. All rights reserved. 2011

Page 13: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Benefits, the Interfaces, and the Components

Regardless of which interface is used for reporting, the data comes from onecentral database. From there, you can retrieve data into four possible interfaces.

The data is stored in InfoCubes for each model. The InfoCube is a star schemaand comprises a fact table and dimension tables.

Figure 2: SAP BusinessObjects Planning and Consolidation Architecture

The Excel Interface of the EPM add-in can be used to access data from multiplesources such as Planning and Consolidation and Profitability Cost Management,for example.

The data retrieval options are the same, regardless of the source. However,when used for the planning and consolidation application, additional features areavailable including data input and Data Manager, for example.

Data Manager is used to import data and run planning functions such as copy,delete, and move.

2011 © 2011 SAP AG. All rights reserved. 5

Page 14: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 3: The Excel Interface of the EPM Add–In

Note: The term “planning” above refers to the spread, trend, and weightfunctions that are used to disaggregate planning data.

“Workbook collection” refers to the distribution and collection feature thatcan be used to distribute reports via e-mail, for example, or to collectplanning data entered in Excel templates.

The ease of use of SAP BusinessObjects Planning and Consolidation has alwaysbeen a key feature, along with the fact that data is stored in a central databaseand not in local spreadsheets.

6 © 2011 SAP AG. All rights reserved. 2011

Page 15: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Benefits, the Interfaces, and the Components

Figure 4: The Value of Planning and Consolidation

Business process flows (BPFs) provide the customer with a web-based launchpad,guided navigation, e-mail, and visibility of process status. Business process flowscan be used to improve the coordination aspects of a process.

Actions that are Open have an Action Required of To Perform. An action canonly be performed if its preceding action is complete. That is why the PlanningFunctions action has the status Pending.

The action status can also be changed via the Actions button.

2011 © 2011 SAP AG. All rights reserved. 7

Page 16: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 5: Process-Centric

Since it is easy to use, IT does not always need to be involved in the configurationof SAP BusinessObjects Planning and Consolidation.

Figure 6: Set Up by IT - Owned and Maintained by Business Users

8 © 2011 SAP AG. All rights reserved. 2011

Page 17: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Benefits, the Interfaces, and the Components

The users Home workspace provides an easy to use Web interface.

Figure 7: The Home Workspace

The Home tab provides a very convenient entry point for SAP BusinessObjectsPlanning and Consolidation users, and includes the following components:

• Start Page - includes links to create reports and launch the Excel interface ofthe EPM add-in, for example

• Activities - activities the user is involved in• Process Monitor - includes the status of processes• Library - includes public and private reports, input forms, workspaces, and

dashboards, for example• Documents - this is a central storage location for important attachments• Consolidation Central - the all-in-one interface for accountants• Consolidation Monitor - used to execute closing activities and monitor

progress• Controls Monitor - used to execute data validation and monitor the results• Journals - used to manage and create journal entries• Ownership Manager - used to manage ownership data

2011 © 2011 SAP AG. All rights reserved. 9

Page 18: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Lesson Summary

You should now be able to:• Explain the key terms• Discuss the benefits of SAP BusinessObjects Planning and Consolidation• Describe the components• Identify the most important features of SAP BusinessObjects Planning and

Consolidation

10 © 2011 SAP AG. All rights reserved. 2011

Page 19: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Lesson: Introducing the Excel Interface of the EPMAdd-In

Lesson OverviewThis lesson shows you how to connect to the Excel Interface of the EPM Add-in,use the EPM Context Bar, set user options, and work with reports and inputschedules.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Create an EPM Add-in connection• Describe the features of the EPM Add-in ribbon• Define default values for dimensions with the EPM Context Bar• Build a simple report

Business ExampleNow that your company or client has implemented SAP BusinessObjects Planningand Consolidation, you need to learn how to work with the new EPM Add-in.

Overview of the EPM Add-InIn this section, we will learn about the EPM Add-in and how to connect to it.

The EPM Add-in is an Office Add-in for Excel, Word, and PowerPoint.

2011 © 2011 SAP AG. All rights reserved. 11

Page 20: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

The Excel Interface of the EPM Add-in has the following features.

• EPM Data Retrieval

– Create reports– Analyze data– Dynamic formatting– Calculations– Charts– Print and share– Integration

• Planning and Consolidation Only

– Data input– Planning functions– Distribution and Collection– Data manager

The Excel Interface of the EPM Add-in can be used for the entire EPM Suite:

• SAP BusinessObjects Planning and Consolidation 10.0 MS - BusinessPlanning and Consolidation

• SAP BusinessObjects Planning and Consolidation 10.0 NW - BusinessPlanning and Consolidation

• BOFC - SAP BusinessObjects Financial Consolidation• SSM - SAP BusinessObjects Strategy Management• PCM - Profitability and Cost Management• FIM - Financial Information Management

Types of Connections

• Planning and Consolidation• SAP BusinessObjects Business Intelligence (BI) platform• Local

To access a specific InfoCube or model with the Excel Interface of the EPMAdd-in, you need to use a connection for a specific data source and a report. TheConnections are managed in the Connections Manager dialog box.

Using a Planning and Consolidation connection, the EPM Add-in also enablesyou to enter data on SAP BusinessObjects Planning and Consolidation models.

12 © 2011 SAP AG. All rights reserved. 2011

Page 21: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Figure 8: Data Connectivity

Figure 9: Access SAP BusinessObjects Planning and Consolidation and BWData Simultaneously

You can use the EPM Add-in to read data from both SAP BusinessObjectsPlanning and Consolidation and a BW InfoProvider simultaneously.

2011 © 2011 SAP AG. All rights reserved. 13

Page 22: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 10: Logging on from the EPM Tab

Logging on enables you to establish an initial connection between all theworkbooks (for one Excel instance) and an InfoCube or a Model.

When you log on, you select the initial connection for the workbooks. The Logondialog box proposes the default connection, if you have defined one.

If it is left blank, you can click the ellipsis button and either select a previouslydefined connection or create a connection in the Connection Manager. Theconnection you select will then be considered the active connection.

If you launch the EPM Add-in from Planning and Consolidation WebAdministration, you see connections for all the models for which you havesecurity.

Logging on to a connection

1. Use the Log on button to log on to a connection.2. The EPM Logon dialog appears. Click the ellipsis button to select a

connection.3. Select a Connection and click OK4. Enter your user ID and password and click Logon. This dialog is bypassed

when Single Sign On is configured.5. As an option, you can set any connection as the default by highlighting the

connection and clicking Set as default.

Opening the Connection Manager

14 © 2011 SAP AG. All rights reserved. 2011

Page 23: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

On the EPM tab, go to Log onFrom Report Actions, go to Manage ConnectionsGo to EPM pane → Active Connection → Select Another Connection

Note: The EPM Pane will only display Select Another Connection onceyou have established a connection.

If you need another connection, you can create one in the Connection Manager.There are various ways to call the Connection Manager. When you open Excelwith the EPM Add-in, you can call the Connection Manager by clicking the Logon button on the EPM tab and then clicking the ellipsis button.

You can also call Connection Manager by selecting EPM → Report Actions →Manage Connections.

Additionally, once you have established a connection, you can Select AnotherConnection from the Active Connection dropdown list of the EPM pane.

The Active Connection is the connection for all the workbooks. Then, at any time,you can select another connection that will become the active connection for thecurrent sheet. The Active Connection is used by default when a new report is built.

Figure 11: Creating an SAP BusinessObjects Planning and ConsolidationConnection from the Excel Interface of the EPM add-in

2011 © 2011 SAP AG. All rights reserved. 15

Page 24: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 12: Generating a Connection Name

Figure 13: Access the EPM - Connection Manager from the Web Client

Local connections are .oqy files. These connections can be stored on your machineor another machine on the network.

16 © 2011 SAP AG. All rights reserved. 2011

Page 25: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Figure 14: Connecting to a BW InfoProvider

2011 © 2011 SAP AG. All rights reserved. 17

Page 26: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Connecting to a BW InfoProvider

1. In the EPM Connection Manager, choose Create

2. From the Create Connection window, choose Local. Then, from the LocalConnections dropdown, select SAP BW OLE DB Provider. Then chooseConnect.

3. In the window, enter your system credentials and then choose Next.

4. In the EPM-Logon window, enter your user name and password andchoose Log on.

5. In the Create New OLE DB Data Source window, choose $INFOCUBEand choose Finish.

6. In the Create Connection window, choose the BW InfoProvider from theSelect the cube/model that contains the data you want dropdown box andthen choose OK

7. In the Browse for Folder window, select the folder where you would like tosave this local connection and choose OK

18 © 2011 SAP AG. All rights reserved. 2011

Page 27: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Enabling the EPM Add-InUseIf the Excel Interface of the EPM Add-in has been disabled, you can enable itby following the steps below:

Procedure1. In Microsoft Office Excel 2007, choose the Office button, then choose the

Excel Options button.

2. In the Excel Options window, choose Add-ins.

3. Choose Disabled Items from the Manage drop-down menu and choose theGo button.

4. In the Disabled Items window, choose the SAP BusinessObjects EPMSolutions, Add-in for Microsoft Office and choose the Enable button.

5. Choose the Close button.

The EPM RibbonIn this section, you will learn how to use the EPM Add-In Ribbon.

Figure 15: EPM Add-In Ribbon

2011 © 2011 SAP AG. All rights reserved. 19

Page 28: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

The EPM Add-in for Microsoft Office contains an EPM tab with a ribbon. TheEPM tab is the main entry point to perform reporting and data input actions.Depending on the Microsoft Office application (Excel, Work, PowerPoint), theEPM tab does not contain all the same commands.

Note: When installing the EPM Add-in, you specify the applications youuse. For example, if you specified you would use Financial Consolidation,the Data Input group in the ribbon is not displayed since it is not relevantfor this application. If you want to use Planning and Consolidationlater on, you can display the commands that are related to Planning andConsolidation.

When positioning your cursor on a command in the EPM tab, a tooltip appears,explaining the command.

You can customize the ribbon. To display or hide the commands or group ofcommands in the ribbon, select EPM→ Options → Command Display Options

Figure 16: EPM - Command Display Options

Depending on the connection type of the selected report, and the related featuresthat are available, interface items are hidden or shown. Here, you define whatinterface items to hide or show. Your selections have priority over the visibilitysettings determined by the connection.

20 © 2011 SAP AG. All rights reserved. 2011

Page 29: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Connection GroupLog on/off- Connect or disconnect the connections of the Workbook

Reports GroupOpen - Open reports or input forms from Local folder or Server folderSave - Save reports or input forms from Local folder or Server folderEdit Report - Call up the EPM Report EditorNew Report - Create a new report on the active connectionReport Actions - Delete, copy or paste reports and manage connectionsView Formats - Open or close the EPM Formatting SheetRefresh - Refresh the current worksheet.

The data analysis group contains the following four options:

Data Analysis GroupExpand - Expand the selected memberCollapse - Collapse the parent of the selected memberKeep - Keep only the selected membersExclude - Exclude the selected member

UndoBack: Undo up to the five most recent activities including:

• Expand (Excel only)• Collapse (Excel only)• Keep member (Excel only)• Exclude Member (Excel only)• Member Recognition• Row and column axes switch• EPM pane changes• Report Editor changes• Member Selector changes• Data refresh

Note: The Back navigation action will be available on a spreadsheetuntil you do something else on the same spreadsheet using Excel,or another EPM Add-in operation on any spreadsheet. Its purposeis to let you immediately back out of a navigational action, layoutchange, or refresh of the cube that was done in error or gave youundesirable results.

2011 © 2011 SAP AG. All rights reserved. 21

Page 30: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Data InputSave data - Save, refresh, and validate data. Change work status.Comments - Add and find commentsPlanning - Spread trend and weight functionsJournals - Launch the journals workspace

CollaborationBook publication - Publish precalculated workbooks to the webDistribution - Distribution and collection functionsPortal publication - Publish to a BI launchpad

ToolsDrill through - Drill through to BW, ECC, or a Web siteQuick links - Manage data, member, and report linksOffline mode - Set the current workbook to offlineInsert function - Launch the Excel Insert Function dialog boxOptions - Open the sheet, user, context, and command display optionsMore - Freeze data refresh, access member properties, and so on

HelpAbout the EPM Add-inAccess the Planning and Consolidation online help

The EPM Context Bar and the EPM PaneIn this section, you will learn how to move, resize, and hide EPM Context andEPM Panes.

22 © 2011 SAP AG. All rights reserved. 2011

Page 31: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Figure 17: EPM Context and EPM Panes

The first time you use the EPM Add-in, you must click the Show Pane & Contextbutton on the EPM Ribbon to see the EPM Context Bar and EPM Pane. Bydefault, the EPM Context bar is displayed horizontally, below the ribbon. TheEPM pane is displayed vertically on the right side of the window by default.

To move the EPM Pane or the EPM Context Bar:

• Use drag and drop or• Click the dropdown arrow in the header and click Move. Then, move the

cursor to the new position for the pane and click.

To re-size the EPM Pane or the EPM Context Bar:

• Move a corner by dragging and dropping or• Click the dropdown arrow in the header, click Size, move the cursor for the

new size of the pane and click the pane corner

To close the EPM Pane or the EPM Context Bar:

• Click the x in the corner of the pane.• Click the dropdown arrow in the header, and click Close.

To re-dock the EPM Pane or EPM Context Bar to their original position,double-click the Panes header.

2011 © 2011 SAP AG. All rights reserved. 23

Page 32: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

To hide the EPM Pane or the EPM Context Bar:

• On the EPM Ribbon Tools group, select the Options → User Options. Go tothe Others tab, and deselect the Display EPM Context Bar and Display EPMPane checkboxes in the lower right-hand corner.

• Use the toggle button Show Pane & Context in the EPM Ribbon. (This willshow or hide both panes.)

Note: The Show Pane & Context toggle button will only work if you haveyour User Options set to display these panes.

The EPM Context BarIn this section, you will learn about the features of the EPM Context Bar.

The EPM - Context Includes:

• The dimensions that are included in the current InfoCube / Model.• The members that are used in the current display of an online report• The saved members in an offline report

Figure 18: The EPM Context

The context defines, for each dimension of a selected cube/model, a membercorresponding to the default member to be applied. Dimension members that areselected in the axes of a report override the members selected in the EPM contextand subsequent context pane changes will not be used to select data. Therefore, itmight be prudent to hide or lock the dimension.

24 © 2011 SAP AG. All rights reserved. 2011

Page 33: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Figure 19: EPM Context Lock tab

Figure 20: Locked Dimensions are Grayed Out

On the Context Lock tab, you can select, hide, or lock members for the EPMContext Bar. You can define this at the worksheet and at the workbook level. Tolock a dimension on a workbook or worksheet, go to the EPM Ribbon and selectOptions → Context Options.

In the Context Lock tab, select the level from the Context Level drop-down menu(workbook or worksheet), then click the member hyperlink of the dimension youare locking to open the Member Selector. Then, select the member you wish tolock the dimension with.

The Lock checkbox is automatically checked for the dimension.

If you set the member at the workbook level, this affects all worksheets in theworkbook.

2011 © 2011 SAP AG. All rights reserved. 25

Page 34: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 21: Member Selection: The Report's EPM Pane Takes PrecedenceOver the EPM Context

You can also set a filter for a dimension by using the Page Axis in the EPM Pane.

Caution: The members selected on the axes of a report override themembers selected in the context.

For this reason, you may consider hiding the dimensions if you choose to filterthem in the Page Axis.

26 © 2011 SAP AG. All rights reserved. 2011

Page 35: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Figure 22: The EPM - Context With Category Hidden

Figure 23: The Context Display Tab

Here, you define the EPM Context Bar options. The list of dimensions changesfrom one worksheet to another. In the Context Display tab, you define the displayof the EPM Context Bar.

2011 © 2011 SAP AG. All rights reserved. 27

Page 36: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

You can specify display settings for the context by selecting EPM → Options →Context Options.

The following options are available on the Context Display Options tab:

• Hiding Dimensions: You can decide not to display a dimension in the EPMContext bar by selecting the Hide checkbox. This checkbox is available onboth the Context Display and Context Lock tabs. This is helpful if you havelocked a dimension on the worksheet or if you decide to filter using the PageAxis and want to hide it from the EPM Context bar.

• Dimension and Member Name Display: The name of the dimension andthe name of the member are displayed in the EPM Context bar by default. Ifyou prefer to only show the member name, and not the dimension name, youcan uncheck the Show Dimension Name option.

• Dimension Color: Colors are displayed by default in the EPM Context bar.You can choose not to display the colors by unchecking the Show DimensionColor option. Additionally, you can define the colors you want by clickingthe colored area in the Color column and selecting a color from the palette.

• Dimension Order: You can modify the default order of the dimensions asthey appear in the EPM Context bar by selecting a dimension and clickingthe Up or Down button.

The EPM PaneSAP BusinessObjects EPM solutions 10.0, Add-in for Microsoft Office (the EPMAdd-in) provides multiple ways to create a new report including:

• EPM Report Editor• Entering members directly in a sheet• EPM Pane• Report creation using copy and paste.• Drag and Drop

This section will show how to create a report using the EPM Pane.

28 © 2011 SAP AG. All rights reserved. 2011

Page 37: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Figure 24: EPM Pane

The EPM Pane is a graphic user-interface for defining a report. For all three reportbuilding options, any dimension member not specified in the report definition willbe derived from the EPM Member Selector.

In the Current Report area of the pane, you can drag and drop one or severaldimensions to the following sections to create a report

• Page Axis (Optional)• Row Axis• Column Axis

As soon as you drag and drop at least one dimension in the row axis and onedimension in the column axis, the report with the selected dimension is displayedin the worksheet. However, this only occurs if the Defer Layout Update option isnot checked,

If you select the Defer Layout Update option, the Update button is enabled,which will prevent the report layout from being updated automatically each timea change to the axes section is made.

This can help improve performance when you are accessing a large amount ofdata. This will allow you to quickly add, move, and remove dimensions fromthe dimensions section to the axes sections. Then you can select Update whenyou are finished.

2011 © 2011 SAP AG. All rights reserved. 29

Page 38: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

By default, the member taken into account for a dimension is the one defined inthe context, with theMember and Children relationship. Once a dimension hasbeen added to an axis section, you can select another member for the dimension byclicking the dimension name that appears as a link. TheMember Selector opensand you can select the member you want.

When placing several dimensions on one axis, you can reorder the dimensions byselecting a dimension row (click to the right of the dimension link, not the linkitself) and dragging and dropping it. This can also be accomplished by selecting adimension, and using the dropdown.

EPM Pane: Drag & Drop to Spreadsheet: You can also use the EPM Paneto build a report by dragging the dimensions from the Current Report area tothe Excel spreadsheet.

Figure 25: Highlight Report

The Highlight Current Report option will color code the report based on the page,row, and column axis and current connection to the EPM solution. This optionwill be extremely useful for those worksheets that are complex with reports frommultiple data sources.

30 © 2011 SAP AG. All rights reserved. 2011

Page 39: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Figure 26: Select other members

In this section you will learn how to create reports using drag and drop.

2011 © 2011 SAP AG. All rights reserved. 31

Page 40: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

32 © 2011 SAP AG. All rights reserved. 2011

Page 41: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Exercise 1: Report and Plan in the ExcelInterface of the EPM Add-In

Exercise ObjectivesAfter completing this exercise, you will be able to:• Connect to the Excel interface of the EPM add-in• Use delivered templates• Configure user options• Create a template using drag and drop• Save templates• Use input schedules

Business ExampleYou need to use the EPM add-in to run some delivered reports, create your ownreports, and enter some transaction data.

Task 1:Create a connection and configure your user options.

1. Create a connection to the Expense model for your assigned environment.

Open the native Excel, go to the EPM ribbon and log on.

For NetWeaver, create a connection to the server with URL:http://wdflbmt7122.wdf.sap.corp:54080/sap/bpc/ (no dashes). Let the systemgenerate the connection name.

For MIcrosoft, create a connection to the server with URL:http://wdflbmt7121:1080/sap/bpc/ (no dashes). Let the system generate theconnection name.

Your environment will depend on which class you are in:

Class Environment

BPC410 BPC410_SMASTER

BPC420 BPC420_##

BPC430 BPC430_##

BPC440 BPC440_##

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 33

Page 42: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

2. Define your user settings to display the EPM context bar and the EPM pane.

Hint: You may need to use the right arrow to scroll the EPM ribbonto the right.

Note: If the EPM Context and Pane disappear, choose EPMWorksheet under Options → Sheet Options.

3. Deactivate the display of dimension color.

Note: If the EPM Context and Pane disappear, select EPMWorksheet under Options → Sheet Options.

4. Set your context members as shown below.

Dimension Member ID - Description

P_ACCOUNT PL400 - Indirect Expenses

P_CATEGORY Plan - Plan

P_CCOST DIRECT - Direct

P_CURR LC - Local Currency

P_TIME 2011.TOTAL - 2011 Total

MEASURES PERIODIC - Periodic

Note: Measure is a dimension provided by the system that allowsyou to view period vs. cumulative data.

5. Practice the list vs. hierarchy display as well as filtering in the P_Accountmember selector for the Calc Member Flag property.

To Practice Do This

The List vs.Hierarchy display

Choose the down arrow next to the field and select List

Member Filteringby Properties 1. Select the filter icon to display members based

on their Calc Member Flag property.2. To deactivate the filter, choose the red X.

Continued on next page

34 © 2011 SAP AG. All rights reserved. 2011

Page 43: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Task 2:Use a delivered template to analyze data, modify the context member selections,and practice the drill down and back options to view the data at the level of detailyou need.

1. Open the Dynamic Report with Nested Rows to view the data for indirectexpenses.

2. Drill down to the months for Q1. Then use the Back option in theUndo panel.

Hint: You may need to use the left arrow to scroll the EPM ribbonto the left in the next step.

3. Swap the axis.

Task 3:Create a report via drag and drop, then save it to the company folder for later use.

1. In the Expense model, create a new workbook and use drag and drop to builda report with account by entity in the rows and time in the columns.

2. Define the P_ACCOUNT members as base members for the net incomeparent.

Hint: You may need to maximize your screen.

3. Hide the empty rows.

4. Restrict the time members to Base Level for 2011 and the entity members toMember and Children for the TOTAL ID.

5. Save the report as the Account by Entity Trend ## in the Company REPORTSfolder.

Task 4:Change the Account by Entity Trend ## report so you can input budget data.

1. Switch your P_CATEGORY context to Budget and deactivate suppression.

2. Switch the report to an input form and set the Keep Formula on Data optionso that your formulas are not overridden.

3. Select Consulting for the rows.

4. Enter the following data for January 2011:

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 35

Page 44: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Account Amount

Personnel Cost 25,000

Travel and Entertainment 2,000

Advertising and Promotion 500

5. Use cell formulas to add 5% for February to December and save the datato the database.

6. Confirm that your formulas were not overwritten.

7. Save your input template to the Input Schedules folder for the companyas Account by Entity Input.

8. Close Excel

36 © 2011 SAP AG. All rights reserved. 2011

Page 45: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Solution 1: Report and Plan in the ExcelInterface of the EPM Add-InTask 1:Create a connection and configure your user options.

1. Create a connection to the Expense model for your assigned environment.

Open the native Excel, go to the EPM ribbon and log on.

For NetWeaver, create a connection to the server with URL:http://wdflbmt7122.wdf.sap.corp:54080/sap/bpc/ (no dashes). Let the systemgenerate the connection name.

For MIcrosoft, create a connection to the server with URL:http://wdflbmt7121:1080/sap/bpc/ (no dashes). Let the system generate theconnection name.

Your environment will depend on which class you are in:

Class Environment

BPC410 BPC410_SMASTER

BPC420 BPC420_##

BPC430 BPC430_##

BPC440 BPC440_##

a) From your remote desktop, open the Start menu and choose Programs→ Microsoft Office → Microsoft Office Excel 2007.

Excel opens and displays a new worksheet.

b) Choose the EPM tab, then choose Log On.

The EPM - Logon dialog box is displayed.

c) Next to the Connection field, choose the Ellipsis (...) button.

The EPM - Connection Manager opens.

d) Choose Create.

Caution: If you are in the BPC410 class, select the Version forthe Microsoft Platform type.

Use Server URL http://wd-flbmt7121:1080/sap/bpc/.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 37

Page 46: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

e) In the Server URL field, enter http://wd-flbmt7122.wdf.sap.corp:54080/sap/bpc/ (nodashes) as shown below.

Figure 27: Create Connection

f) Choose Connect.

g) If prompted, enter your user ID and password to create the connection.

User ID Password

BPC-## training

h) Choose Logon.

Environments and models are loaded.

i) Use the dropdown box to select your environment and model.

Environment Model

Your assigned environment Expense

j) Choose Generate Connection Name.

The system generates a connection name made up of the model IDand environment ID.

k) Choose OK twice.

l) If prompted, enter your user ID and password to access yourenvironment and model.

Continued on next page

38 © 2011 SAP AG. All rights reserved. 2011

Page 47: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

User ID Password

BPC-## training

m) Choose Logon.

The EPM pane appears on the right.

2. Define your user settings to display the EPM context bar and the EPM pane.

Hint: You may need to use the right arrow to scroll the EPM ribbonto the right.

Note: If the EPM Context and Pane disappear, choose EPMWorksheet under Options → Sheet Options.

a) Choose Options → User Options...

Figure 28: Options

b) Choose the Others tab.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 39

Page 48: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 29: Options - User Options

c) ConfirmDisplay EPM Context Bar andDisplay EPM Pane are selected.

d) Choose OK.

e) Click on Show Pane and Context.

The EPM Context and EPM pane both disappear.

f) Click on Show Pane and Context again.

The EPM Context and EPM pane both reappear.

Continued on next page

40 © 2011 SAP AG. All rights reserved. 2011

Page 49: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

3. Deactivate the display of dimension color.

Note: If the EPM Context and Pane disappear, select EPMWorksheet under Options → Sheet Options.

a) Choose Options → Context options.

b) Deselect Show Dimension Color as shown below.

Figure 30: EPM - Context Options

c) Choose OK.

4. Set your context members as shown below.

Dimension Member ID - Description

P_ACCOUNT PL400 - Indirect Expenses

P_CATEGORY Plan - Plan

P_CCOST DIRECT - Direct

P_CURR LC - Local Currency

P_TIME 2011.TOTAL - 2011 Total

MEASURES PERIODIC - Periodic

Note: Measure is a dimension provided by the system that allowsyou to view period vs. cumulative data.

a) Click in the EPM Context field for P_ACCOUNT, and choose SelectOther Members... from the dropdown list.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 41

Page 50: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

The EPM - Member Selector opens.

b) Under Select member names to display (blue box to the left of thedropdown), select Description from the dropdown list.

Hint: You may need to maximize your screen to see the OKbutton in the next step.

Figure 31: EPM - Member Selector

c) Expand the nodes and choose Indirect Expenses. (You will find thisunder Net Income -> Operating Income). Choose OK.

Your context is now set to Indirect Expenses.

d) Use the same method to select your remaining context members asshown below.

Figure 32: Ribbon with Context

Continued on next page

42 © 2011 SAP AG. All rights reserved. 2011

Page 51: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

5. Practice the list vs. hierarchy display as well as filtering in the P_Accountmember selector for the Calc Member Flag property.

To Practice Do This

The List vs.Hierarchy display

Choose the down arrow next to the field and select List

Member Filteringby Properties 1. Select the filter icon to display members based

on their Calc Member Flag property.2. To deactivate the filter, choose the red X.

a) In the EPM context field for P_Account, choose Select Other Members...

The EPM - Member Selector is displayed.

b) Select the dropdown box next to Hierarchy and choose List.

The accounts are now displayed as list not as a hierarchy.

c) Choose Filter and for the Property choose Calc member flag, forthe Operator choose = and for the Values choose Y as shown below:

Figure 33: Select Other Members

Under the Dimension Members you can see the parent account memberswhose values are calculated.

d) Choose Cancel to close the EPM - Member Selector.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 43

Page 52: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Task 2:Use a delivered template to analyze data, modify the context member selections,and practice the drill down and back options to view the data at the level of detailyou need.

1. Open the Dynamic Report with Nested Rows to view the data for indirectexpenses.

a) In the EPM ribbon, select Open → Open Server Root Folder...

Figure 34: Open Server Root Folder

The Open dialog box is displayed.

b) On the left of the dialog box, choose Company(Public) → Reports →Templates.

c) Select DYNAMIC REPORT WITH NESTED ROWS.

Continued on next page

44 © 2011 SAP AG. All rights reserved. 2011

Page 53: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Figure 35: Open Dynamic Template

d) Choose Open and after report runs choose Refresh from the EPMRibbon

Figure 36: Dynamic Template Results

The report opens and displays the most recent data.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 45

Page 54: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

2. Drill down to the months for Q1. Then use the Back option in theUndo panel.

Hint: You may need to use the left arrow to scroll the EPM ribbonto the left in the next step.

a) Double-click Q1 2011 to drill down to monthly data.

Figure 37: Drill Down to Months

b) In the Undo panel, choose Back.

3. Swap the axis.

a) On the lower right, next to Column Axis, select Switch Axis.

Now time is in the rows and accounts are in the columns.

b) Choose Back.

Continued on next page

46 © 2011 SAP AG. All rights reserved. 2011

Page 55: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Task 3:Create a report via drag and drop, then save it to the company folder for later use.

1. In the Expense model, create a new workbook and use drag and drop to builda report with account by entity in the rows and time in the columns.

a) Choose the Office Button → New.

The Template dialog box opens.

b) Choose Create or OK.

c) From the EPM Pane, copy the dimensions to the cells specified belowby drag and drop.

Dimension Cell

P_COST B4

P_ACCOUNT C4

P_TIME D3

Figure 38: Drag and Drop Initial Result

You have created a new report. The row and column axis can be seenon the lower right.

2. Define the P_ACCOUNT members as base members for the net incomeparent.

Hint: You may need to maximize your screen.

a) On the lower right on the Row axis, click P_ACCOUNT (in bluehypertext).

The EPM - Member Selector is displayed.

b) Select the Net Income parent by placing a checkbox to the left of themember.

c) In Selection Relationship on the lower left, select Base Level.

d) Choose the right arrow to move the selection to Selected Members.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 47

Page 56: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Net income base level members are moved to selected members andthe prior selection is highlighted.

e) Similarly, choose the left arrow to remove the highlighted priorselection.

Figure 39: Member Selection

f) Choose OK.

The EPM - Member Selector closes and you have base level membersfor net income in the rows.

Hint: If you receive a warning about the “Do not storeenvironment” option choose the checkbox for Do not showthis message again then choose OK. Then you will not receivethis message again. (This option allows you to save a reportwithout storing the connection with the report. Then, you willbe able to use this report with other connections provided thatthe models have similar structures.)

Continued on next page

48 © 2011 SAP AG. All rights reserved. 2011

Page 57: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

3. Hide the empty rows.

a) Choose Options → Sheet options.

The EPM Sheet Options dialog box is displayed.

b) Next to Rows select Remove Empty.

Figure 40: Hide Empty Rows

c) Choose OK then from the EPM ribbon choose Refresh

Figure 41: Hide Empty Rows Result

The empty rows are removed.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 49

Page 58: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

4. Restrict the time members to Base Level for 2011 and the entity members toMember and Children for the TOTAL ID.

a) On the Column axis, choose P_TIME.

The EPM - Member Selector is displayed.

b) Select the 2011 parent by placing a checkbox to the left of thedimension member.

c) In Selection Relationship on the lower left, select Base Level.

d) Choose the right arrow to move the selection to Selected Members.Choose the blue left arrow to remove the prior selection which isalready highlighted.

e) Set the display to Description.

f) Choose OK.

g) Use the same steps to display Member and Children for the P_COSTdimension for the Total parent then choose OK.

Figure 42: Time Base Members

Your report now has months in the columns for the Direct, Support, andTotal cost center groups.

5. Save the report as the Account by Entity Trend ## in the Company REPORTSfolder.

a) In the EPM menu, choose Save → Save to Server Root Folder.

The Save dialog box is displayed.

b) Choose Company (Public) → REPORTS.

In the File Name field, enter Account by Entity Trend ##.

c) Choose Save.

Continued on next page

50 © 2011 SAP AG. All rights reserved. 2011

Page 59: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Task 4:Change the Account by Entity Trend ## report so you can input budget data.

1. Switch your P_CATEGORY context to Budget and deactivate suppression.

a) In the EPM Context for P_CATEGORY, left click Plan → Select OtherMembers.

b) Select Budget → OK.

c) Choose Options → Sheet options.

d) Next to Rows select Keep All → OK.

e) Choose Refresh.

The report should display blank rows since no budget data exists.

2. Switch the report to an input form and set the Keep Formula on Data optionso that your formulas are not overridden.

a) Choose Options → Sheet Options.

The EPM - Sheet Options are displayed.

b) Select Use as Input Form.

c) Choose the Refresh tab and select Keep Formula on Data.

Figure 43: Keep Formula on Data

d) Choose OK→ Refresh.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 51

Page 60: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

3. Select Consulting for the rows.

a) In the EPM Pane on the Row axis, choose P_COST.

The EPM - Member Selector is displayed.

b) Select the Consulting member (Under Total → Direct) by placing acheckbox to the left of the member.

c) Choose the right arrow to move the selection to Selected Members.Choose the blue left arrow to remove the prior selection which isalready highlighted.

d) In Select member names to display, select ID from the dropdown list.

e) Choose OK.

4. Enter the following data for January 2011:

Account Amount

Personnel Cost 25,000

Travel and Entertainment 2,000

Advertising and Promotion 500

a) Enter the values as shown above.

Continued on next page

52 © 2011 SAP AG. All rights reserved. 2011

Page 61: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

5. Use cell formulas to add 5% for February to December and save the datato the database.

a) In E6, enter the following formula: =D6*1.05.

b) Copy the formula and paste it into the cells E7 and E8.

c) Copy E6:8 to F6:8 through O6:8.

d) Choose Save Data → Save Worksheet Data.

Figure 44: Save Worksheet Data

The EPM - Submit Data dialog box is displayed.

e) To send the data, choose Yes.

The Save Results dialog box is displayed.

f) Choose OK.

6. Confirm that your formulas were not overwritten.

a) Select cell E6 to check if the formula is still the cell.

7. Save your input template to the Input Schedules folder for the companyas Account by Entity Input.

a) In the EPM ribbon, choose Save → Save to Server Root Folder.

The Save dialog box appears.

b) Choose Company (Public) → Input Schedules.

c) In the File Name field, enter Account by Entity Input ##.

d) Choose Save.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 53

Page 62: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

8. Close Excel

a) Choose the Office button → Exit Excel

b) Do not save any workbooks.

54 © 2011 SAP AG. All rights reserved. 2011

Page 63: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Excel Interface of the EPM Add-In

Lesson Summary

You should now be able to:• Create an EPM Add-in connection• Describe the features of the EPM Add-in ribbon• Define default values for dimensions with the EPM Context Bar• Build a simple report

2011 © 2011 SAP AG. All rights reserved. 55

Page 64: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Lesson: Using The Web Client

Lesson OverviewIn this lesson you will learn how to use the Web client.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Describe the Home tab• Use the built-in screens• Use the Library and Workspaces to organize your reports

Business ExampleYour users need an entry point for Planning and Consolidation application toaccess their activities, documents, workspaces, and audit reports.

The Home TabThe Web client is a good way to access Web features as well as connect to theExcel interface of the EPM add-in.

When you log on to the Web client, you are taken to the Home tab and the StartPage.

The Header area shows who is logged in, and contains a link to customize userpreferences and a Help link.

The Home tab can be broken down into five main areas:

56 © 2011 SAP AG. All rights reserved. 2011

Page 65: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using The Web Client

Figure 45: Home Tab - Start Page

• Header area - Describes who is logged in, a link to change Preferences,and a Help link

• Built-in screens - Start Page, Process, Library, Documents, ConsolidationCentral, Analysis, and Audit

• Start Page - Create area - Workspace, Report, and Input Forms• Start Page - Launch area - To launch the EPM add-in for Excel, EPM add-in

for Word, EPM add-in for PowerPoint, and Planning and ConsolidationAdministration

• Footer - Shows the environment you are currently in as well as links toview your access rights, Download Center, and the About box (the productinformation)

Note: The Consolidation Central module enables you to post journals andmaintain Ownership Data.

User PreferencesA user can customize the user interface by adjusting the:

• Text size• Theme• Language• Time, Date• Number format

2011 © 2011 SAP AG. All rights reserved. 57

Page 66: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 46: User Preferences

My SecurityTo see the current users’ access rights, click the hyperlink to Show Access Rights.

The hyperlink opens a new tab allowing the user to see the current environment,as well as the ID, full name, and e-mail address of the current user.

Additionally, the user can see which teams, task profiles, and data access profilesthey are assigned to. This screen is read only.

Changing EnvironmentsTo change to a different environment, click the hyperlink to the currentenvironment. The available environments are listed. Select the one you want,then choose Connect.

Figure 47: Change Environment

LibraryThe library enables you to create, open, delete, and edit the application objects,such as workspaces, reports and input forms, SAP BusinessObjects Dashboards,and books.

These objects can be stored in three different folders:

1. Private - only you have access2. Public - everyone has access3. Teams - only a specific team has access

58 © 2011 SAP AG. All rights reserved. 2011

Administrator
线条
Administrator
线条
Administrator
线条
Administrator
椭圆
Page 67: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using The Web Client

Favorites allows the user to group objects together that they use frequently. TheFolder column shows the folder where the object is actually stored.

Figure 48: Library

DocumentsThe Documents view is a central repository for storing or sharing files and Websites. You can use the features of the Documents view to post, share, and retrievefiles or the contents of a Web site, and to manage the content display.

Figure 49: Documents

AnalysisThis feature allows the user to visualize ad hoc or KPI analysis to better understandvariances.

2011 © 2011 SAP AG. All rights reserved. 59

Administrator
线条
Page 68: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 50: Analysis

AuditAudit allows the user to prepare reports containing system information. Securityaudit reports can be reported by users, teams, task profiles, and data accessprofiles. Additionally, reports can be created on data changes, comments, workstatus, and administration activity.

Figure 51: Audit

60 © 2011 SAP AG. All rights reserved. 2011

Page 69: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using The Web Client

WorkspacesA workspace allows the user to store content (documents), reports, and inputforms in a single place.

Workspaces are edited and viewed in a separate tab. Icons are used for each ofthe components.

Figure 52: Workspace

Workspace Options

Options What Is it Used for

Manage Context Change Model and Change Dimension Names displaysettings

Change DimensionMembers

Select an existing member to choose a new member

Add Dimension Add a dimension to the context or add all dimensions

Add Content Add Web reports or input forms, for example, from thelibrary

Add New Report Create a new Web report or input form

Save Workspace Save or Save As Workspace

2011 © 2011 SAP AG. All rights reserved. 61

Page 70: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Lesson Summary

You should now be able to:• Describe the Home tab• Use the built-in screens• Use the Library and Workspaces to organize your reports

62 © 2011 SAP AG. All rights reserved. 2011

Page 71: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Implementing SAP BusinessObjects Planning and Consolidation

Lesson: Implementing SAP BusinessObjects Planningand Consolidation

Lesson OverviewIn this lesson, you will learn about implementing SAP BusinessObjects Planningand Consolidation.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Discuss the implementation process• Describe business requirements in general for the planning and consolidation

application.

Business ExampleYour company or your client has purchased SAP BusinessObjects Planning andConsolidation and so you need to learn how to implement it.

Implementation FactorsEvery project has the following factors to consider:

Figure 53: Implementation Factors

• Product expertise.• A structured project delivery using best practices.

– Method Based Scoping (ASAP 7.1 BPC Add-on).– Blueprinting.

2011 © 2011 SAP AG. All rights reserved. 63

Page 72: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

– Project Quality Assurance.

Note: ASAP Methodology for Implementation 7.1 has the add-on forBPC.

Performance is a very important component in a project and it should be addressedright from the beginning of the project.

Pushing the performance topic to the end of a project will most of the time end upcausing delays in the project.

• Lack of data in the development system (reports were build on completelyempty applications), so the performance of the reports could not be assessedupfront (some dummy data should be generated in the development system)

• Lack of stress testing activities in project plan in system with large numberof concurrent users

• Design errors. An application, calculation or report were designed in a waythat they could not be performant

Factors to consider

Factor Example

Project Objectives Define the project objectives. For example,implement cost center planning

Scope Determine the scope of the implementation.For example, the scope may only be for NorthAmerica and Europe

Strategy Define the project strategy. For example, performmost cost center planning using Planning andConsolidation

Timeline Define both the timeline for the entire project andthe implementation sequence

Sequence Determine the sequence of events from a projectplanning perspective

Resources Identify the internal project team members andconsultants required

The Roadmap to Success

SAP and its partners have implementation methodologies that are used tostandardize the process.

64 © 2011 SAP AG. All rights reserved. 2011

Page 73: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Implementing SAP BusinessObjects Planning and Consolidation

The roadmap includes the key steps in the process of implementing a solution.

1. SAP BI Strategic Decision: For the planning and consolidation application,you may need to decide whether to use an existing BW server or install astandalone server, for example.

2. Pilot Project: A pilot phase may be beneficial to help determine your “tobe” solution.

3. Project: Once your “to be” solution has been determined, you proceed withthe implementation.

The Implementation Roadmap forms the methodical framework for the steps thatyou require to implement SAP BusinessObjects Planning and Consolidation. Itincludes the necessary project management, the configuration for the businessprocesses, as well as the technical features, the test procedure, and the trainingconcepts.

The methodology of the Implementation Roadmap supports the inclusion of thoserequirements that are used as the basis for installing the application.

Figure 54: The Roadmap to Success

• Project Preparation - initial project planning, project procedures, landscapestrategy

• Business Blueprint - project planning, architecture• Realization - configure the initial solution• Final Preparation - test the solution, conduct training• Go Live and Support - cut over to the new system, follow up on possible

go live issues

Below you can see the recommended resources by phase.

2011 © 2011 SAP AG. All rights reserved. 65

Page 74: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 55: Method Based Role Allocation

BPC is a very versatile tool and can be used to cover many different businessprocesses. A BPC Business Blueprint document can therefore look quite differentldepending on the type of project and on the client as well. Due to the nature ofBPC, there is not a single template that will fit all requirements.

The blueprinting activity is a key activity in any BPC project. It is key not tounderestimate the time required for this task (at least 20 to 30 percent of the totaltime of the project – depends on the availability of documented requirements)

Prototyping is a key for early user involvement and to prove designs. It reduceschange management efforts during Go-Live Preparation (lean implementationmodel)

Business requirements lie at the center of the project. The scope of your initiativemust be driven by business requirements. A key ingredient is to gather accuraterequirements in the information gathering process.

66 © 2011 SAP AG. All rights reserved. 2011

Page 75: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Implementing SAP BusinessObjects Planning and Consolidation

Figure 56: Information Gathering Process

• Preparation

– Identification of the interview/workshop team as well as theinterviewees / attendees

– Scheduling interviews/workshops– Communication of project goals, roles, and responsibilities

• Requirements analysis

– Use SAP-delivered business content as a first step to structure theanalysis

– Collect the business requirements, focusing on the processes– Find a suitable combination of interview and workshop techniques

• Matching

– Check user requirements against the business content– Identify gaps– Develop strategies to close gaps

• Presentation

– Prepare and publish the results– Find agreement on next steps– Determine success criteria and risk factors

Development GuidelinesHere are some development guidelines to keep in mind.

2011 © 2011 SAP AG. All rights reserved. 67

Page 76: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 57: Development Guidelines

• Naming guidelines - define naming conventions for all objects• Responsibilities - define and communicate to each team member• Authorization concept - build your security plan early in the project• Global / Local data - identify data staging layers where you may have a

corporate repository of Global data vs. an application-specific set of Localdata.

• Master data - identify where master data will be maintained• Transaction data - identify where transaction data will be sourced• Data flow - similar to the above but include transformations• Data targets - in the data flow, identify where data will be stored• BI objects - determine which BW objects will be involved in the data flow• Data model integration - are there integration points between BW and

Planning InfoCubes for example?• EDW - do you need to use other Enterprise Data Warehousing solutions

such as Informatica?• Archiving - a life cycle strategy is important to reduce the storage of older

data• Initial data transfer - during start-up, how will the initial data transfer occur?• Data handling - similar to the above, but also include possible transformation

and mapping• Operating concept / transports - where will new objects be created and how

will the transport process work?

68 © 2011 SAP AG. All rights reserved. 2011

Page 77: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Implementing SAP BusinessObjects Planning and Consolidation

• Business content - during the gathering of business requirements, check tosee if you can use any delivered business content

• Documentation - document why your solution and objects are built the waythey are so that subsequent team members can follow what you did, forexample

• Special topics

• List of all applications• List of dimensions per application (and dimension type)• List of properties for each dimension• High level content for each dimension• Description of internal data flows between applications• Data sources for master data and transaction data• Central / De-central data load• Automatic / Manual trigger• Full vs. Incremental load• Technology used for data load (out-of-the box, development in ABAP, ...)

Requirements AnalysisGathering business requirements may be the most important part of a project, andthe most challenging!

2011 © 2011 SAP AG. All rights reserved. 69

Page 78: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Figure 58: Requirements Analysis

• Project focus - this should be done periodically since conditions changeover time

• Interviews - conduct them with individuals or small groups to ensure thateveryone has input. Collect information about the business process

• Workshops - use larger groups to do brainstorming• Documentation - good documentation is critical to avoid miscommunication• Gap analysis - compare as is with to be• Reporting requirements - include planning and / or consolidation

requirements

Analysis LevelsGranularity along with storage of historical data is one of the most importantrequirements from a performance perspective. Too much detail can causeperformance issues later on.

When gathering business requirements, it is critical to identify what level of detailis really needed.

Similar data requirements include:

• How soon do you need to have ECC data in BW?• How much history do you need to store?• When can data be archived?

70 © 2011 SAP AG. All rights reserved. 2011

Page 79: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Implementing SAP BusinessObjects Planning and Consolidation

Figure 59: Analysis Levels

Sample Business Requirements for a Planning Project

1. What type of planning do you perform and in which system?2. What level of detail?3. Who are the planners?4. What is a typical day in the life of a planner?5. Is there a service level agreement for performance milestones? (Example:

reports must run in 30 seconds or less)6. What are the top-down and bottom-up requirements?7. Is it next year's tactical plan or the 5 year strategic plan?8. Are there offline scenarios?9. Do you need to track status and provide guided navigation?10. How will you lock approved data?11. When should we track who changes the data?12. Where is the actual data coming from?13. Do you need to replicate ECC Cost Center Planning, for example?14. What types of business calculations are needed?15. Etc.

2011 © 2011 SAP AG. All rights reserved. 71

Page 80: SAP Bpc410 en Col96 Fv Part a4

Unit 1: Introduction to SAP BusinessObjects Planning and Consolidation BPC410

Sample Implementation Steps for a Planning ProjectA planning project could involve the following steps.

• Gather the business requirements• Compare as is with to be• Consider delivered content• Specify the required architecture• Develop the data flow requirements• Create the environment• Create dimensions and properties• Create models and set up security• Set up Data Manager packages, logic scripts / BAdIs, business rules• Update exchange rates• Set up work status and a business process flow• Create new reports and input schedules

Note: BAdI stands for Business Add-In.

72 © 2011 SAP AG. All rights reserved. 2011

Page 81: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Implementing SAP BusinessObjects Planning and Consolidation

Lesson Summary

You should now be able to:• Discuss the implementation process• Describe business requirements in general for the planning and consolidation

application.

2011 © 2011 SAP AG. All rights reserved. 73

Page 82: SAP Bpc410 en Col96 Fv Part a4

Unit Summary BPC410

Unit SummaryYou should now be able to:• Explain the key terms• Discuss the benefits of SAP BusinessObjects Planning and Consolidation• Describe the components• Identify the most important features of SAP BusinessObjects Planning and

Consolidation• Create an EPM Add-in connection• Describe the features of the EPM Add-in ribbon• Define default values for dimensions with the EPM Context Bar• Build a simple report• Describe the Home tab• Use the built-in screens• Use the Library and Workspaces to organize your reports• Discuss the implementation process• Describe business requirements in general for the planning and consolidation

application.

74 © 2011 SAP AG. All rights reserved. 2011

Page 83: SAP Bpc410 en Col96 Fv Part a4
Page 84: SAP Bpc410 en Col96 Fv Part a4
Page 85: SAP Bpc410 en Col96 Fv Part a4

Unit 2Creating Structures

Unit OverviewThis unit covers the steps you take to build the foundation of your SAPBusinessObjects Planning and Consolidation environment. It involves creatingan environment in which all Planning and Consolidation activities occur, andworking with dimensions, which are the building blocks of the models.

Unit ObjectivesAfter completing this unit, you will be able to:

• Describe the delivered content• Know how to use the delivered content• Add a new environment• Set the environment status• View the user log• Describe the backup and restore procedure• View your environment in SQL• Create dimensions• Create properties and hierarchies• Maintain the dimension members• Present the different model types• Create and optimize a model• Provide access to the model• Explain the possible modifications to an existing model• Add a dimension to a model• Modify the properties or IDs of a dimension• Delete dimension members

Unit ContentsLesson: Introducing the Delivered Content.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Lesson: Working with Environments .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

2011 © 2011 SAP AG. All rights reserved. 75

Page 86: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Procedure: To Add a New Environment .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82Procedure: To Log on to the New Environment .. . . . . . . . . . . . . . . . . . . . . . . . 83Procedure: To Set the Environment Status ... . . . . . . . . . . . . . . . . . . . . . . . . . . . 84Procedure: To View the User Log ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85Procedure: To Back Up an Environment .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86Exercise 2: Create an Environment.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

Lesson: Maintaining Dimensions ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93Procedure: To Create a Dimension ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102Procedure: To Add a Hierarchy... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103Exercise 3: Update the Account Dimension ... . . . . . . . . . . . . . . . . . . . . . . . . .105Exercise 4: Create a Dimension... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109Exercise 5: Create a Hierarchy ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113

Lesson: Maintaining Models.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117Procedure: To Create a Model.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121Procedure: To Optimize a Model .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123Procedure: To Set Context Default. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .126Exercise 6: Create a Model .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127

Lesson: Changing Existing Structures ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133Procedure: To add a Dimension to an Existing Model.. . . . . . . . . . . . . . . .134Procedure: To Change a Member ID ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136

76 © 2011 SAP AG. All rights reserved. 2011

Page 87: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Delivered Content

Lesson: Introducing the Delivered Content

Lesson OverviewThis lesson describes the delivered content.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Describe the delivered content• Know how to use the delivered content

Business ExampleYou use the delivered content as a starting point to build your environment.

You need to understand what is included in the delivered content.

Overview of the Delivered ContentThe EnvironmentShell is the delivered environment when installing Planning andConsolidation. It contains the following:

• Dimensions• Models for Planning and Consolidation processes• Report templates and input form templates• Data Manager packages

Caution: You must not modify the EnvironmentShell. We recommendthat you preserve it for reference.

Delivered ModelsEnvironmentShell includes the following models:

• Planning• Consolidation• Rates• Ownership

Rates and Ownership models are supporting models to the Planning andConsolidation models. They contain the currency rates and the group structure.

Note: Delivered models do not contain data.

2011 © 2011 SAP AG. All rights reserved. 77

Administrator
椭圆
Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Page 88: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Delivered DimensionsThe following dimensions are defined and used in models:

Delivered Dimensions by Model

Dimension Planning Consolidation Rates Ownership

Account X X

Audit Trail X X

Category X X X X

Entity X X X

Flow X

InputCur-rency

X

Interco X X X

O_Account X

Product X

R_Account X

R_Entity X

RptCurrency X X

Scopes X X

Time X X X X

78 © 2011 SAP AG. All rights reserved. 2011

Page 89: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Introducing the Delivered Content

Lesson Summary

You should now be able to:• Describe the delivered content• Know how to use the delivered content

2011 © 2011 SAP AG. All rights reserved. 79

Page 90: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Lesson: Working with Environments

Lesson OverviewIn this lesson, you learn how to manage environments.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Add a new environment• Set the environment status• View the user log• Describe the backup and restore procedure• View your environment in SQL

Business ExampleWhen you start a new project with SAP BusinessObjects Planning andConsolidation, the first step is to create a new environment. This environmentcontains all the configuration required.

80 © 2011 SAP AG. All rights reserved. 2011

Page 91: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Working with Environments

Environment Creation Overview

Figure 60: Environment Content

• Add an environment by copying EnvironmentShell, for example.• Customize an environment by adding dimensions and models.

The objects defined in one environment cannot be shared with other environments.

Note: In your task profile, you need the Manage Environment task toadd environments.

New EnvironmentWhen you create a new environment, all the content like dimensions, models,business rules, security settings, folders, and files are copied.

In addition, you can select the following content to be copied:

• Database records• Business process flows• Document attachments• Web reports

Note: When journals exist in the existing environment, they are alwayscopied.

2011 © 2011 SAP AG. All rights reserved. 81

Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Page 92: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

To Add a New Environment

1. In the navigation pane, choose Environment.

2. In the action pane, choose Add a New Environment.

3. Enter a name and a description.

4. Select the environment you want to copy.

5. Choose Go to Next Step 2 of 2.

6. Select the checkboxes for the content you want to copy.

7. Choose Add a New Environment.

ResultThe new environment exists with the selected content from the original.

Note: You can hide or show the details of the copy process by choosingthe Show details or Hide details pushbuttons during copying.

Environment Status

• To prevent users from using the environment, you can set the environmentstatus to Not Available.

• A message informs users that the environment is not available and that theycannot log on.

You can customize this message when setting the environment status.

• Users defined with the Use System When Offline security task can log onwhen the system status is Not Available.

Note: Some administration tasks automatically set the environment statusto Not Available.

Note: When you close Planning and Consolidation Administration, if theenvironment is Not Available, a message will ask you whether you want toset the environment to Available.

82 © 2011 SAP AG. All rights reserved. 2011

Page 93: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Working with Environments

To Log on to the New Environment

1. In the action pane, choose the current environment (for example,EnvironmentShell) to run the logon dialog box.

2. Choose the Connection wizard pushbutton.

3. Choose Next and enter your name and password.

4. Choose Next and select your new environment in the list.

5. Choose Next and Finish to log on to the environment.

ResultYou are now logged on to your new environment.

2011 © 2011 SAP AG. All rights reserved. 83

Page 94: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

To Set the Environment Status

1. In the Navigation Pane, select your environment.

2. In the Action pane, select Set Environment Status.

3. Set the status to Available.

4. Select Update Environment Status.

ResultThe environment is now available.

User LogYou can display the user log information for your environment. The followinginformation is displayed:

• Status (Logged off, Online)• User ID• Module (Admin, Web, EPM Office Add-In Excel,...)• Model• Logon and Logoff date• Last request

Note: You can delete sections of the user log when they are no longerneeded.

Figure 61: User Log Display

84 © 2011 SAP AG. All rights reserved. 2011

Page 95: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Working with Environments

To View the User Log

1. In the navigation pane, select your environment

2. In the action pane, choose Display Who is Online.

ResultThe user log is displayed.

Backup and Restore an EnvironmentYou can back up a complete environment. The backup feature creates a set offiles that can be used later to restore the environment. The backup and restoreprocedure copies the complete environment, including the data. This function istypically used to copy your environment from the development system to thetraining or the production system.

Note: This function is executed from the Server Manager and requiressystem administrator rights.

Caution: When you restore the environment, you cannot change its name.

• Backup of a complete environment to files• Data is included in the backup• Backup and restore are executed from the Server Manager• The same environment name is used for both backup and restore

2011 © 2011 SAP AG. All rights reserved. 85

Page 96: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

To Back Up an Environment

1. From the SAP BusinessObjects Planning and Consolidation server, run theServer Manager.

Figure 62: The Server Manager

2. Choose Environment → Backup.

3. Select the environment you want to back up, and select a destination folder.

Figure 63: Selection of Environment and Folder

4. Choose Next.

ResultFiles are created from the environment backup.

Continued on next page

86 © 2011 SAP AG. All rights reserved. 2011

Page 97: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Working with Environments

Figure 64: Result of the Backup Procedure

View Environment in Microsoft SQL ServerWhen you add an environment, a new database is created on the Microsoft SQLServer. The database includes tables for master data (dimensions), data, andmetadata (configuration). You can visualize your environment on the MicrosoftSQL Server using the Microsoft SQL Server Management Studio.

Note: You need administrator rights to access the SQL Server.

Figure 65: View Environment on Microsoft SQL Server

Note: To access the database files, choose: Start → Programs →Microsoft SQL Server 2008 → SQL Server Management Studio →Database Engine.

2011 © 2011 SAP AG. All rights reserved. 87

Page 98: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

88 © 2011 SAP AG. All rights reserved. 2011

Page 99: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Working with Environments

Exercise 2: Create an Environment

Exercise ObjectivesAfter completing this exercise, you will be able to:• Create an environment.

Business ExampleAfter the design phase of the project, you start the configuration by creating anew environment.

Task: Create a new environment1. Log on to the Planning and Consolidation Administration Admin Console in

the BPC410_SMASTER environment.

Note: If you are already logged onto the BPC410_SMASTERenvironment, proceed to #2 below.

Your user id is BPC-## and the password is training.

2. Add the following environment by copying the BPC410_SMASTERenvironment.

Do not copy the database records.

Environment Name BPC410_##

Environment Description BPC410 ##

3. Log on to your new environment.

2011 © 2011 SAP AG. All rights reserved. 89

Page 100: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Solution 2: Create an EnvironmentTask: Create a new environment1. Log on to the Planning and Consolidation Administration Admin Console in

the BPC410_SMASTER environment.

Note: If you are already logged onto the BPC410_SMASTERenvironment, proceed to #2 below.

Your user id is BPC-## and the password is training.

a) Choose Start → Programs → SAP BusinessObjects → Planning andConsolidation →Planning and Consolidation Administration Client.

The SAP BusinessObjects logon dialog appears.

b) Choose Connection Wizard.

c) Under Server Name, enter WDFLBMT7121:1080.

d) Under Connection Options, confirm that Use Default Port is selected.

e) Choose Next (N) >>.

Your SAP BPC Credentials dialog appears.

f) Select Use a Different User ID and Password (d).

g) Under Login Information, enter the data below:

User ID BPC-##

Password training

Domain Name wdflbmt7121

Save Password (S) Select

h) Choose Next (N) >>.

The Environment Information dialog appears.

i) Under Default Environment, select BPC410_SMASTER and chooseNext (N) >>.

The Summary dialog appears.

j) Choose Finish (F) → OK.

The Admin Console opens.

2. Add the following environment by copying the BPC410_SMASTERenvironment.

Continued on next page

90 © 2011 SAP AG. All rights reserved. 2011

Page 101: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Working with Environments

Do not copy the database records.

Environment Name BPC410_##

Environment Description BPC410 ##

a) In the navigation pane, choose BPC410_SMASTER.

b) In the Action Pane, select Add a New Environment.

c) Enter the name and the description from above.

d) Select the BPC410_SMASTER environment to be duplicated.

e) Choose Go to Step 2 of 2.

f) Deselect the Database Records checkbox and choose Add a NewEnvironment.

The Add a new environment dialog appears.

g) Choose OK (O).

3. Log on to your new environment.

a) Next to Logon, choose BPC410_SMASTER.

b) In the SAP BusinessObjects dialog, choose Connection Wizard.

c) Choose Next (N) >>.

d) Choose Next (N) >>.

e) Select BPC410_XX.

f) Choose Next (N) >>.

g) Choose Finish (F) → OK.

ResultYou are now logged on to your new environment.

2011 © 2011 SAP AG. All rights reserved. 91

Page 102: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Lesson Summary

You should now be able to:• Add a new environment• Set the environment status• View the user log• Describe the backup and restore procedure• View your environment in SQL

92 © 2011 SAP AG. All rights reserved. 2011

Page 103: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

Lesson: Maintaining Dimensions

Lesson OverviewThis lesson shows you how to maintain dimensions.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Create dimensions• Create properties and hierarchies• Maintain the dimension members

Business ExampleYou want to analyze sales from different perspectives, such as products or markets.You need to create these dimensions in your environment.

Dimension Overview

• Dimensions are the different perspectives that you can use to analyze data.• Dimensions consist of members. Members are defined with an identifier

and a description.• Dimension members can also be described by properties. For example,

country is a typical property for the entity dimension.• You can arrange members in a hierarchical order.• You maintain dimension members in a dimension member sheet.

2011 © 2011 SAP AG. All rights reserved. 93

Page 104: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Figure 66: Example: Member Sheet of the Account Dimension

Note: Member ids can have up to 20 character. You cannot use a space orspecial characters for ids (except underscore).

Descriptions can have up to 50 characters, including special charactersand spaces, but you cannot use double quote.

Dimension TypesDimension types define the behavior and the required properties of a dimension.For example, the account type dimension contains a property named “accounttype” to indicate whether the account is a profit and loss account or a balancesheet account.

Each dimension must be assigned to one of the following dimension types:

Dimension Types

Dimension types Description

A Account

C Category

D Audit

E Entity

G Group

I Intercompany

94 © 2011 SAP AG. All rights reserved. 2011

Page 105: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

Dimension types Description

R Currency

S Subtable

T Time

U User defined

A model must contain at least the following dimension types:

• Account• Category• Entity• Time

Note: The Intercompany dimension type is required to performintercompany eliminations.

Subtable is typically used in consolidation to disclose movements, likeincrease, decrease, and transfers for balance sheet accounts.

Audit is used to classify data according to the origin, such as input,calculations, or adjustments.

Caution: The Measure appears as a dimension. This is a special casedimension created by the system to determine the periodic or year-to-dateview of the data.

Dimension PropertiesYou use dimension properties to evaluate or select members in different contextslike calculations, reports, and input forms. You can also display property values inreports and input forms.

Properties appear as columns in the dimension member sheet.

Depending on the dimension type, some properties are automatically createdbecause they are required by the system. For example, dimensions of the Entitytype have a Currency property. Additional optional properties are also proposed,depending on the dimension type. A number of these properties are used forconsolidation purposes.

2011 © 2011 SAP AG. All rights reserved. 95

Page 106: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Required Properties

Dimension Type Required Properties Description

ACCOUNT RATETYPEACCTYPESCALING

RATETYPE is used for currencyconversion.ACCTYPE defines the type ofaccount, among the following:Asset (AST), Liabilities andEquity (LEQ), Income (INC), andExpenses (EXP). ACCTYPE alsodefines the sign storage: Positivefor AST and EXP, negative forLEQ and INC.

CATEGORY YEAR Identifies the year for a timemember

AUDIT SCALING

ENTITY CURRENCY Defines the currency for the datareported by the entity.

GROUPS

INTERCOM-PANY

ENTITYSCALING

ENTITY links members of theentity dimension to the membersof the intercompany dimension.This is required for intercompanymatching.

CURRENCY REPORTINGENTITY

REPORTING determines whetherthe currency is used as a reportingcurrency. For instance, the memberLC is used only for data input.

SUBTABLE SCALING

TIME ISBEGINNINGLEVELPERIODTIMEIDYEAR

These properties define thestructure of the time dimension.

USER DEFINED

Caution: For the entity type dimension, the properties Owner andReviewer are not required. However, they are mandatory if you want touse the Work Status and Process features.

You can create additional properties depending on your own requirements.

96 © 2011 SAP AG. All rights reserved. 2011

Page 107: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

To use properties in MDX queries, script logic, or reports, the property mustbe stored in the database. To store a property in the database, select the InAppcheckbox.

Note: You can add a property when you create a new dimension. You canalso add new properties for a dimension later on.

Figure 67: Maintaining a Dimension Property

Deleting a PropertyTo delete a property, you delete the property name. When the property is definedwith the InApp option, you need to process the dimension after you delete theproperty.

Caution: Before you delete a property, you should consider the differentplaces where this property is used (reports, logic, and so on).

Dimension HierarchiesFor every dimension, you arrange members in one or more hierarchies. You usehierarchies to roll up values from base members to parent members. For example,you can group entities by regions within one hierarchy, and by segment using asecond hierarchy. You can use hierarchies in reports to group or select members.You also use hierarchies to show a hierarchical order in reports.

In the PARENTH1 column, you define the parent member.

Each hierarchy appears in the dimension member sheet like a separate column,with a name such as PARENTH1, PARENTH2, and so on.

2011 © 2011 SAP AG. All rights reserved. 97

Page 108: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Figure 68: Multiple Hierarchies

Note: In the Member Sheet, you can also use the Member Report todisplay members in a hierarchical order.

Reference DimensionA reference dimension is required for some specific dimension types. Thereference dimension is used to check the values of a property against a separatedimension. For example, the entity dimension is defined with a reference to thecurrency dimension. The currency defined for one entity is therefore checked inthe currency dimension.

98 © 2011 SAP AG. All rights reserved. 2011

Page 109: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

Figure 69: Reference Dimension

Dimension Member SheetEach dimension has a member sheet. It is stored on the server in Excel formatand contains:

• IDs and description• Properties• Column for hierarchies

You maintain the members in the member sheet using Excel functions. Forexample, you can copy and paste members from an external Excel worksheet.

2011 © 2011 SAP AG. All rights reserved. 99

Page 110: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Figure 70: Dimension Member Sheet

Note: You can create a member report that shows the members arrangedin hierarchical order. This report is saved in the Excel file along with themember sheet.

Processing a DimensionAfter you maintain the dimension members, you need to process the dimensionto save your changes in the database. Processing a dimension also validates thehierarchies and the dimension formulas.

When you process dimensions, you can:

• Select one, several, or all dimensions• Select the models to process• Set the system offline

Figure 71: Processing a Dimension

Processing Dimension Options

Option What does it do?

To Be Scheduled Allows you to schedule a Data Manager package

Take System Offline Makes the system unavailable to users

100 © 2011 SAP AG. All rights reserved. 2011

Page 111: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

Process Memberfrom Member Sheet

When this is selected, the members are saved from themember sheet to the database. When it is not selected,the members are processed from the database

Show DeletedMembers

Displays the deleted members before processing

Validate FormulaOnly

Checks only the correctness of the member formulas

Reordering User-Defined DimensionsEach user-defined dimension is assigned to a unique index. When you modifyyour model, you can reorder the list of user-defined dimensions by choosing theManage Type pushbutton.

Figure 72: Reordering User-Defined Dimensions

2011 © 2011 SAP AG. All rights reserved. 101

Page 112: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

To Create a Dimension

1. In Planning and Consolidation Administration, go to the navigation pane andselect the dimension library.

2. in the action pane, choose Add a New Dimension.

3. Enter a name and a description for the new dimension.

4. Choose Go to Step 2 of 3 in the Action Pane.

5. Select the dimension type and the reference dimension when required, andchoose Go to Step 3 of 3.

6. If required, add a new property to the list of properties. You need to definethe maximum length for the property. If you want to include this propertyin MDX calculations, you need to select InApp.

7. In the navigation pane, choose Add a New Dimension.

ResultThe dimension is created, and can be added to a model.

102 © 2011 SAP AG. All rights reserved. 2011

Page 113: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

To Add a Hierarchy

1. In the navigation pane, select the dimension for which you want to adda hierarchy.

2. To open the dimension member sheet, go to the action pane and chooseMaintain Dimensions Members.

3. Insert a new column just after the existing hierarchy (PARENTH1) and enterPARENTH2 in the header row.

4. When required, enter the parent members for each member.

ResultThe new hierarchy is created.

Best PracticesBelow, you can see some of the best practice recommendations.

• Use upper case only for ids. This makes it much easier to select members.• Where possible, you should define unique member ids across dimensions.

This will make it easier to select members in reports and calculations.• Since each hierarchy is treated as a separate dimension in the database, you

should limit the number of hierarchies.

2011 © 2011 SAP AG. All rights reserved. 103

Page 114: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

104 © 2011 SAP AG. All rights reserved. 2011

Page 115: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

Exercise 3: Update the Account Dimension

Exercise ObjectivesAfter completing this exercise, you will be able to:• Copy and paste members from an Excel worksheet• Add members manually

Business ExampleDue to new requirements, you need to add members and change existing membersin the account dimension.

Task: Update the dimension members for the accountdimension.1. Copy account members from the external Excel file.

The file Student_Dimensions.xls is stored in the Document page ofthe Web client. Open this file.

Copy the members for the account dimension and paste them in thedimension member sheet.

2. Add the following members to the account dimension manually: (no dashes)

ID (colA)

EVDESCRIP-TION (col C)

PAR-ENTH1(col D)

ACC-TYPE(col E)

RATE-TYPE (colG)

LOGIC3(col J)

CP0001112External Sales TOTREV INC AVG Y

CP0001113My Account TOTREV INC AVG

CP0001114IntercompanySales

TOTREV INC AVG

TOTREV Total Revenue

2011 © 2011 SAP AG. All rights reserved. 105

Page 116: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Solution 3: Update the Account DimensionTask: Update the dimension members for the accountdimension.1. Copy account members from the external Excel file.

The file Student_Dimensions.xls is stored in the Document page ofthe Web client. Open this file.

Copy the members for the account dimension and paste them in thedimension member sheet.

a) In the BPC410_## environment, open the dimension library.

b) Select the Account dimension.

c) In the action pane, choose Maintain Dimension Members.

The account member sheet opens.

d) Under Launch, choose Web Client.

e) Log on:

User ID Password

BPC-## training

f) On the Home tab, choose Documents.

g) Choose Student_Dimensions → Open → Open.

h) Maximize the workbook and the worksheet, if necessary.

i) In the Account worksheet, select the box above the first row to the leftof the first column and copy the selected cells.

j) Return to the Admin Console.

k) In the Account member sheet, select the box above the first row to theleft of the first column and paste the account members.

l) In the action pane, choose Save to Server.

The new master data is now recorded in the dimension file.

2. Add the following members to the account dimension manually: (no dashes)

Continued on next page

106 © 2011 SAP AG. All rights reserved. 2011

Page 117: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

ID (colA)

EVDESCRIP-TION (col C)

PAR-ENTH1(col D)

ACC-TYPE(col E)

RATE-TYPE (colG)

LOGIC3(col J)

CP0001112External Sales TOTREV INC AVG Y

CP0001113My Account TOTREV INC AVG

CP0001114IntercompanySales

TOTREV INC AVG

TOTREV Total Revenue

a) In the account member sheet, enter the four new accounts according tothe table above, starting on row 42 of the dimension member sheet.

b) In the action pane, choose Save to Server.

c) In the action pane, choose Process Dimension.

d) Confirm that only the account dimension is selected.

e) Check that the Take System Offline option is selected.

f) Choose OK.

ResultAccount members have been updated.

2011 © 2011 SAP AG. All rights reserved. 107

Page 118: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

108 © 2011 SAP AG. All rights reserved. 2011

Page 119: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

Exercise 4: Create a Dimension

Exercise ObjectivesAfter completing this exercise, you will be able to:• Create a dimension• Create a property for the dimension• Create dimension members

Business ExampleYou want to analyze sales by product. Since this dimension does not exist, youneed to create it. You also need a property to classify the products by product types.

Task 1: Create a Product Dimension1. Create the following user-defined dimension:

Name Product

Description Product

2. Add the following property and make it available in reports.

Property Name Length InApp

PRODTYPE 10 Select

ResultThe Product dimension appears in your dimension library.

Task 2: Maintain Dimension Members1. Copy the product members from the external Excel file.

The file Student_Dimensions.xls is stored under Documents in theWeb client. Open this file if necessary.

Copy the members for the product dimension and paste them in thedimension member sheet.

2. Process the dimension to record the changes in the dimension tables.

ResultThe dimension members are created for the product dimension.

2011 © 2011 SAP AG. All rights reserved. 109

Page 120: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Solution 4: Create a DimensionTask 1: Create a Product Dimension1. Create the following user-defined dimension:

Name Product

Description Product

a) Choose Dimension Library.

b) In the action pane, choose Add a New Dimension.

c) Enter the name and the description from the table above and choose Goto Step 2 of 3.

d) Select the U - UserDefined dimension type and choose Go to Step3 of 3..

2. Add the following property and make it available in reports.

Property Name Length InApp

PRODTYPE 10 Select

a) Enter the name and length of the property as shown above.

b) Select the InApp checkbox to enable the property to be used in reports.

c) In the action pane, choose Add a New Dimension.

ResultThe Product dimension appears in your dimension library.

Task 2: Maintain Dimension Members1. Copy the product members from the external Excel file.

The file Student_Dimensions.xls is stored under Documents in theWeb client. Open this file if necessary.

Continued on next page

110 © 2011 SAP AG. All rights reserved. 2011

Page 121: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

Copy the members for the product dimension and paste them in thedimension member sheet.

a) In the dimension library of your environment, select the Productdimension.

b) In the action pane, choose Maintain Dimension Members.

c) In the Web client, select Documents in the Home tab.

d) Double-click the Student_Dimension.xls file, and choose Open.

e) Maximize the workbook and the worksheet if necessary.

f) Highlight and copy the entire Product worksheet.

g) Return to Planning and Consolidation Administration in the productmember sheet.

h) Click the box above row 1 to the left of column A.

i) Paste the product dimension members.

j) In the action pane, choose Save to Server.

2. Process the dimension to record the changes in the dimension tables.

a) In the action pane, choose Process Dimension.

b) Check that only the Product dimension is selected.

c) Check that the Take System Offline option is selected.

d) Choose OK.

ResultThe dimension members are created for the product dimension.

2011 © 2011 SAP AG. All rights reserved. 111

Page 122: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

112 © 2011 SAP AG. All rights reserved. 2011

Page 123: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

Exercise 5: Create a Hierarchy

Exercise ObjectivesAfter completing this exercise, you will be able to:• Create a new hierarchy in a dimension.

Business ExampleNew reporting requirements emerge for the cost center dimension. You need tocreate a new hierarchy by size of cost centers.

Task: Create a new hierarchy1. Copy cost center members from the external Excel file.

The Student_Dimensions.xls file is stored on the Document page ofthe Web client.

Copy the members for the Cost Center dimension and paste them in thedimension member sheet.

2. Create a new hierarchy and assign members to their parent member asfollows:

Members PARENTH2

CC_LargeCC_MidCC_Small

CC_Type

ChinaIndiaSouth AfricaUS

CC_Large

AustraliaCanadaFranceGermanyJapan

CC_Mid

BrazilDubaiItalyNew Zealand

CC_Small

ResultThe new hierarchy is created for the cost center dimension.

2011 © 2011 SAP AG. All rights reserved. 113

Page 124: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Solution 5: Create a HierarchyTask: Create a new hierarchy1. Copy cost center members from the external Excel file.

The Student_Dimensions.xls file is stored on the Document page ofthe Web client.

Copy the members for the Cost Center dimension and paste them in thedimension member sheet.

a) In the dimension library of your environment, select the Cost Centerdimension.

b) In the action pane, choose Maintain Dimension Members.

c) In the Web client, choose the Home tab and select Documents.

d) If the Student_Dimension.xls file is not already open,double-click the file, and choose Open.

e) Highlight and copy the entire cost center worksheet.

f) Return to the Planning and Consolidation Administration in the costcenter member sheet.

g) Paste the dimension members.

h) In the action pane, choose Save to Server.

2. Create a new hierarchy and assign members to their parent member asfollows:

Members PARENTH2

CC_LargeCC_MidCC_Small

CC_Type

ChinaIndiaSouth AfricaUS

CC_Large

AustraliaCanadaFranceGermanyJapan

CC_Mid

BrazilDubai

CC_Small

Continued on next page

114 © 2011 SAP AG. All rights reserved. 2011

Page 125: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Dimensions

Members PARENTH2

ItalyNew Zealand

a) To insert a new column, right click column E and choose Insert.

b) In cell E1, enter PARENTH2.

c) In column E, enter the parent members as shown in the table above.

d) In the action pane, choose Save to Server.

e) In the action pane, choose Process Dimension.

f) Check that only the cost center dimension is selected.

g) Check that the Take System Offline option is selected.

h) Choose OK.

ResultThe new hierarchy is created for the cost center dimension.

2011 © 2011 SAP AG. All rights reserved. 115

Page 126: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Lesson Summary

You should now be able to:• Create dimensions• Create properties and hierarchies• Maintain the dimension members

116 © 2011 SAP AG. All rights reserved. 2011

Page 127: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Models

Lesson: Maintaining Models

Lesson OverviewThis lesson explains how to create a model.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Present the different model types• Create and optimize a model• Provide access to the model

Business ExampleYou want to analyze sales using different perspectives. You need a new model toprocess the sales data.

Model OverviewA model stores and processes data.

Business requirements usually drive the definition of models, according to thedata sets to be processed.

An environment contains several models:

• Consolidation• Sales planning• Cost center planning• HR planning• Financial reporting

Additional models are required to store specific data such as currency rates,or consolidation percentages.

You create a model by copying an existing model. You then select the dimensionsyou need for this model.

Model TypesReporting models typically store and process financial data.

Drivers and rates models store data to support reporting models. Such modelsstore data like currency rates or consolidation percentages.

2011 © 2011 SAP AG. All rights reserved. 117

Page 128: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

You define a model using the following model types:

Model Types

Reporting Models Drivers and Rates Models

Financial: used for reporting,planning, and managementconsolidation.Must reference an exchange rates typemodel for processing the currencyconversion

Exchange Rates: used to storeexchange rates for the currencyconversion processed in Financial orConsolidation models

Consolidation: used for legalconsolidation.Must reference an exchange ratesmodel and an ownership model forprocessing consolidation functions

Ownership: supports the legalconsolidation processed inConsolidation models. You storethe group structure, the consolidationmethods, and the consolidation rates inthis model

Standard: used when currencyconversion and consolidation are notrequired

Generic: does not contain businessrules. You define the calculation usingscript logic

Business Rules in Reporting ModelsYou can use different business rules for reporting models. The business rules youcan use depend on the model type of your reporting model.

Business Rules in Model Types

Business Rules Standard Financial Consolidation

Currency conversion rules X X

Account-based calculation X X

Intercompany bookings X X

US eliminations X X

Elimination andadjustments

X

Carryforward rules X X

Validation rules X X

Note: You select the business rules when you create the model. Theselection can be changed later on by modifying the model.

118 © 2011 SAP AG. All rights reserved. 2011

Administrator
高亮
Administrator
线条
Administrator
线条
Page 129: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Models

Dimensions in ModelsYou create a model by copying an existing model. You can select the dimensionyou want to keep in your new model.

Dimensions can be added or suppressed in your model later on. However, somedimensions are required, depending on the model type.

Figure 73: Required Dimensions

Secured DimensionIn the Data Access Profiles, you define security restrictions using dimensions. Adimension can be used in the security definition with two different data accessoptions:

• Read only access• Read and write access

To allow access to the model , you define Data Access Profile.

For example, you define the category dimension as a secured dimension in yourmodel.In the Data Access Profile, you can allow access as follows:

• User A can read actuals and budget data, but cannot change this data.• User B can read actuals and budget data, and can change budget data.

Note: Security will be presented in detail later in this training.

2011 © 2011 SAP AG. All rights reserved. 119

Page 130: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Figure 74: Providing Access to a Model

120 © 2011 SAP AG. All rights reserved. 2011

Page 131: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Models

To Create a ModelPrerequisitesBefore you create a model, the dimensions must exist.

Procedure1. In the navigation pane, choose Model, and in the action pane, choose Add a

New Model.

2. In the action pane, enter a name and a description for the new model, andchoose Go to Step 2 of 4.

3. In the action pane, select the model type and choose Go to Step 2 of 3.

4. Select the following:

• The source model you want to copy• The Exchange Rates model and the Ownership model, when required• The Business Rules you want to use in this model.

5. Choose Go to Step 4 of 4.

6. If you want to copy the dimensions from the source model, select theDimensions checkbox and choose Add New Dimension.

7. If you do not select the Dimensions checkbox in this step, you can:

• Select the dimensions you want for your model• Define the dimension to be secured by choosing the Secured or the

R/W pushbutton.

In the action pane, choose Add a new Model.

ResultThe model is created.

Model OptimizationData is stored in models on the following levels:

• Real-time (Write Back table): corresponds to the most current data sentto the system using the input forms.

• Short-term (FAC2 table): corresponds to the data created or loaded usingthe Data Manager packages.

• Long-term (FACT table): corresponds to the FACT table, which offers betterperformance.

2011 © 2011 SAP AG. All rights reserved. 121

Page 132: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

You periodically optimize your models to improve system performance. Theoptimization options are as follows:

Optimization Options

OptimizationOptions

Description

Lite Optimize Clears the real-time data storage and moves data to theshort-term data storage.This option does not take the system offline.

IncrementalOptimize

Clears the real time and short term data storage and movesdata to the long-term data storage.This option takes the system offline.

Full Optimize Runs an incremental optimization and processes thedimensions.

CompressDatabase

Sums multiple identical entries into a single record.

IndexDefragmentation

This option forces a reindex of the database. This optionmay take a long time.

For example, you can run Lite Optimize every day, and Incremental Optimizeevery week.

Caution: When you create a new model, it is best practice to run a fulloptimization.

Note: You can have an automatic reminder to optimize the model. Thisreminder appears when you log on to the Planning and ConsolidationAdministration. You can define the number of records (for example,50,000 records) to be reached before the reminder appears in the ModelParameters.

122 © 2011 SAP AG. All rights reserved. 2011

Page 133: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Models

To Optimize a Model

1. In the navigation pane, select the model you want to optimize, and in theaction pane, choose Optimize Model.

2. Select the model to be optimized. You can optimize several models at once,but this can take a long time.

3. Select the Process Type (lite optimize, incremental optimize) and the optionsyou require.

4. Choose Optimize Models.

ResultData storage for your model is optimized

Model ParametersModel parameters control the behavior of different features, such as journals,comments, and so on.

Examples of some of the parameters you can set for a model are listed below:

Example: Model Parameters

Parameters Description

COMMENTS_ENABLE Controls the way comments are used in the model.

JRN_BALANCE Defines whether it is necessary for journals to bebalanced.

YTDINPUT Specifies whether the data is entered with ayear-to-date format or a periodic format.

Figure 75: Model Parameters

Caution: By default, model data storage is periodic. The year-to-dateview is calculated in the reports when you select the correspondingmeasure.

2011 © 2011 SAP AG. All rights reserved. 123

Page 134: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

If you want to define a year-to-date storage for your model, you need tochange the YTDINPUT parameter.

Concurrent LockTo prevent concurrent data submission, you can define the lock level for yourmodel. You select three or more dimensions, for example, entity, time, andcategory. When two users submit data on the same members for the dimensionsselected in the lock setting, the first data sent is accepted. The following datasent is rejected.

Figure 76: Concurrent Lock

Context DefaultThe context is the combination of the model, dimensions, and associated membersthat the user is working with. You can set a model to be the default model.

124 © 2011 SAP AG. All rights reserved. 2011

Page 135: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Models

Figure 77: Context Defaults

You can also define the following for each dimension:

Context default for dimensions

Reporting The default member when using reports

Data Input The default member when using input forms

DisplayDimension

You define whether the dimension is displayed in thecontext.

DisplayDimension Name

You define whether the dimension name is displayed inthe context.

Member display You select the display options for a member :from: ID,Description, ID & Description

2011 © 2011 SAP AG. All rights reserved. 125

Page 136: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

To Set Context Default

1. In the navigation pane, choose Model.

2. In the action pane, choose Context Default.

3. If you want to set a default model, select the model in the upper part of thescreen and choose the Set as Default pushbutton.

4. For each dimension for which you want to set a context default:

• Enter members for the Reporting and Data Input fields.• Select the display options for the dimension in the context.

5. Choose the Apply pushbutton to save your changes.

ResultThe context defaults are defined.

126 © 2011 SAP AG. All rights reserved. 2011

Page 137: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Models

Exercise 6: Create a Model

Exercise ObjectivesAfter completing this exercise, you will be able to:• Create a model• Modify a model to add a dimension• Optimize a model• Grant access to a new model

Business ExampleDuring the design phase, you identify that a new model is required to analyze salesby product. You need to create this model in your environment.

Task 1: Create a ModelYou create a model by copying the planning model.

1. Create the sales model from the planning model as follows:

Name Sales

Description Sales

Reporting Type Financial

Source Model Planning

Exchange Rates Model Rates

Business Rules Tables Currency Conversion Rules

Task 2: Modify a Model1. Modify the sales model to add the product dimension and suppress the

activity dimension.

Task 3: Optimize a Model1. In your environment, run Full Optimize for all models.

Task 4: Grant Access to a New Model1. Modify the AdminMbrAccPrf data access profile to grant access to the Sales

model as follows:

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 127

Page 138: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Access Dimension Member

Read & Write Category [ALL]

Read Only Cost Center [ALL]

Task 5: Set the Environment StatusYou set your environment to available for users.

1. Set your environment to Available.

128 © 2011 SAP AG. All rights reserved. 2011

Page 139: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Models

Solution 6: Create a ModelTask 1: Create a ModelYou create a model by copying the planning model.

1. Create the sales model from the planning model as follows:

Name Sales

Description Sales

Reporting Type Financial

Source Model Planning

Exchange Rates Model Rates

Business Rules Tables Currency Conversion Rules

a) In your environment, go to the navigation pane and choose Model.

b) In the action pane, choose Add a New Model.

c) Enter the name and description as shown in the table above and chooseGo to Step 2 of 4.

d) Select the Financial reporting type and choose Go to Step 3 of 4.

e) Select Planning for the Source Model and Rates for the Exchange RatesModel.

f) Select the Currency Conversion Rules checkbox and choose Go to Step4 of 4.

g) Confirm that Dimensions is checked and choose Add a New Model.

h) Choose OK.

The new model is created.

Note: Category is set to be secure and read/write by default.Cost center is set to be secure by default.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 129

Page 140: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Task 2: Modify a Model1. Modify the sales model to add the product dimension and suppress the

activity dimension.

a) Select the Sales model.

b) In the action pane, choose Modify Model.

c) Under Model Dimensions, select Activity and choose the left arrow.

The Activity dimension is removed from the model.

d) Under Shared Dimensions, select the Product dimension and choosethe right arrow.

The Product dimension is added to the model.

e) In the Action Pane, select Reassign SQL Index and Process Model.

f) Choose Modify Model.

g) When prompted to remove audit records, choose Yes.

h) Choose OK.

Task 3: Optimize a Model1. In your environment, run Full Optimize for all models.

a) Select the Sales model.

b) In the action pane, choose Optimize Model.

c) Select all the models and choose Full Optimize.

d) Choose Optimize Models.

Task 4: Grant Access to a New Model1. Modify the AdminMbrAccPrf data access profile to grant access to the Sales

model as follows:

Continued on next page

130 © 2011 SAP AG. All rights reserved. 2011

Page 141: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Models

Access Dimension Member

Read & Write Category [ALL]

Read Only Cost Center [ALL]

a) Choose Security → Data Access Profiles → AdminMbrAccPrf.

b) In the action pane, choose Modify Data Access Profile.

c) Choose Next (N) >.

The Access step opens with the models in the tabs.

d) On the Sales Model tab, enter the data shown in the table above.

Note: Do not type the values, but use the member selector bychoosing the corresponding pushbutton.

To select [ALL], you select the All Members in Dimensioncheckbox in the member selector.

e) Choose Next (N) >.

You can see that the Admin Team is selected.

f) Choose Next (N) >.

g) Choose Apply (A).

h) Choose OK.

Task 5: Set the Environment StatusYou set your environment to available for users.

1. Set your environment to Available.

a) Select your environment and choose Set Environment Status.

b) Select Available and choose Update Environment Status.

2011 © 2011 SAP AG. All rights reserved. 131

Page 142: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Lesson Summary

You should now be able to:• Present the different model types• Create and optimize a model• Provide access to the model

Related Information

132 © 2011 SAP AG. All rights reserved. 2011

Page 143: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Changing Existing Structures

Lesson: Changing Existing Structures

Lesson OverviewIn this lesson you learn about the modifications you can make to an existing modelor dimension.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Explain the possible modifications to an existing model• Add a dimension to a model• Modify the properties or IDs of a dimension• Delete dimension members

Business ExampleA new business requirement is coming for the Sales model. Users require a newdimension and would like to rename a product.

Adding a New DimensionYou can add a new dimension to an existing model.The dimension must contain at least one member, since the existing transactiondata of the model will be assigned to the first member of the added dimension.

For example, you want to add the market dimension to the sales model, and createa member for the dimension called No_Market. When you add the dimension,all transaction data will be assigned to this market member. You can then distributevalues to the correct markets when required.

1. Add the dimension in the dimension library2. Create at least one dimension member3. Add the dimension to your model

Existing data will be assigned to the first dimension member.4. When required, distribute the data to relevant members of the new dimension

2011 © 2011 SAP AG. All rights reserved. 133

Page 144: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

To add a Dimension to an Existing Model

1. If the dimension does not exist in the dimension library, create the dimensionand at least one member. This member will be assigned to the existing datain the model.

2. Select the model in the navigation pane and in the action pane, chooseModify Model.

3. Add the dimension from the dimension library to the model.

4. In the action pane, choose Modify Model.

5. You are prompted to confirm reassignment of the SQL index.

Figure 78: Adding a Dimension to an Existing Model

Note: When you delete a dimension from an existing model, thesame message appears.When you reassign the SQL index, the data audit is removed.

ResultThe dimension is added to the model. The existing transaction data is assignedto the first member of the dimension.

Adding a Property to a DimensionYou can add a property to an existing dimension. This change occurs frequently,since you use properties, for example, to select members in the definition ofreports or calculations. When you add a property, the corresponding column isadded in the dimension member sheet.

Caution: When you add a property and select the InApp option to storethis property in the database, you need to process the dimension.

134 © 2011 SAP AG. All rights reserved. 2011

Page 145: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Changing Existing Structures

Changing Member IDsWhen required, you can change the IDs of members. You enter the new ID in theNewID column in the dimension member sheet. After processing the dimension,the ID is replaced by the new ID in the member sheet and in the transaction data.

1. Enter the NEWID for the member in the member sheet.2. Process the dimension.3. The member ID is replaced by the NEWID. The NEWID field is initialized.4. The data is reallocated to the new ID.

2011 © 2011 SAP AG. All rights reserved. 135

Page 146: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

To Change a Member ID

1. Select the dimension in the navigation pane and in the action pane, chooseMaintain Dimension Members to open the member sheet.

2. Enter the new ID in the NewID column for the members you want to change.

3. In the action pane, choose Process Dimension.

4. Select the models for which you want to process the dimension. You mayalso decide to take the system offline, depending on user activity.

5. Choose the OK pushbutton.

ResultThe member IDs have been changed in the dimension member sheet and in thetransaction data of your models.

Deleting a MemberYou can delete dimension members. When you process the dimension, themembers to be deleted are displayed. After processing the dimension, the data inyour model, except for journals, is suppressed for the deleted members.

Figure 79: Display Deleted Members

Caution: You cannot delete a member for which journal entries exist.You need to unpost the journal, and change the member in the journalbefore deleting the member.

136 © 2011 SAP AG. All rights reserved. 2011

Page 147: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Changing Existing Structures

Since a dimension can be used in different models, changing dimensionmembers may affect several models.

2011 © 2011 SAP AG. All rights reserved. 137

Page 148: SAP Bpc410 en Col96 Fv Part a4

Unit 2: Creating Structures BPC410

Lesson Summary

You should now be able to:• Explain the possible modifications to an existing model• Add a dimension to a model• Modify the properties or IDs of a dimension• Delete dimension members

138 © 2011 SAP AG. All rights reserved. 2011

Page 149: SAP Bpc410 en Col96 Fv Part a4

BPC410 Unit Summary

Unit SummaryYou should now be able to:• Describe the delivered content• Know how to use the delivered content• Add a new environment• Set the environment status• View the user log• Describe the backup and restore procedure• View your environment in SQL• Create dimensions• Create properties and hierarchies• Maintain the dimension members• Present the different model types• Create and optimize a model• Provide access to the model• Explain the possible modifications to an existing model• Add a dimension to a model• Modify the properties or IDs of a dimension• Delete dimension members

2011 © 2011 SAP AG. All rights reserved. 139

Page 150: SAP Bpc410 en Col96 Fv Part a4

Unit Summary BPC410

140 © 2011 SAP AG. All rights reserved. 2011

Page 151: SAP Bpc410 en Col96 Fv Part a4

BPC410 Test Your Knowledge

Test Your Knowledge

1. Which if the following dimension types are required ?Choose the correct answer(s).□ A Account□ B Currency□ C Category□ D Time□ E Entity□ F Intercompany

2. Hierarchies are required for every dimension.Determine whether this statement is true or false.□ True□ False

2011 © 2011 SAP AG. All rights reserved. 141

Page 152: SAP Bpc410 en Col96 Fv Part a4

Test Your Knowledge BPC410

Answers

1. Which if the following dimension types are required ?

Answer: A, C, D, E

Currency is typically used to manage currency conversion, but is notrequired. Intercompany is only required to process intercompany elimination.

2. Hierarchies are required for every dimension.

Answer: False

Hierarchies are only required to roll up members in parent members.Dimensions like Category are usually defined without hierarchies.

142 © 2011 SAP AG. All rights reserved. 2011

Page 153: SAP Bpc410 en Col96 Fv Part a4
Page 154: SAP Bpc410 en Col96 Fv Part a4
Page 155: SAP Bpc410 en Col96 Fv Part a4

Unit 3Data Manager

Unit OverviewThis unit serves to familiarize you with the Data Manager.

You populate your applications with transaction data imported from flat files usingthe Data Manager. Some flat files contain correct dimension members and donot require mapping. Some flat files contain incorrect dimension members andrequire mapping.

Unit ObjectivesAfter completing this unit, you will be able to:

• Load a file to the server• Preview a file to analyze the structure• Define and validate a transformation file• Import a file using a Data Manager package• Check the package status.• Explain how to use the delivered packages for planning purposes• Use the copy package to create forecast data• Explain some of the options for transforming data using the transformation

file and conversion file.• Describe the different update modes when importing data• Describe packages using SQL as a source

Unit ContentsLesson: Importing Flat Files .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144

Procedure: To import a Data File .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .149Exercise 7: Import Data from a File .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151

Lesson: Using Data Manager Planning Functions ... . . . . . . . . . . . . . . . . . . . . . .158Procedure: To Run the Copy Package ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .160Exercise 8: Create Forecast Data Using the Copy Package ... . . . . . .161

Lesson: Configuring Transformations ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166Exercise 9: Map Data for Import. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171

Lesson: Using Advanced Data Manager Features ... . . . . . . . . . . . . . . . . . . . . .182

2011 © 2011 SAP AG. All rights reserved. 143

Page 156: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Lesson: Importing Flat Files

Lesson OverviewIn this lesson you learn the different steps required to import data from a file toyour model.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Load a file to the server• Preview a file to analyze the structure• Define and validate a transformation file• Import a file using a Data Manager package• Check the package status.

Business ExampleIn your planning model, you want to import the actuals that you exported froma legacy system.

File Import OverviewYou use the Data Manager to import data from different sources using files.

You import files as follows:

• Upload the file on the server.• Preview the file to analyze the structure.• Define the transformation file to set the import options.• Run the data package to import the file.• Check the package status and analyze errors.

Note: You can also use a conversion file to define mapping betweenexternal IDs and internal members' IDs.

144 © 2011 SAP AG. All rights reserved. 2011

Page 157: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Importing Flat Files

Figure 80: File Import Process

Load and Preview a FileTo import a file, the file must reside in the Data Manager data files folder on theserver.You use the upload function to copy a file from you local machine to the server.

To analyze the structure of the file, you use the Preview function. This functionhelps to determine the required transformation options, such as the file type,delimiter, columns, and so on.

Figure 81: File Preview

Note: For performance reason, the preview shows only the first 200lines of the file.

2011 © 2011 SAP AG. All rights reserved. 145

Page 158: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Create Transformation FileYou use a transformation file when the file structure is different to your modelstructure, which is the most common scenario. The following table showsexamples of structure differences:

Examples of Structure Differences

File Structure Model Structure

The month and year are stored in twodifferent columns.

Time dimension combines month andyear.

The input currency is not available inthe file.

Currency member LC is required.

The intercompany member IDs do nothave the I_ prefix.

In your model, the I_ prefix is requiredfor intercompany members.

The first two lines of the filescorrespond to source systeminformation such as user, date, time.

This information must be ignored.

The category is not stored in the filesince only actuals are exported fromthe source system.

The category member actuals must beused.

In the transformation file, you define the rules for reading data from an externalsource and loading it in the proper form to your model. Transformation files areMicrosoft Excel files that contain one worksheet named “Instructions”. TheInstructions worksheet has the following sections:

• Options: Here, you define the main transformation parameters like theformat file, the delimiter, and so on.

• Mapping: You map the columns from the file to the dimension of your model.• Conversion: Here, you define the conversion file you want to use to map the

members in the file to the dimension members of your model.

Note: The transformation file and the conversion file will be detailedin a next lesson.

146 © 2011 SAP AG. All rights reserved. 2011

Page 159: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Importing Flat Files

Figure 82: Options in the Transformation File

You use the mapping section when the file does not have a header record thatidentifies the columns. In this section, you map the file columns to the modeldimensions. You can use a formula to parse and concatenate columns. You canalso define a default value for a dimension member when this dimension is notcontained in the file.

Figure 83: Mapping in the Transformation File

Validate a Transformation FileYou can validate the definition of a transformation file before you save it. You canalso validate it using a data file to simulate the import.

2011 © 2011 SAP AG. All rights reserved. 147

Page 160: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Figure 84: Validation of a Transformation File

148 © 2011 SAP AG. All rights reserved. 2011

Page 161: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Importing Flat Files

To import a Data FilePrerequisitesThe file is available on your local machine.

Procedure1. Upload the file:

• In the Data Manager ribbon, choose Upload Data.• Select your file on your local machine.• Choose Upload.• Select the target folder on the server and choose Save.

2. Preview the file:

• Choose Data Preview.• Select the file on the server and choose Open.• Select the Delimited file type with the Comma separator.

3. Create a transformation file:

• Choose Transformation file → New Transformation file.• Enter the Options and Mapping as required.• When required, fill in the Conversion section.

4. Validate the transformation file:

• Choose Transformation file → Validate & Process Transformation File.• If you want to, you can select the data file for validating the

transformation file in this step. Choose Save.• Enter a name to save the file.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 149

Page 162: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

5. Run the import package:

• Choose Run Package and select the Import package. Choose Run.• Select the file to import and choose Next.• At this stage, you can again preview the file.

Choose Next.

• Select the method for updating data from merge, replace & clear, andappend.

Choose Next.

• Choose Yes or No for the following options: Run default logic, Checkwork status

Choose Next.

• Choose Run and then choose Finish to run the package.

6. Check the package status:

• Choose View Status.• Check the status and the details when required.

ResultThe data from the file is imported to your model.

150 © 2011 SAP AG. All rights reserved. 2011

Page 163: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Importing Flat Files

Exercise 7: Import Data from a File

Exercise ObjectivesAfter completing this exercise, you will be able to:• Upload and preview a file• Run the Data Manager package to import the data• Verify the result using a dynamic report

Business ExampleIn your planning environment, actual data is exported from a legacy system intoa flat file The structure of this file corresponds to the planning environment. Notransformation or mapping is needed.

Task 1: Upload and Preview a FileLoad the file to the server and preview it to check the structure.

Use the Planning model in your environment for this exercise.

1. The Student_Planning_Data.TXT file is stored on the Documentpage of the Web client. Upload this file on the server.

2. Preview the file to check the file structure and the dimension members.

Task 2: Run the Import Package and Check thePackage StatusRun the import package and view the package status.

1. Run the Import Data Manager package. Since the file columns correspond tothe model dimensions, you can use the default import.xls transformationfile.

2. Check the package status, and navigate in the import log to clarify therejected record.

Task 3: Verify the Result Using a ReportDisplay the imported data.

1. Change your context to the following:

Dimension ID

Account CE0001000

Activity NONE

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 151

Page 164: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Dimension ID

Category Actual

CostCenter All_CC

DataSource MANUAL

RptCurrency LC

Time 2010.TOTAL

Measure Periodic

Note: If the EPM context is not visible, go to the EPM ribbon andchoose Options → User Options. On the Others tab, select theDisplay EPM Context Bar checkbox.

Open the Dynamic Report with Subtotals -Accounts.xltx report.

152 © 2011 SAP AG. All rights reserved. 2011

Page 165: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Importing Flat Files

Solution 7: Import Data from a FileTask 1: Upload and Preview a FileLoad the file to the server and preview it to check the structure.

Use the Planning model in your environment for this exercise.

1. The Student_Planning_Data.TXT file is stored on the Documentpage of the Web client. Upload this file on the server.

a) In the Web client, choose the Home tab and select Documents .

b) Double-click the Student_Planning_Data.TXT file and chooseSave.Save the file to your desktop.

c) On the Web client start page, in the Launch area, choose EPM OfficeAdd-in Excel.

d) In the EPM - Connection Manager, choose Create.

e) Select Planning in the Model dropdown list.

f) Choose Generate Connection Name.

g) Choose OK to create the connection.

h) Choose OK to connect to the Planning model.

i) In the Data Manager ribbon, choose Upload Data.

j) Choose Browse to select the Student_Planning_Data.TXT filelocated on your desktop. Choose Open.

k) Choose Upload.

The target folder appears in the Save dialog:\DATAMAN-AGER\DATAFILES\.

l) Choose Save.

The File uploaded successfully dialog appears.

m) Choose OK.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 153

Page 166: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

2. Preview the file to check the file structure and the dimension members.

a) In the Data Manager ribbon, choose the Data Preview pushbutton.

b) Select the uploaded file and choose Open.

c) In the preview window, select Delimited in the file type dropdown list.

d) Check that the row header of the file corresponds to the dimensions ofthe Planning model.

e) Check that the file members correspond to the dimension members.

f) Choose Cancel to leave the preview window.

Task 2: Run the Import Package and Check thePackage StatusRun the import package and view the package status.

1. Run the Import Data Manager package. Since the file columns correspond tothe model dimensions, you can use the default import.xls transformationfile.

a) In the Data Manager toolbar, choose Run Package.

b) Select the Import package and choose Run.

c) Choose Browse and select the Student_Planning_Data file.

d) Choose Open.

e) Choose Next.

f) Leave the default Import.xls transformation file and choose Next.

g) Select Merge data values and choose Next.

h) Choose Yes for the option to run the default logic after importing, andchoose Next.

i) Choose No for the option to check the works status, and choose Next.

j) Choose Run and then choose Finish. The package is running on theserver.

The EPM - Data Manager dialog appears.

k) Choose OK.

Continued on next page

154 © 2011 SAP AG. All rights reserved. 2011

Page 167: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Importing Flat Files

2. Check the package status, and navigate in the import log to clarify therejected record.

a) Choose View Status to check the package status and refresh the screen.

b) The package status should be Warning. Choose Detail to display thedetail log.

c) Navigate in the Package Log section.

The log states that the record is rejected because the accountCP0001108 is a calculated member.

d) Choose Close three times.

Task 3: Verify the Result Using a ReportDisplay the imported data.

1. Change your context to the following:

Dimension ID

Account CE0001000

Activity NONE

Category Actual

CostCenter All_CC

DataSource MANUAL

RptCurrency LC

Time 2010.TOTAL

Measure Periodic

Note: If the EPM context is not visible, go to the EPM ribbon andchoose Options → User Options. On the Others tab, select theDisplay EPM Context Bar checkbox.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 155

Page 168: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Open the Dynamic Report with Subtotals -Accounts.xltx report.

a) In the EPM context, select the dimensions members according to thetable above.

b) In the EPM ribbon, choose Open → Open Server Report Folder.

c) Expand the Reports node to display the Templates folder on the server.

d) In the Templates folder, select the Dynamic Report withSubtotals - Accounts.xltx report and choose Open.

e) Choose Refresh → Refresh Workbook. The report appears as follows:

Figure 85: Verification Report

ResultThe report displays the actual data you imported into your model.

156 © 2011 SAP AG. All rights reserved. 2011

Page 169: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Importing Flat Files

Lesson Summary

You should now be able to:• Load a file to the server• Preview a file to analyze the structure• Define and validate a transformation file• Import a file using a Data Manager package• Check the package status.

2011 © 2011 SAP AG. All rights reserved. 157

Page 170: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Lesson: Using Data Manager Planning Functions

Lesson OverviewIn this lesson you learn about Data Manager planning functions

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Explain how to use the delivered packages for planning purposes• Use the copy package to create forecast data

Business ExampleYou need to know how to use the delivered Data Manager packages to support theplanning process in your organization.

Delivered Packages That Can Be Used for PlanningThe following packages are delivered. You can use most of them in a planningcontext.

• Clear data• Copy data• Export data• Perform currency restatement• Import data• Move data

Note: Additional packages may be defined to support specificrequirements.

The Copy PackageThe copy package copies data between dimension members. For example, you usethe copy package to copy the current version of planning data to a final version.When you run a copy package, you select the source data with dimension members.You can also define the target dimension members if you want to transform thedata. For example, you change the target member for the category dimension.

Note: Copying is only possible within the same model. To copy data fromone model to another, you need to set up script logic.

158 © 2011 SAP AG. All rights reserved. 2011

Page 171: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Data Manager Planning Functions

Figure 86: Copy Package - Members Selection

The Clear PackageThe clear package clears data of the selected dimension members by resettingthe value to zero. You can also clear the comments associated with the selectedmembers.

The Move PackageThe move package moves data from the source selection to the target selection.The data in the source selection is then reset to zero.

2011 © 2011 SAP AG. All rights reserved. 159

Page 172: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

To Run the Copy Package

1. Choose Run Package and select the Copy package. Then choose Run.

2. Select the copy method from Merge data values and Replace & clear datavalues. Choose Next.

3. Specify whether or not you want to run the default logic while runningthe copy. This may impact the system performance, depending on thecomplexity of your default logic.Choose Next.

4. Specify whether or not you want to check the work status during the copy.Choose Next.

5. Select the source members to define the data region you want to copy. Forexample, select actuals in the category dimension. Choose Next.

6. Select the target members where you want to copy the data. For example,select the forecast member in the category dimension. Choose Next. and thenchoose Finish to run the package.

7. Choose View Status to check the package status.

ResultThe data has been copied.

160 © 2011 SAP AG. All rights reserved. 2011

Page 173: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Data Manager Planning Functions

Exercise 8: Create Forecast Data Usingthe Copy Package

Exercise ObjectivesAfter completing this exercise, you will be able to:• Copy data to another data region• Run a report to verify forecast data

Business ExampleIn your planning process, the forecast data for the current year is created bycopying the actuals for the past months and the plan data for the coming months.

Task 1: Copy Actuals and Plan DataIn your Planning model, use the copy package to create forecast data.

1. Copy the actuals from 2010.JAN to 2010.MAR to the forecast.

2. Copy the plan from 2010.APR to 2010.DEC to the forecast.

Task 2: Verify the Result Using a ReportUse the Dynamic Report with Subtotals - Accounts.xltx reportto display the copied data.

1. On the EPM tab, change your context to the following:

Dimension ID

Account CE0001000

Activity NONE

Category Forecast

CostCenter All_CC

DataSource MANUAL

RptCurrency LC

Time 2010.TOTAL

Measure Periodic

2011 © 2011 SAP AG. All rights reserved. 161

Page 174: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Solution 8: Create Forecast Data Usingthe Copy PackageTask 1: Copy Actuals and Plan DataIn your Planning model, use the copy package to create forecast data.

1. Copy the actuals from 2010.JAN to 2010.MAR to the forecast.

a) In the Data Manager ribbon, choose Run Package .

b) Select the Copy package and choose Run.

c) Select the Merge data values option. Choose Next.

d) Choose No for the Run Default Logic option. Choose Next.

e) Choose No for the Check Work Status Settings option. Choose Next.

f) Select the following source and destination members using the Addpushbutton. Leave the other default selections.

Dimension Source Destination

Category Actual Forecast

Time 2010.JAN, 2010.FEB,2010.MAR

<same>

Choose Next.

g) Choose Finish.

h) Choose View Status to check that the package has run successfully.

i) Close the dialog boxes.

2. Copy the plan from 2010.APR to 2010.DEC to the forecast.

a) In the Data Manager ribbon, choose Run Package .

b) Select the Copy package and choose Run.

c) Select the Merge data values option. Choose Next.

d) Choose No for the Run Default Logic option. Choose Next.

e) Choose No for the Check Work Status Settings option. Choose Next.

f) Select the following source and destination members using the Addpushbutton. Leave the other default selections.

Dimension Source Destination

Continued on next page

162 © 2011 SAP AG. All rights reserved. 2011

Page 175: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Data Manager Planning Functions

Dimension Source Destination

Category Plan Forecast

Time 2010.APR2010.MAY2010.JUN2010.JUL2010.AUG2010.SEP2010.OCT2010.NOV2010.DEC

<same>

Choose Next.

g) Choose Finish.

h) Choose View Status to check that the package has run successfully.

i) Close the dialog boxes.

Task 2: Verify the Result Using a ReportUse the Dynamic Report with Subtotals - Accounts.xltx reportto display the copied data.

1. On the EPM tab, change your context to the following:

Dimension ID

Account CE0001000

Activity NONE

Category Forecast

CostCenter All_CC

DataSource MANUAL

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 163

Page 176: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Dimension ID

RptCurrency LC

Time 2010.TOTAL

Measure Periodic

a) In the EPM Context area, change the dimension members in accordancewith the table above.

b) In the EPM ribbon, choose Open → Open Server Report Folder →Reports → Templates.

c) Select the Dynamic Report with Subtotals -Accounts.xltx report and choose Open.

d) Choose Refresh → Refresh Workbook. The report appears as follows:

Figure 87: Verification Report

164 © 2011 SAP AG. All rights reserved. 2011

Page 177: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Data Manager Planning Functions

Lesson Summary

You should now be able to:• Explain how to use the delivered packages for planning purposes• Use the copy package to create forecast data

2011 © 2011 SAP AG. All rights reserved. 165

Page 178: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Lesson: Configuring Transformations

Lesson OverviewIn this lesson you learn about the data transformation options.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Explain some of the options for transforming data using the transformationfile and conversion file.

Business ExampleYou want to import data from a legacy system to your model. The structure of datais different in both systems. You need to define transformation and conversion.Transformation files and conversion files are Excel files stored on the server indedicated folders.

Transformation File - OptionsIn the Options section, you set the general parameters of the file to be imported,as well as different options for the import process. The options are describedin the following table:

Options in the Transformation File

Options Description

FORMAT There is no default, so this option must be defined.Delimited means that there is a special characterbetween each column of data, defined by the Delimiteroption (below). Fixed means that the data is in a fixedfield format.HEADER If YES, then your input file contains one header rowthat defines the fields.

DELIMITER Can be COMMA | SPACE | TAB. The default is acomma. If the FORMAT option is set to DELIMITED,this option defines the single character that is thedelimiter between columns. Use the keywords SPACEor TAB if space or tab-delimited.

SKIP Number of lines to skip at the top of a data file. If yourdata file has a header, set this value so that those linesare skipped during transformation.

166 © 2011 SAP AG. All rights reserved. 2011

Page 179: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Transformations

Options Description

SKIPIF NULL will skip a record if it is null.

VALIDATERE-CORDS

If YES, validates the mapping and that members exist,and maps data in the proper order.

CREDITPOSITIVE If NO, all amounts referring to an ACCOUNT type(LEQ, INC) will have their signs reversed.

MAXREJECT-COUNT

The number of bad records before the entire load fails.

ROUNDAMOUNT Default: no rounding. An integer defines the numberof decimals to round.

Transformation File - MappingIn the Mapping section, you define how to feed the dimension members in yourmodel. The table below shows how to use different functions, depending on yourscenario:

Mapping Functions

Scenario Mappingfunction

Example

The dimensionin your modelcorresponds to onecolumn in the file.

COL(A) ACCOUNT=*COL(2)

The dimensionin your modelcorresponds toa subset of onecolumn in the file.

COL(A,B:C) ACCOUNT=*COL(2,1:6)

The dimensionin your modelcorresponds to aconcatenation oftwo columns inthe file. A point(.) delimits bothvalues.

COL(A)+COL(B)TIME=*COL(4)+ *STR(.)+*COL(7)

The dimensionis not presentin the file. The

STR(A) CATEGORY = *NEWCOL(ACTUALS)

2011 © 2011 SAP AG. All rights reserved. 167

Page 180: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Scenario Mappingfunction

Example

member valueshould always beACTUALS.

The dimension isnot present in yourfile. The membervalue dependson differentconditions likeother dimensionmembers.

IF(Condition1THEN Ac-tion1; Con-dition2 THENAction2;De-fault Action)

FLOW=*IF(*COL(2,1:1) = *STR(2)THEN *STR(F950);*STR(F999))

Figure 88: Mapping Functions - Examples

Transformation File - ConversionIn the Conversion section of the transformation file, you define the conversion fileto be used. You can use one conversion file per dimension. You can also use onlyone conversion file with one worksheet per dimension.

Figure 89: Conversion Files in Transformation File

Conversion FileYou use a conversion file to map the member names from the file to the membernames in your model. The conversion file always contains one column for theexternal member names and one column for the internal member names.

168 © 2011 SAP AG. All rights reserved. 2011

Page 181: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Transformations

You map members directly or use formulas to define the mapping.

Figure 90: Mapping Members

Conversion File - Wildcards, Keywords, and FormulasYou can define advanced conversion using wildcards, keywords, and formulas.

You can use the question mark (?) and the asterisk (*) wildcards in external andinternal columns:

Wildcards in conversion

External Internal Result

* I_* All the external members will be prefixed with“I_”.

You can use the keyword SKIP to ignore some records as follows:

Keyword SKIP in conversion

External Internal Result

A AB

C CD

* *SKIP All other records are ignored.

You can also add a column named FORMULA as follows:

2011 © 2011 SAP AG. All rights reserved. 169

Page 182: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Formula in conversion

External Internal Formula Result

* * Value*1.1 Value is increased by 10%

Note: You can also use JavaScript in conversion.

170 © 2011 SAP AG. All rights reserved. 2011

Page 183: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Transformations

Exercise 9: Map Data for Import

Exercise ObjectivesAfter completing this exercise, you will be able to:• Define conversion and transformation files to map data to be imported.

Business ExampleSales data is available in a file. However, the file structure and members are notthe same as the dimensions and the members in your model. You therefore need todefine transformations and mapping.

Task 1: Connect to the Sales Model1. Create a connection to the Sales model.

Task 2: Upload and Preview a FileLoad the file to the server, and preview it to determine the mapping requirements.

Use the Sales model of your environment for this exercise.

1. In your Sales model, upload the Student_Sales_Data.TXT file. Thisfile is stored on the Document page of the Web client.

Preview the file to determine the mapping requirements.

2. Preview the file to check the file structure and the dimension members.

Task 3: Define Conversion Files and TransformationFileCreate the required conversion files, and then reference them in a newtransformation file.

Caution: When you define new conversion files, we recommend youdeactivate Member Recognition.

1. Define the conversion file for the time dimension. You map externalmembers to internal members as follows:

External Member Internal Member

0110 2010.JAN

0210 2010.FEB

0310 2010.MAR

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 171

Page 184: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

External Member Internal Member

0410 2010.APR

0510 2010.MAY

0610 2010.JUN

0710 2010.JUL

0810 2010.AUG

0910 2010.SEP

1010 2010.OCT

1110 2010.NOV

1210 2010.DEC

2. Define the conversion file for the category dimension. Map externalmembers to internal members as shown below:

External Member Internal Member

ACT ACTUAL

3. Define the transformation file. The transformation file is required to changethe sign for revenue amounts and to reference the conversion files, forexample.

Task 4: Import Data in the Sales ModelImport the file using the transformation file, and check the package status.

1. Run the Import Data Manager package. Use the SalesTrans.xls transformation file.

2. Check the package status.

Task 5: Verify the Result Using a ReportYou use a dynamic report to display the imported data.

1. Change your context to the following:

Dimension ID

Account CE0001112

Category Actual

CostCenter All_CC

Continued on next page

172 © 2011 SAP AG. All rights reserved. 2011

Page 185: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Transformations

Dimension ID

DataSource TOTAL

Product CON_PET_TYPE

RptCurrency LC

Time 2010.Q1

Measure Periodic

Open the Dynamic Report with Hierarchy -Entities.xltx report.

2011 © 2011 SAP AG. All rights reserved. 173

Page 186: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Solution 9: Map Data for ImportTask 1: Connect to the Sales Model1. Create a connection to the Sales model.

a) From your remote desktop, open the Start menu and choose Programs→ Microsoft Office → Microsoft Office Excel 2007.

Excel opens and displays a new worksheet.

b) On the EPM tab, choose Log On.

The EPM - Logon dialog box is displayed.

c) Next to the Connection field, choose the Ellipse(...) button.

The EPM - Connection Manager opens.

d) Choose Create.

Caution: If you are in the BPC410 class, select the Version forthe Microsoft Platform type.

Use Server URL.

e) In the Server URL field, enter http://wd-flbmt7121:1080/sap/bpc/ (no dashes).

f) Choose Connect.

g) If prompted, enter your user ID and password to create the connection.

User ID Password

BPC-## training

h) Choose Logon.

Environments and models are loaded.

i) Use the dropdown box to select your environment and model.

Environment Model

BPC410_## Sales

j) Choose Generate Connection Name.

The system generates a connection name made up of the model IDand environment ID.

k) Choose OK twice.

Continued on next page

174 © 2011 SAP AG. All rights reserved. 2011

Page 187: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Transformations

l) If prompted, enter your user ID and password to access yourenvironment and model.

User ID Password

BPC-## training

m) Choose Logon.

The EPM pane appears on the right.

Task 2: Upload and Preview a FileLoad the file to the server, and preview it to determine the mapping requirements.

Use the Sales model of your environment for this exercise.

1. In your Sales model, upload the Student_Sales_Data.TXT file. Thisfile is stored on the Document page of the Web client.

Preview the file to determine the mapping requirements.

a) In the Web client on the Home tab, choose Documents.

b) Double-click the Student_Sales_Data.TXT file and choose Save.Save the file to your desktop.

c) In the EPM add-in, in the Data Manager ribbon, choose Upload Data.

d) Choose Browse to select the file to upload on your desktop.

e) Choose Upload.

f) The target folder appears in the next window. Choose Upload to uploadthe file in the current server folder. Choose Save.

The message File uploaded sucessfully appears. Choose OK.

2. Preview the file to check the file structure and the dimension members.

a) Choose the Data Preview pushbutton

b) Select the uploaded file and choose Open.

c) In the preview window, select Delimited in the file type dropdown list.

d) Check that the row header of the file corresponds to the dimensionsof the sales model.

e) Check that the file members correspond to the dimension members.For the time and category dimension, the members are not correct.Conversion is required for these dimensions.

f) Choose Cancel to leave the preview window.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 175

Page 188: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Task 3: Define Conversion Files and TransformationFileCreate the required conversion files, and then reference them in a newtransformation file.

Caution: When you define new conversion files, we recommend youdeactivate Member Recognition.

1. Define the conversion file for the time dimension. You map externalmembers to internal members as follows:

External Member Internal Member

0110 2010.JAN

0210 2010.FEB

0310 2010.MAR

0410 2010.APR

0510 2010.MAY

0610 2010.JUN

0710 2010.JUL

0810 2010.AUG

0910 2010.SEP

Continued on next page

176 © 2011 SAP AG. All rights reserved. 2011

Page 189: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Transformations

External Member Internal Member

1010 2010.OCT

1110 2010.NOV

1210 2010.DEC

a) From the Data Manager toolbar, choose Conversion Files → NewConversion File.

A new conversion workbook opens.

b) On the EPM tab, choose Options → Sheet Options. Deselect bothmember recognition checkboxes.

c) Choose OK.

d) Choose the Data Manager tab.

e) In the conversion worksheet, enter the members as shown in the tableabove.

f) Choose Conversion Files → Validate & Process Conversion File.

g) Enter the file name Time Map and choose Save.

The conversion file is validated and saved.

h) Choose OK.

2. Define the conversion file for the category dimension. Map externalmembers to internal members as shown below:

External Member Internal Member

ACT ACTUAL

a) From the Data Manager toolbar, choose Conversion Files → NewConversion File.

b) On the EPM tab, choose Options → Sheet Options. Deselect bothmember recognition checkboxes.

c) Choose OK.

d) Choose the Data Manager tab.

e) In the conversion worksheet, enter the members as shown in the table.

f) Choose Conversion Files → Validate & Process Conversion File.

g) Enter the file name Category Map and choose Save.

h) Choose OK.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 177

Page 190: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

3. Define the transformation file. The transformation file is required to changethe sign for revenue amounts and to reference the conversion files, forexample.

a) From the Data Manager toolbar, choose Transformation Files → NewTransformation File.

b) In the Options section, set the CREDITPOSITIVE option to NO.

c) In the Conversion section, enter the following:

TIME=TIME MAP.XLS

CATEGORY=CATEGORY MAP.XLS

d) Choose Transformation Files → Validate & Process TransformationFile.

e) Do not enter a data file for the validation. Choose Save.

f) After the validation is processed, enter the file name Sales Transand choose Save.

Task 4: Import Data in the Sales ModelImport the file using the transformation file, and check the package status.

1. Run the Import Data Manager package. Use the SalesTrans.xls transformation file.

a) In the Data Manager toolbar, choose Run Package.

b) Select the Import package and choose Run.

c) Choose Browse to select the Student_Sales_Data.TXT file, andchoose Next.

d) Choose Browse, double-click the Sales Trans.xls transformationfile, and choose Next.

e) Select Merge data values and choose Next.

f) Choose Yes to run the default logic after importing, and choose Next.

g) Choose No for the option to check the works status. Choose Next.

h) Choose Run and then choose Finish. The package is running on theserver.

i) Choose OK.

Continued on next page

178 © 2011 SAP AG. All rights reserved. 2011

Page 191: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Transformations

2. Check the package status.

a) Choose View Status to check the package status and refresh the screen.

b) The package status should be Succeed.

Task 5: Verify the Result Using a ReportYou use a dynamic report to display the imported data.

1. Change your context to the following:

Dimension ID

Account CE0001112

Category Actual

CostCenter All_CC

DataSource TOTAL

Product CON_PET_TYPE

RptCurrency LC

Time 2010.Q1

Measure Periodic

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 179

Page 192: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Open the Dynamic Report with Hierarchy -Entities.xltx report.

a) Choose Open → Open Server Root Folder.

b) Expand the Reports node to display the Templates folder on the server.

c) Select the Dynamic Report with Hierarchy -Entities.xltx report and choose Open.

d) Choose Refresh → Refresh Workbook. The report appears as follows:

Figure 91: Imported Sales Data Result

ResultThe sales data is displayed.

180 © 2011 SAP AG. All rights reserved. 2011

Page 193: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Transformations

Lesson Summary

You should now be able to:• Explain some of the options for transforming data using the transformation

file and conversion file.

2011 © 2011 SAP AG. All rights reserved. 181

Page 194: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Lesson: Using Advanced Data Manager Features

Lesson OverviewThis lesson shows advanced features in the Data Manager.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Describe the different update modes when importing data• Describe packages using SQL as a source

Business ExampleYou import data using the import package. You need to know the different updatemodes.

Replace and Clear Data ValuesWhen you use the import package and the copy package, you can select thefollowing modes to update the data:

Update Modes

Merge data values New records and existing records aremerged. Existing records are not changed.

Replace and clear data values Existing records are cleared and replacedby the new records.

Append data values New records are added to the existingrecords.

Update mode options are shown below.

The following example shows the difference between the update modes.

Your model contains the following data:

Update Mode: Example - Existing Data

Category Accounts Amount

Actual Benefits 1500

Actual OtherExp 500

182 © 2011 SAP AG. All rights reserved. 2011

Page 195: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Advanced Data Manager Features

Category Accounts Amount

Actual Salary 250

Budget Benefits 15

Budget OtherExp 20

Budget Benefits 30

You load the following additional records:

Update Mode: Example - Additional Records

Category Accounts Amount

Actual Benefits 1600

Actual DirectLabor 160

Note: The members for entity, data source, and time are the same forboth data sets above.

The different update modes give the following results:

Update Mode: Example - Results

Category Accounts Merge Replace and Clear Append

Actual Benefits 1600 1600 3100

Actual OtherExp 500 500

Actual DirectLabor 160 160 160

Actual Salary 250 250

Budget Benefits 15 15 15

Budget OtherExp 20 20 20

Budget Benefits 30 30 30

• In Merge mode, the existing records remain intact. 100 is added to Benefitsfor the Actual category, and 160 is added for Direct Labor in the Actualcategory.

• In Replace and Clear mode, the existing records remain intact for the Budgetcategory.

100 is added to Benefits for the Actual category, and 160 is added for DirectLabor in the Actual category.

2011 © 2011 SAP AG. All rights reserved. 183

Page 196: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Other Exp and Salary are both offset to zero since they are not in the newdata file.

Note: For the Replace and Clear method, the system uses thefollowing four dimensions:

1. Time2. Entity3. Category4. Data Source

• In the Append example, 1600 is appended to the existing 1500 for Benefitsfor the Actual category.

160 is added for Direct Labor in the Actual category.

MakeDim PackageYou use this package to create dimension members from an SQL table. Thepackage processes the dimension. When you execute this package, you areprompted for the following:

MakeDim Package

Input dimension name The dimension for which you want to loadmembers

Input source table name The SQL table that contains the records toload

Perform a full process of themodel

Full processing of the model is executedafter the members are loaded. This takes thesystem offline

Make system available afterprocessing the dimension

You mark this option to make the systemavailable again after the model has beenprocessed

Process security afterprocessing the dimension

You select this option to process the securityafter the model has been processed.

Import SQL PackageYou use this package to import data from an SQL table. You can use atransformation file to define data transformation.When you execute this package you are prompted for the following:

184 © 2011 SAP AG. All rights reserved. 2011

Page 197: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Advanced Data Manager Features

Import SQL Package

Select the SQL DB to input The SQL database that contains the table toimport

Select the SQL table to import The table that contains the data to import

Enter the name of the columnheaders

The header of the columns you want to import

Transformation file The name of the transformation file you wantto use to import the data

Select the method for importingthe data

The Merge Data Values and Replace andClear options are available

2011 © 2011 SAP AG. All rights reserved. 185

Page 198: SAP Bpc410 en Col96 Fv Part a4

Unit 3: Data Manager BPC410

Lesson Summary

You should now be able to:• Describe the different update modes when importing data• Describe packages using SQL as a source

186 © 2011 SAP AG. All rights reserved. 2011

Page 199: SAP Bpc410 en Col96 Fv Part a4

BPC410 Unit Summary

Unit SummaryYou should now be able to:• Load a file to the server• Preview a file to analyze the structure• Define and validate a transformation file• Import a file using a Data Manager package• Check the package status.• Explain how to use the delivered packages for planning purposes• Use the copy package to create forecast data• Explain some of the options for transforming data using the transformation

file and conversion file.• Describe the different update modes when importing data• Describe packages using SQL as a source

2011 © 2011 SAP AG. All rights reserved. 187

Page 200: SAP Bpc410 en Col96 Fv Part a4

Unit Summary BPC410

188 © 2011 SAP AG. All rights reserved. 2011

Page 201: SAP Bpc410 en Col96 Fv Part a4
Page 202: SAP Bpc410 en Col96 Fv Part a4
Page 203: SAP Bpc410 en Col96 Fv Part a4

Unit 4Business Logic

Unit OverviewThis units covers the different types of calculations (logic) you can use in Planningand Consolidation.

Unit ObjectivesAfter completing this unit, you will be able to:

• Explain when to use Excel formulas and EPM functions.• Use Excel formulas and EPM functions.• Use dimension member formulas to do on the fly calculations• Explain the pros and cons of using dimension member formulas• Run script logic files as data is imported or input into the model• Run script logic using Data Manager packages• Present the allocation engine• Create and run a logic for an allocation• Describe stored procedures• Use the logic debugger and logic assistant• Use advanced statements in logics• Describe the different business rule types• Decide whether you would like to use a business rule in a planning scenario

Unit ContentsLesson: Using Worksheet formulas and EPM functions ... . . . . . . . . . . . . . . .191

Procedure: To use EPMComparison Function ... . . . . . . . . . . . . . . . . . . . . . .194Exercise 10: Work with Worksheet Logic .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .197

Lesson: Configuring Dimension Formulas ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203Procedure: How to Add the Formula Property and Write a Formula 207Exercise 11: Create Dimension Formulas... . . . . . . . . . . . . . . . . . . . . . . . . . . . .209

Lesson: Running Logic in Real Time ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .214Procedure: How to Define Default Logic .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .218Exercise 12: Working with Default Logic .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .219

2011 © 2011 SAP AG. All rights reserved. 189

Page 204: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Lesson: Running Logic in Batch Mode ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .227Procedure: How to Link a Logic File to a Data Manager Package...230Exercise 13: Link Logic to a Data Manager Package ... . . . . . . . . . . . . . .231

Lesson: Configuring Allocations ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .236Exercise 14: Work with Allocations ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .241

Lesson: Using Advanced Logic .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .249Procedure: How to Debug Script Logic.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .254Exercise 15: Use the Logic Debugger .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .255

Lesson: Using Business Rules for Planning ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259Exercise 16: Use Currency Conversion Rules ... . . . . . . . . . . . . . . . . . . . . . .263

190 © 2011 SAP AG. All rights reserved. 2011

Page 205: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Worksheet formulas and EPM functions

Lesson: Using Worksheet formulas and EPM functions

Lesson OverviewIn this lesson you will learn to use EPM functions and Excel functionality ina workbook.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Explain when to use Excel formulas and EPM functions.• Use Excel formulas and EPM functions.

Business ExampleYou need to set up reports to retrieve values from the database, and valuescalculated on the fly.

The Four Types of LogicYou can use the following calculation types:

• Worksheet logic: local calculations defined with Excel functions or EPMfunctions in Excel reports and input forms.

• Dimension formulas: formula that are defined in dimension members, andcalculated on the fly in reports.

• Script Logic: Model specific calculations that are processed when data issent, or manually processed.

• Business Rules: Calculations based on predefined parameters such asconversion rules, intercompany elimination.

Note: A typical configuration would use all four types of calculations.

Differences in Logic Types

Logic type Defined in ? Resultsarestored

Calculatedwhen ?

Features

2011 © 2011 SAP AG. All rights reserved. 191

Page 206: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

in thedata-base ?

WorksheetLogic

Excel Inputform andreports

No Data is changedin the worksheet

Excel functionsand Macro, EPMfunctions.

DimensionFormulas

Dimensionmembers

No On the fly whenrefreshing thereport or inputform

Basic formulas andMDX expressions

ScriptLogic

Script Logicfiles

Yes On demand(using datamanagerpackages), orwhen the data issent (using thedefault logic)

MDX or SQL likelanguage

BusinessRules

Dedicatedrules tables

Yes On demand(using datamanagerpackages), orwhen the data issent (using thedefault logic)

Currencyconversion,Intercompanyelimination, Copyopening...

When to use Excel formulas and EPM functionsYou use Excel formulas and EPM functions when the requirement is the following:

• The calculation result must not be stored in the database.• The calculation formula is easy to define in a worksheet because all the

components of the calculation are displayed in the worksheet.

For example a comparison between actuals and plan data is typically definedin worksheets.

• The calculation must be processed on the fly when the data is refreshed.• Possibly, the calculated data must be sent back to the database for base

members.

EPM FunctionsIn addition to the standard Excel functions, EPM functions are available. You cancall EPM functions by choosing the standard Insert function in Excel.

192 © 2011 SAP AG. All rights reserved. 2011

Page 207: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Worksheet formulas and EPM functions

You usually store Excel functions and EPM functions in Local Members. Thefunctions are then dynamically adjusted to the size of your report.

Figure 92: To Insert EPM Functions

Figure 93: EPM function

Figure 94: EPM Function and Local Member

2011 © 2011 SAP AG. All rights reserved. 193

Page 208: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

To use EPMComparison FunctionUseYou use the EPMComparison function to compare accounts values across twocategories or two periods.

PrerequisitesIn your report, two categories are available in columns for comparison. Accountsare displayed in the rows.In the Sheet Options, the Member Recognition is activated.

Procedure1. On the first row, select the cell in the column where the comparison must

appear.

2. Choose the Insert Function pushbutton in the ribbon.

3. In the Category field, select EPM Functions.

4. In the Function List, select the EPMComparison function and choose theOk Pushbutton.

5. In the Account parameter, enter EPMMEMberID(xx). xx is the cell wherethe account is (example: B9).

6. In the Cell1 parameter, enter the cell where the actuals are (example C9)

7. In the Cell2 parameter, enter the cell where the category to compare isexample D9).

8. Choose the Ok pushbutton.

9. Choose Edit Report in the EPM ribbon.

10. On the Local Members tab, select the created local member.

11. Change the Name and the Description to Comparison.

12. Choose the Ok pushbutton.

ResultThe comparison column is created.

Continued on next page

194 © 2011 SAP AG. All rights reserved. 2011

Page 209: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Worksheet formulas and EPM functions

Figure 95: Comparison Report

2011 © 2011 SAP AG. All rights reserved. 195

Page 210: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

196 © 2011 SAP AG. All rights reserved. 2011

Page 211: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Worksheet formulas and EPM functions

Exercise 10: Work with Worksheet Logic

Exercise ObjectivesAfter completing this exercise, you will be able to:• Use EPM functions and Excel formulas in reports.• Define local members in reports.

Business ExampleYou want to compare actual and plan data with a better / worse comparison and acalculation percentage.

Task: Create comparison reportCreate an actual / plan comparison report for the revenues and the personnel costs.Use your planning model for this exercise.

1. Change your context to the following:

Dimension ID

Account CE0001000

Activity NONE

Category Actual

CostCenter All_CC

DataSource MANUAL

RptCurrency LC

Time 2010.TOTAL

Measure Periodic

Note: If the EPM context is not visible, in the EPM ribbon, chooseOptions → User Options. On the Others tab, select the Display EPMContext Bar checkbox.

Create a report by using the Dynamic Report with Subtotals - Accounts.xlsxand change the report as follows:Row Axis Dimensions: AccountSelected members for account: TOTREV, CE0004000Column Axis Dimensions: CategorySelected members for category: Actual, Plan

2. In the current sheet, activate Local Member Recognition.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 197

Page 212: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

3. Add a comparison column using the EPM Comparison function.Name the Local Member Comparison.

4. Save the report and name it Actual Plan Comparison.xlsx.

198 © 2011 SAP AG. All rights reserved. 2011

Page 213: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Worksheet formulas and EPM functions

Solution 10: Work with Worksheet LogicTask: Create comparison reportCreate an actual / plan comparison report for the revenues and the personnel costs.Use your planning model for this exercise.

1. Change your context to the following:

Dimension ID

Account CE0001000

Activity NONE

Category Actual

CostCenter All_CC

DataSource MANUAL

RptCurrency LC

Time 2010.TOTAL

Measure Periodic

Note: If the EPM context is not visible, in the EPM ribbon, chooseOptions → User Options. On the Others tab, select the Display EPMContext Bar checkbox.

Create a report by using the Dynamic Report with Subtotals - Accounts.xlsxand change the report as follows:Row Axis Dimensions: AccountSelected members for account: TOTREV, CE0004000Column Axis Dimensions: CategorySelected members for category: Actual, Plan

a) On the EPM tab, choose Open → Open Server Report Folder →Reports.

b) In the Templates folder, select the Dynamic Report withDynamic Dimension in Row Axis.xltx report and chooseOpen.

c) Left click in cell A12.

This identifies which report you would like to edit.

d) Choose Edit Report.

e) On the Options tab, deselect Do not Store Connection.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 199

Page 214: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

This setting is only necessary for using a template on different models.Also, by deactivating it, you should not receive any messages.

f) In the Row Axis Dimensions, click Account to open the EPM - MemberSelector.

g) In Selected Members, select the members. Click the left arrow toremove them.

h) In Dimension Members, select Total Revenue and Total Costs. Click theright arrow to add this selection. Choose OK

i) In the Column Axis Dimension, right click Time and choose Move toPage Axis.

j) In the Page Axis Dimension area, right click Category and chooseMove to Column Axis.

k) In the Column Axis Dimension, click Category to open the EPM -Member Selector.

l) In Selected Members, select the member, Click the left arrow to removeit.

m) In Dimension Members, select Actual and Plan and click the rightarrow to add this selection. Choose OK.

In the EPM - Report Editor window, choose OK to close the window.

n) Choose Refresh → Refresh Workbook. You may need to delete old rowsand columns. The report appears as follows:

Figure 96: Report with Actual and Plan Data

2. In the current sheet, activate Local Member Recognition.

a) In the EPM ribbon, choose Options → Sheet Options and select theActivate Local Member Recognition checkbox.

b) Choose OK.

3. Add a comparison column using the EPM Comparison function.

Continued on next page

200 © 2011 SAP AG. All rights reserved. 2011

Page 215: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Worksheet formulas and EPM functions

Name the Local Member Comparison.

a) Select cell D12, which corresponds to the first row of the report, andchoose Insert Function in the EPM ribbon.

b) In the EPM Functions category, select the EPM Comparison functionand choose OK.

c) Enter the following parameters:Account: EPMMemberID(A12)Cell1: B12Cell2: C12

d) Choose OK.

The function is converted to a local member, and dynamically copiedfor all row members. Notice that when the actual sales are below plan,the variance is negative. However, when actual costs are below plan,the variance is positive. The system is performing this calculationbased on the account type property.

e) To rename the local member, choose Edit Report in the EPM ribbon.

On the Local Members tab, select LocalMember000 and enterComparison in the Description field. Choose OK.

Figure 97: Comparison Report

4. Save the report and name it Actual Plan Comparison.xlsx.

a) In the EPM ribbon, choose Save → Save to Server Root Folder. Selectthe Reports folder. Enter the name Actual Plan Comparisonand choose Save.

2011 © 2011 SAP AG. All rights reserved. 201

Page 216: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Lesson Summary

You should now be able to:• Explain when to use Excel formulas and EPM functions.• Use Excel formulas and EPM functions.

202 © 2011 SAP AG. All rights reserved. 2011

Page 217: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Dimension Formulas

Lesson: Configuring Dimension Formulas

Lesson OverviewIn this lesson you will learn how to use dimension member formulas

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Use dimension member formulas to do on the fly calculations• Explain the pros and cons of using dimension member formulas

Business ExampleYou need to perform a calculation on the fly when reports are refreshed.

Member FormulaMember Formula is defined in dimension member, and has the following behavior:

• It is member-specific: the calculation is the same across every model.• It is defined in a dedicated formula property in the dimension member sheet,

using MDX syntax.• Members defined with a formula cannot be used to input data. The CALC

property is automatically set to Y.• It is calculated when the report or the input form is refreshed.• It is calculated after aggregation of base members to parent members.

You typically use member formula for calculations such as percentage of sales,growth rates, and other simple ratios.

Caution: Dimension member formulas may affect system performancesince they are calculated online, and may invoke a large volume of data.

Formula PropertyYou store the formula in the FORMULA property of the dimension. When youcreate the FORMULA property, you can set the length at up to 500 characters todefine large formulas.

2011 © 2011 SAP AG. All rights reserved. 203

Page 218: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Figure 98: Formula Property

MDX Syntax and KeywordsYou define dimension member formulas using the following:

• The dimension formulas can be self-created, or taken from a library.• The formula must contain the dimension name. The only exception is the

account type dimension, for which you do not need to enter the dimensionname.

• Formulas require a square bracket around the dimension and the member.• tThe dimension and the member are separated by a point.• You can use standard arithmetic functions (+, -, x, /) and MDX keywords

supported by SAP.

Examples of Dimension Formulas

ID Formula

Ratio1 [ACCOUNT1]/[ACCOUNT2]

TotalProduct [PRODUCT].[PRODUCT1]+[PRODUCT].[PRODUCT2]

The Solve Order ParameterWhen a report or an input form contains multiple dimension member formulas,the order of the calculation is significant. The Solve Order parameter controlsthe calculation sequence. The lower the Solve Order value, the sooner it willbe calculated.

204 © 2011 SAP AG. All rights reserved. 2011

Page 219: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Dimension Formulas

Solve Order Example - Account Dimension

ID Formula

ACCOUNT1

ACCOUNT2

ACCOUNT3 [ACCOUNT1]/[ACCOUNT2];SOLVE_ORDER=5

Solve Order Example - Product Dimension

ID Formula

PRODUCT1

PRODUCT2

PRODUCT3 [PRODUCT].[PRODUCT1]+[PRODUCT].[PROD-UCT2];SOLVE_ORDER=100

Example 1: Solve Order is higher for PRODUCT3

PRODUCT1 PRODUCT2 PRODUCT3

ACCOUNT1 120 130 250

ACCOUNT2 5 5 10

ACCOUNT3 24 26 50

ACCOUNT3 is calculated before PRODUCT3. The final result is 50=24+26.

Example 2: Solve Order is higher for ACCOUNT3

PRODUCT1 PRODUCT2 PRODUCT3

ACCOUNT1 120 130 250

ACCOUNT2 5 5 10

ACCOUNT3 24 26 25

PRODUCT3 is calculated before ACCOUNT3. The final result is 25=250/10.

Delivered FunctionsThe MdxLib.LGL is a delivered library of MDX functions. You can referencethese functions in dimension member formulas, by including the library file inthe Options worksheet:

2011 © 2011 SAP AG. All rights reserved. 205

Page 220: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Figure 99: The Options Worksheet

206 © 2011 SAP AG. All rights reserved. 2011

Page 221: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Dimension Formulas

How to Add the Formula Property and Write a Formula

1. You define dimension member formulas in the Planning and ConsolidationAdministration.

2. In the navigation pane, select the dimension in the dimension library.

3. In the action pane, choose Maintain Dimension Property.

4. Add a property named FORMULA with a length of 500.

5. In the action pane, choose Modify Dimension Property.

6. In the navigation pane, select the dimension in the dimension library.

7. In the action pane, choose Maintain Dimension Members.

8. In the FORMULA column, enter the member formula. Follow the requiredsyntax. For example, enter square brackets around dimension names anddimension members.

9. In the action pane, choose Process Dimension. Do not select Take SystemOffline.

10. Choose OK.

Pros and Cons

• Pros

– Real time calculation– Consistency: formula is the same for all models

• Cons

– Affects report performance– Calculation also applies to parent members– Not flexible since any changes in the formula would affect all models.

2011 © 2011 SAP AG. All rights reserved. 207

Page 222: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

208 © 2011 SAP AG. All rights reserved. 2011

Page 223: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Dimension Formulas

Exercise 11: Create Dimension Formulas

Exercise ObjectivesAfter completing this exercise, you will be able to:• Create a dimension member formula• Include a new dimension member formula in a report

Business ExampleFor analysis purposes, you need to define a ratio to evaluate the personnel costs.

Task:Create a new account to calculate the personnel costs ratio, and include it in anexisting report. Use your Planning model for this exercise.

1. In the account dimension, create a new member and formula as follows:

ID (Col A) Description (Col C) Formula (Col H)

PERSCOST Personnel Costs (% ofRevenue)

[CE0004000]/[TOTREV]

2. In the Actual Plan Comparison.xlsx report, add the accountPERSCOST, and assign it a specific number format for percentage.

3. Due to the default number format, the percentage values are not correctlydisplayed. Open the formatting sheet to assign a percentage format to theadded member.

4. Refresh the report.

2011 © 2011 SAP AG. All rights reserved. 209

Page 224: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Solution 11: Create Dimension FormulasTask:Create a new account to calculate the personnel costs ratio, and include it in anexisting report. Use your Planning model for this exercise.

1. In the account dimension, create a new member and formula as follows:

ID (Col A) Description (Col C) Formula (Col H)

PERSCOST Personnel Costs (% ofRevenue)

[CE0004000]/[TOTREV]

a) In the Admin Console, open the dimension library.

b) Choose the Account dimension.

c) In the action pane, choose Maintain Dimension Members.

d) In row 46, enter the ID, description, and formula in accordance with thetable above (no dashes):

e) In the action pane, choose Process Dimension.

f) Deselect Take System Offline.

g) Choose OK.

The Validate and Process dialog appears.

h) Choose OK.

Continued on next page

210 © 2011 SAP AG. All rights reserved. 2011

Page 225: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Dimension Formulas

2. In the Actual Plan Comparison.xlsx report, add the accountPERSCOST, and assign it a specific number format for percentage.

a) On the EPM tab, choose Log Off.

b) Choose Log On.

c) Choose the ellipse button.

d) Double-click the Planning - BPC410_## connection.

e) Choose Logon.

f) If prompted, enter the following credentials:

User ID Password

BPC-## training

Now refresh the Excel add-in so that you can use your new account.

g) In the EPM ribbon, choose Open → Open Server Report Folder, selectthe Actual Plan Comparison.xlsx report, and choose Open.

h) Left click in cell A12.

This identifies which report you would like to edit.

i) Choose Edit Report in the EPM ribbon.

j) On the Layout tab in the Row Axis Dimensions area, left click Accountto open the Member Selector.

k) Remove the existing accounts in Selected Members.

l) Under Dimension Members, select PERSCOST, CE0004000, andTOTREV.

m) Under Selection Relationship, select Member Only.

n) Click the right arrow to add them to Selected Members.

o) Position PERSCOST last.

p) Choose OK.

q) Choose OK to run the report.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 211

Page 226: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

3. Due to the default number format, the percentage values are not correctlydisplayed. Open the formatting sheet to assign a percentage format to theadded member.

a) In the EPM ribbon, choose View Formats. The formatting sheet is nowvisible.

b) Choose the EPM SAP Template 1 sheet.

c) In the Dimension Member/Property Formatting area of the formattingsheet, select the checkbox in J52 to activate this format.

d) In the Row section of the Dimension Member/Property Formattingarea, select Add Member/Property in D94 to select a member.

e) Under Dimensions, select Account,

f) Under Members, select Personnel Costs (% of Revenue).

g) Choose OK.

h) In the Data column of the formatting sheet, change the number formatin F81 to display percentages without decimals.

i) In the Use column, double-click in H81 to select only the NumberFormat.

j) In the Use column for the Header, double-click in L81 and deselect All.

k) Select the Apply checkbox in C81 for the Calculated Member DefaultFormat.

4. Refresh the report.

a) Select the Dynamic Dimension in Row Axis worksheet where yourreport is defined.

b) Choose the Refresh button in the ribbon. The report looks as follows:

Figure 100: Dimension Member Formula

212 © 2011 SAP AG. All rights reserved. 2011

Page 227: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Dimension Formulas

Lesson Summary

You should now be able to:• Use dimension member formulas to do on the fly calculations• Explain the pros and cons of using dimension member formulas

2011 © 2011 SAP AG. All rights reserved. 213

Page 228: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Lesson: Running Logic in Real Time

Lesson OverviewIn this lesson you will learn how to create logic files that run in real time.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Run script logic files as data is imported or input into the model

Business ExampleYou want to calculate data automatically during data input or data import.

When to Use Script LogicYou use script logic for the following requirements:

• The calculation must be in real-time (for every data send) or in batch mode.• The calculation must be model-specific.• Only base-level members are calculated. The parent-level members are

aggregated using the hierarchy.• Results are stored in the database.

Script logic calculations are stored in two different files:

• LGF file: an ASCII file where you create the calculation logic. You edit thisfile from the Planning and Consolidation Administration.

• LGX file: the compiled logic file. The system creates this file when youvalidate and save your logic. This is the executable version of the script logic.

You can include a logic file in another logic file to make maintenance easier whenlogics are complex. The following example shows the Default.lgf file for the Salesmodel. This logic includes the LOGIC_1.LGF logic.

214 © 2011 SAP AG. All rights reserved. 2011

Page 229: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Real Time

Figure 101: Script Logic Files

You can use two logic files to run real-time calculations:

• Default.LGF: The system creates this file automatically when you create amodel. The system will execute any logic included in this file after everydata send.

• Journal.LGF: In this file, you define calculations that must be processed onlywhen journals are posted. This file will overwrite the default logic file.

Script Logic ComponentsYou define script logic using the following components:

• Scoping: On which data do you run the logic?

The scope consists of all records created or modified in the input schedule.You can additionally limit the scope in the logic script using, for example,the XDIM_MEMBERSET keyword.

• Calculations: Which action do you perform on the scoped members?• Commit: Writing the results to the database.

2011 © 2011 SAP AG. All rights reserved. 215

Page 230: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Figure 102: Script Logic Components

You can use // characters to deactivate a line in the script logic. This line is notexecuted when the logic is run. You can also use this option to comment the logic.

MDX Syntax in Script LogicYou can use multidimensional expression language (MDX) with the followingsyntax:

• Dimension members and dimension names must be in uppercase.• Member IDs must be enclosed by square brackets.• Dimension members must be preceded by the dimension name. For the

account type dimension, this is not required.

SQL Syntax in Script Logic

Frequently Used Commands

Frequently Used Commands

Commands Description Example

*XDIM_MEMBER-SET

Defines the scope byselecting dimensionmembers.

*XDIM_MEMBERSETFLOW=F10,F99

*REC Records a value on thespecified members usinga factor.

*REC(FACTOR=1.2,ACCOUNT=SALES)

216 © 2011 SAP AG. All rights reserved. 2011

Page 231: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Real Time

Commands Description Example

*WHEN*ENDWHEN

Execute a command onlyif the condition is met.

*WHEN CATEGORY*IS ACTUAL*REC(FACTOR=1.2,CATEGORY=FORECAST)*ENDWHEN

*INCLUDE Includes a logic file in thecurrent logic. You canpass parameters to theincluded logic.

*INCLUDE FXTRANS

*DESTINA-TION_MODEL

Writes the results to adifferent model.

*DESTINA-TION_MODEL= IC-MATCHING

2011 © 2011 SAP AG. All rights reserved. 217

Page 232: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

How to Define Default Logic

1. In the navigation pane of the Planning and Consolidation Administration,choose Model and select your model.

2. Select Script Logic and Default.LGF.

3. Write the script following the required syntax.

4. In the action pane, choose Validate and Save.

5. Check the validation results, and adjust the script when required.

ResultThe default logic is created.

218 © 2011 SAP AG. All rights reserved. 2011

Page 233: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Real Time

Exercise 12: Working with Default Logic

Exercise ObjectivesAfter completing this exercise, you will be able to:• Reference a script logic file in default logic• Use a property to select members in script logic

Business ExampleYou need to perform calculations against an upside factor account.

Task 1: Define Calculations Using a FactorFor your Sales model, define the following calculations in a new logic fileLogic1.LGF.

1. Define in a new logic file Logic1.LGF and include the followingcalculation: Sum up account CP0001112 and CP0001114, and increase thevalue by 50%. Record the result to the upside factor account CP0001104.To process this calculation in real time, reference the new logic file in theDefault.LGF logic file.

2. Test the script by using an input form. Connect to your Sales model in theExcel interface and define the context as follows:

Dimension ID

Account CE0001103

Category Plan

CostCenter US

DataSource MANUAL

Product DOGBALL

RptCurrency LC

Time 2010.JAN

Measure Periodic

Task 2: Use a Member Property in Script LogicUse a property to select the source members in the logic calculation. This is amore dynamic scenario, since your logic would not have to change when newaccounts are added.

1. Change the logic to select accounts where the LOGIC3 property equals “Y”.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 219

Page 234: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Check the calculation in the Logic Test input form defined in the previoustask.

2. Test your code in the Excel interface.

220 © 2011 SAP AG. All rights reserved. 2011

Page 235: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Real Time

Solution 12: Working with Default LogicTask 1: Define Calculations Using a FactorFor your Sales model, define the following calculations in a new logic fileLogic1.LGF.

1. Define in a new logic file Logic1.LGF and include the followingcalculation: Sum up account CP0001112 and CP0001114, and increase thevalue by 50%. Record the result to the upside factor account CP0001104.To process this calculation in real time, reference the new logic file in theDefault.LGF logic file.

a) In the Admin Console, open the Model folder. Select the Sales model.

b) Select the Script Logic folder, and in the action pane, choose CreateNew Logic.

c) Next to Logic Name, enter Logic1 and choose OK.

d) Enter the following code:

*WHEN ACCOUNT*IS CP0001112,CP0001114*REC(FACTOR=1.5,ACCOUNT=CP0001104)*ENDWHEN

e) In the action pane, choose Validate and Save.

f) Choose Close.

g) In the Script Logic folder, select the Default.LGF script logic file.

h) Enter the following code: *INCLUDE Logic1.LGF

i) In the action pane, choose Validate and Save.

j) Choose Close.

2. Test the script by using an input form. Connect to your Sales model in theExcel interface and define the context as follows:

Dimension ID

Account CE0001103

Category Plan

CostCenter US

DataSource MANUAL

Product DOGBALL

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 221

Page 236: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Dimension ID

RptCurrency LC

Time 2010.JAN

Measure Periodic

a) In the Excel add-in, connect to your Sales model.

b) On the EPM tab, choose Open → Open Server Input Form Folder.

The Open dialog appears for the Sales - BPC410_## connection.

c) In the Template folder, open the Trend by Account.xltx report.

d) Choose Edit Report in the ribbon.

e) On the Options tab, deselect Do not Store Connection.

This setting is only necessary for using a template on different models,which we are not doing. Also, by deactivating it, you should notreceive any messages.

f) In the Row Axis Dimensions area, choose Account .

g) Choose ID - Description.

The report now displays the account ID and description in the rows.

h) In Selected Members, use the left arrow to remove the existingmembers.

i) Under Dimension Members, select the following accounts: CP0001104,CP0001105, CP0001107, CP0001109, CP0001110, CP0001112,CP0001114.

j) Click the right arrow to add your selections to Selected Members.

k) Use the up and down arrows to sort your accounts in ascending order.

l) Choose OK to close the EPM - Member Selector.

m) Choose OK to close the EPM - Report Editor.

n) Choose Refresh. The input form should appear as follows:

Continued on next page

222 © 2011 SAP AG. All rights reserved. 2011

Page 237: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Real Time

Figure 103: Input Form: Trend by Account

o) Choose Save → Save to Server Root Folder.

p) Save the input schedule in the Input Schedules folder as: LogicTest.xlsx.

q) Input 100 for accounts CP0001112 and CP0001114.

r) Choose Save Data in the ribbon.

s) When prompted to continue, choose Yes.

t) In the Save Results dialog, you should have 2 accepted records.

u) Choose OK.

In the Input Form, the calculated value of the upside factor accountshould be 300. ((150 + 150) * 1.5)

v) Leave the input form open for the next task.

Task 2: Use a Member Property in Script LogicUse a property to select the source members in the logic calculation. This is amore dynamic scenario, since your logic would not have to change when newaccounts are added.

1. Change the logic to select accounts where the LOGIC3 property equals “Y”.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 223

Page 238: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Check the calculation in the Logic Test input form defined in the previoustask.

a) In the logic file Logic1.LGF, change the selection of accounts to thefollowing:*WHEN ACCOUNT.LOGIC3*IS Y*REC(FACTOR=1.5,ACCOUNT=CP0001104)*ENDWHEN

b) Choose Validate and Save.

c) Choose Close.

d) Choose the Default.LGF file, and then choose Validate and Save.

e) Choose Close.

Continued on next page

224 © 2011 SAP AG. All rights reserved. 2011

Page 239: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Real Time

2. Test your code in the Excel interface.

a) Go to the Excel interface and open the EPM tab.

b) Select theCP0001112 account and chooseMore→Member Properties...

You can see the LOGIC3 property value is Y and therefore will be usedas a source for the upside factor calculation.

c) Select theCP0001114 account and chooseMore→Member Properties...

You can see the LOGIC3 property value is blank and therefore will notbe used as a source for the upside factor calculation.

d) In the input form, enter zero for the three accounts with values andsave the data.

e) Input 200 for accounts CP0001112 and CP0001114.

f) Choose Save Data in the ribbon.

g) When prompted to continue, choose Yes.

h) In the Save Results dialog, you should have 2 accepted records.

i) Choose OK.

Figure 104: Logic with Property - Result

The upside factor is 300. Only the CP0001112 account has a LOGIC3property value of Y, and therefore its value of 200 * 1.5 = 300 is writtento the upside factor account.

2011 © 2011 SAP AG. All rights reserved. 225

Page 240: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Lesson Summary

You should now be able to:• Run script logic files as data is imported or input into the model

226 © 2011 SAP AG. All rights reserved. 2011

Page 241: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Batch Mode

Lesson: Running Logic in Batch Mode

Lesson OverviewIn this lesson you will learn how to link logic files to Data Manager packages

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Run script logic using Data Manager packages

Business ExampleYou need to execute calculations in batch mode. You use the Data Manager forthis.

When to Use Batch ModeYou typically run calculations using batch mode when:

• Calculation is not required to be in real time.• The volume of data to calculate requires batch mode.• The data required for the calculations is not complete from the beginning.

Creating a PackageTo create a package, the following is required:

• A dtsx file (Integration Services Package file used by the SQL Server). Youtypically make a copy of the delivered dtsx files.

• Assignment to a package group. Package groups consist of folders on theserver.

• Selection of a task type. The task type determines the user category allowedto run the package (User or Admin package).

• A Package Script includes the parameters to run the package.

2011 © 2011 SAP AG. All rights reserved. 227

Page 242: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Package ScriptIn the package script, you define the following:

• The name of the script logic file to be executed• The prompt for the user when executing the package. This includes for

example:

– Options to check the work status setting– Dimensions to be used to select data

Figure 105: Package Script

Reviewing Logs for Packages That Run LogicThe system creates a log for each package you execute with the following details:

• Selected data region• Select statements• Number of records processed• Records to be posted, and posting status• Execution time

228 © 2011 SAP AG. All rights reserved. 2011

Page 243: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Batch Mode

Figure 106: Package Log

2011 © 2011 SAP AG. All rights reserved. 229

Page 244: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

How to Link a Logic File to a Data Manager Package

1. In the Data Manager, choose Organize → Organize Package List.

2. In the Package Name list, right click and choose Add Package.

3. Choose Select to select the .dtsx file.

4. Select the System Files folder. In the files list, right click the file tocopy, and choose Copy File. Right click again and choose Paste File. Selectthe new file, right click, and choose Rename File. Rename the file, selectit, and choose Open.

5. In the Add Package window, enter a description and select a Task Type.

6. Choose Add.

7. In the Package Name list, right click the added package and choose ModifyPackage.

8. Choose the Modify Script pushbutton. The Modify Script window appears.Choose the Advanced pushbutton in the upper right corner.

9. On the line TASK[Execute formulas,LOGIFILE, change the nameof the script logic from FXTrans.lgx to your script logic.

10. You can also change the line PROMP[SELECTINPUT] if you want to addor suppress a dimension to be prompted for data selection when the packageis executed.

230 © 2011 SAP AG. All rights reserved. 2011

Page 245: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Batch Mode

Exercise 13: Link Logic to a Data ManagerPackage

Exercise ObjectivesAfter completing this exercise, you will be able to:• Link a script logic to a package• Execute a script logic from the Data Manager• Check the package status

Business ExampleIn some cases, you want to run logic in a batch mode instead of in real time.

Task:Add a package and link it to the existing Logic1 file. Delete the default logic.Use the Sales model for this exercise.

1. In theDefault.LGF logic file, delete the include statement for the Logic1.LGFfile. In the Data Manager, create a new file Logic1.dtsx by copyingthe existing FX Restatement.dtsx file. Change this file to run theLogic1.LGF file.

2. Use the following context for your Sales model.

Dimension ID

Account CE0001103

Category Plan

CostCenter US

DataSource MANUAL

Product DOGBALL

RptCurrency LC

Time 2010.FEB

Measure Periodic

Use the Logic Test input form to input data, and run the new package.

3. View the package log and confirm the results in the input form.

2011 © 2011 SAP AG. All rights reserved. 231

Page 246: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Solution 13: Link Logic to a Data ManagerPackageTask:Add a package and link it to the existing Logic1 file. Delete the default logic.Use the Sales model for this exercise.

1. In theDefault.LGF logic file, delete the include statement for the Logic1.LGFfile. In the Data Manager, create a new file Logic1.dtsx by copyingthe existing FX Restatement.dtsx file. Change this file to run theLogic1.LGF file.

a) In the Admin Console, open the Model folder. Select the Sales model.

b) Choose the Script Logic folder, and click the Default.LGF file.

c) Delete the line: *INCLUDE LOGIC1.LGF and choose Validate andSave → Close.

d) In the EPM Excel add-In, in the Data Manager ribbon, choose Organize→ Organize Package List.

e) Under Package List, right click and choose Add Package.

f) Choose Select and click the System Files folder.

g) Right click the FX Restatement.dtsx file and choose Copy File.Right click again and choose Paste File.

h) Right click the new Copy of FX Restatement.dtsx file andchoose Rename File. Rename it:Logic1.dtsx.

i) Select the file and choose Open.

j) Select the User Package task type.

k) Select the Data Management package group.

l) Enter Logic1 for the description of the package.

m) Choose Add.

n) In the package list, right click the new package and choose ModifyPackage. Choose the Modify Script pushbutton, and the Advancedpushbutton to change the package script.

o) In the TASK[Execute formulas,LOGIGFILE command (row8), replace FXTrans.lgx with Logic1.lgx. The script should appear asfollows:

Continued on next page

232 © 2011 SAP AG. All rights reserved. 2011

Page 247: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Batch Mode

Figure 107: Modified Package Script

p) Choose OK and Save to record the package script.

q) Choose Save and Close.

2. Use the following context for your Sales model.

Dimension ID

Account CE0001103

Category Plan

CostCenter US

DataSource MANUAL

Product DOGBALL

RptCurrency LC

Time 2010.FEB

Measure Periodic

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 233

Page 248: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Use the Logic Test input form to input data, and run the new package.

a) On the EPM tab, choose Open → Open Server Input Form Folder.Select Logic Test.xlsx and choose Open.

b) Change your context according to the table above.

c) Choose Refresh.

d) Input 200 for accounts CP0001112 and CP0001114.

e) Choose Save Data, and choose Yes when prompted to send data.

f) Choose OK.

External Sales and Internal Sales each have a value of 200, however,the upside factor is still zero.

g) In the Data Manager ribbon, choose Run Package

h) Select the Logic1 package and choose Run.

i) Choose Yes to check the work status settings and then choose Next.

j) Select the following members and choose Next.

Category Plan

CostCenter <all>

Time 2010.FEB

k) Confirm that Run is selected and choose Finish to execute the package.

The EPM - Data Manager dialog appears.

l) Choose OK to close the dialog.

3. View the package log and confirm the results in the input form.

a) Click View Status and double-click the Logic1 package.

b) In the Formula Log, confirm that the Accept Count is 1.

c) Close the dialog boxes.

d) On the EPM tab, choose Refresh.

e) Confirm that the upside factor account is 300.

234 © 2011 SAP AG. All rights reserved. 2011

Page 249: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Running Logic in Batch Mode

Lesson Summary

You should now be able to:• Run script logic using Data Manager packages

2011 © 2011 SAP AG. All rights reserved. 235

Page 250: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Lesson: Configuring Allocations

Lesson OverviewIn this lesson you will learn how to create logic files for allocations.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Present the allocation engine• Create and run a logic for an allocation

Business ExampleYour planners need a way to disaggregate their data, so you need to know howallocations work.

When to Use Allocation Script LogicYou use allocation to distribute values over dimension members using drivers.You typically use allocations to:

• Allocate the headquarter expenses to the operating entities manually,according to a percentage input.

• Allocate the building costs to the cost centers according to their respectiveheadcount.

• Allocate annual plan amounts to months according to the actual weightingof the previous year.

In the example below, you can see the data and code to allocate social contributionexpenses.

236 © 2011 SAP AG. All rights reserved. 2011

Page 251: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Allocations

Figure 108: Example - Allocating Based on Labor Hours

Below you can see the same example with detailed explanations on the code.

Figure 109: Explanations of the Code

2011 © 2011 SAP AG. All rights reserved. 237

Page 252: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Example: Allocate Building Costs According to Headcount

Cost Centers Head-count

Buildingcosts (beforeallocation)

Buildingcosts (afterallocation)

Headquarters 10 50

Sales 140 700

Finance and Administration 20 1000 100

Research & Development 30 150

Defining the KeywordsYou define the allocation using keywords that describe the logic of your allocation.You typically use the following keywords:

Main Keywords in Allocation

Keyword Description Example

WHAT What data must be allocated? Account: Operating ExpensesEntity: Headquarters

WHERE Where must the allocatedresults be written?

Account: Overhead ExpensesEntity: Operating Entities

USING(optional)

Which driver must be used tocalculate the amounts?

Account: RevenueEntity: Operating Entities

TOTAL(optional)

What is the sum of thedriver? This amount is usuallycombined with the USINGamount to calculate the factor.

Account: RevenueEntity: Operating Entities

FACTOR(optional)

How do you use the driver tocalculate the amounts? Youcan use numbers, arithmeticexpressions, or the keywordsUSING, TOTAL, COUNT

USING/TOTAL

<<<>>>

Keywords to reference thedefinition on the left (<<<)or the definition on the right(>>>)

If the destination (WHERE)account is the same as thesource (WHAT) account, youcan write: WHERE=<<<

Using the different keywords, you select dimension members. You can use parentmembers and properties to select members.

238 © 2011 SAP AG. All rights reserved. 2011

Page 253: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Allocations

The Allocation EngineYou use the allocation engine to define complex allocations using a limitednumber of instructions. The allocation engine uses standard script logic, with asimplified syntax.

For example, you define the following allocation using the allocation engine:

Allocation Components

FACTOR USING/TOTAL

DIMEN-SION

WHAT WHERE USING

ENTITY Headquarters <>Headquarters <>Headquarters

ACCOUNT OpeExp OverheadExpenses Revenue

You define allocation script using the standard script logic editor. The allocationlogic is linked to packages in the Data Manager. You run allocation using theData Manager.The allocation script for the above example is the following:

Allocation Script

*RUNALLOCATION

*FACTOR=US-ING/TOTAL

*DIM ENTITY WHAT=Head-quarters;

WHERE=<>Head-quarters;

US-ING<>Head-quarters

*DIM ACCOUNT WHAT=Ope-Exp;

WHERE=Over-headExpenses

USING=Rev-enue

*ENDALLOCATION

2011 © 2011 SAP AG. All rights reserved. 239

Page 254: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

240 © 2011 SAP AG. All rights reserved. 2011

Page 255: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Allocations

Exercise 14: Work with Allocations

Exercise ObjectivesAfter completing this exercise, you will be able to:• Define a script logic file for an allocation.• Define a Data Manager package for an allocation.• Run the allocation.

Business ExampleYou plan the external sales, and you calculate the intercompany sales using apercentage.

Task:Define an allocation to calculate the intercompany sales from the external sales,using a percentage stored in the account CP0001105 (internal sales in %). Useyour Planning model for this exercise.

1. Define the script Allocation.LGF to perform the following allocation:

WHAT WHERE USING

CP0001112 - ExternalSales

CP000114 -Intercompany Sales

CP0001105 - InternalSales in %

Create a logic file named Allocation1.

Create a package named Allocation1.dtsx. Reference the allocationscript logic file.

2. Define an input form with the accounts in the rows, and cost center in thecolumns. Use the Trend by Account input form as a starting point, and savethe final input form with the name Allocation. Enter the percentages forInternal Sales in %, run the allocation, and check the results.

Use the following context for your Planning model.

Dimension ID

Account CE0001103

Activity NONE

Category Plan

CostCenter North America

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 241

Page 256: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Dimension ID

DataSource MANUAL

RptCurrency LC

Time 2010.JAN

Measure Periodic

242 © 2011 SAP AG. All rights reserved. 2011

Page 257: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Allocations

Solution 14: Work with AllocationsTask:Define an allocation to calculate the intercompany sales from the external sales,using a percentage stored in the account CP0001105 (internal sales in %). Useyour Planning model for this exercise.

1. Define the script Allocation.LGF to perform the following allocation:

WHAT WHERE USING

CP0001112 - ExternalSales

CP000114 -Intercompany Sales

CP0001105 - InternalSales in %

Create a logic file named Allocation1.

Create a package named Allocation1.dtsx. Reference the allocationscript logic file.

a) In the Planning and Consolidation Administration, choose Model, andyour Planning model.

b) In the navigation pane, choose Script Logic, and in the action pane,choose Create New Logic.

c) Enter the Logic Name Allocation1.

d) Type the following code in the Allocation script:

Note: The factor is a percentage stored in the CP0001105account.

*RUNALLOCATION*FACTOR=USING/-100*DIM ACCOUNT WHAT=CP0001112; WHERE=CP0001114;USING=CP0001105*ENDALLOCATION

e) In the action pane, choose Validate and Save.

f) Choose Close.

g) In the Excel add-in, log on to your Planning model.

h) In the Data Manager ribbon, choose Organize → Organize PackageList.

i) In the package list, right click and choose Add Package.

j) Choose the Select pushbutton and click the System Files folder.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 243

Page 258: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

k) Right click the FX Restatement.dtsx file and choose Copy File.

l) Right click again and choose Paste File.

m) Right click the new Copy of FX Restatement.dtsx file andchoose Rename File.

n) Rename the file Allocation1.dtsx.

o) Select the file and choose Open.

p) Select the User Package task type and the Data Management packagegroup.

q) Enter Allocation1 for the description of the package.

r) Choose Add.

s) In the package list, right click the new package and choose ModifyPackage.

t) Choose Modify Script → Advanced.

u) In the TASK[Execute formulas,LOGIGFILE command in row8, replace FXTrans.lgx with Allocation1.lgx.

v) Choose OK → Save.

w) Choose Save → Close.

2. Define an input form with the accounts in the rows, and cost center in thecolumns. Use the Trend by Account input form as a starting point, and savethe final input form with the name Allocation. Enter the percentages forInternal Sales in %, run the allocation, and check the results.

Use the following context for your Planning model.

Dimension ID

Account CE0001103

Activity NONE

Category Plan

CostCenter North America

DataSource MANUAL

RptCurrency LC

Time 2010.JAN

Measure Periodic

a) On the EPM tab, choose Open → Open Server Input Form Folder.

Continued on next page

244 © 2011 SAP AG. All rights reserved. 2011

Page 259: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Allocations

b) In the Template folder, open the Trend by Account.xltx file.

c) Click in cell C11.

This identifies which report you want to edit in the next step.

d) Choose Edit Report in the ribbon.

e) On the Options tab, deselect Do Not Store Connection.

f) Go to the Layout tab.

g) In the Row Axis Dimensions, select Account.

h) Set your display to ID - Description.

i) Under Selected Members, remove the existing members with the leftarrow.

j) Under Dimension Members, select: CP0001105, CP0001112, andCP0001114.

k) Use the right arrow to move them to Selected Members.

l) Choose OK to close the EPM - Member Selector.

m) In the Column Axis Dimensions, right click Time and choose Move ToPage Axis.

n) Under Dimensions, right click CostCenter and chooseMove To ColumnAxis.

o) In the Column Axis Dimensions, select CostCenter .

p) Under Selected Members, remove the existing members with the leftarrow.

q) Under Dimension Members, select North America.

r) Use the right arrow to move it to Selected Members.

s) Choose OK to close the EPM - Member Selector.

t) Choose OK to close the EPM - Report Editor.

Your input form looks as follows:

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 245

Page 260: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Figure 110: Input Form Before Allocation

u) Choose Save → Save to Server Root Folder to save the input formwith the name Allocation in the Input Schedules folder onthe server.

v) Enter the values for the driver as shown below:

Account Canada US

Internal Sales in % 12 9

w) Choose Save Data and choose Yes when prompted to send data.

x) Choose OK.

y) Choose the Data Manager tab.

z) Choose Run Package.

aa) Select Allocation and choose Run.

ab) Choose Yes to check the work status settings and then choose Next.

ac) Select the following members and choose Next.

Category Plan

CostCenter <all>

Time 2010.JAN

ad) Choose Run and then choose Finish to run the package.

ae) On the EPM tab, choose Refresh.

Continued on next page

246 © 2011 SAP AG. All rights reserved. 2011

Page 261: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Allocations

Figure 111: Allocation Result

The intercompany sales are 12% of the external sales for Canada and9% of the external sales for US.

2011 © 2011 SAP AG. All rights reserved. 247

Page 262: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Lesson Summary

You should now be able to:• Present the allocation engine• Create and run a logic for an allocation

248 © 2011 SAP AG. All rights reserved. 2011

Page 263: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Advanced Logic

Lesson: Using Advanced Logic

Lesson OverviewIn this lesson you will learn about advanced features for logics, such as how todebug code and use more complex statements.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Describe stored procedures• Use the logic debugger and logic assistant• Use advanced statements in logics

Business ExampleYou want to set up advanced logics in your environment. You need to know whichdevelopment tools and features you can use.

Stored ProceduresStored procedures are defined in the SQL Server database to run routines. Youwrite routines using different languages (C++, Visual Basic, and so on).

Figure 112: Stored Procedures

Planning and Consolidation comes with a set of stored procedures. You canadd new stored procedures depending on your requirements. You can use thedelivered Stored_procedure_wrapper.LGL library file to check how to call thesestored procedures.

2011 © 2011 SAP AG. All rights reserved. 249

Page 264: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Figure 113: Stored_procedure_wrapper.LGL Library File

Planning and Consolidation typically uses stored procedures to execute thefollowing business rules:

Stored Procedures for Consolidation

Stored Procedure Business Rules

SPCOPYOPENING Carryforward rules

SPRUNCONVERSION Currency conversion rules

SPRUNCONSO Eliminations and adjustments

SPRUNCALCACCOUNT Account-based calculations

SPRUNVALID Validation rules

SPICDATA No business rules. This storedprocedure prepares data forintercompany matching.

SPICBOOKING Intercompany bookings

SPRUNELIM US eliminations

You call stored procedures in Script Logics using the following syntax:

Syntax to Call a Stored Procedure

*RUN_STORED_PROCEDURE=<StoredProcedureName>(ParametersList)

The parameters list includes, for example, the model and the dimensions todetermine the data region.

250 © 2011 SAP AG. All rights reserved. 2011

Page 265: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Advanced Logic

You run the corresponding script logic from the Data Manager.

LoopsIn your logic, you can define loops over one or several lists of members, usingthe *FOR and *NEXT statement. Instructions included in the statement will beexecuted for each dimension member in the list. You can also define nestedloop statements.

Nested Loop Example

*FOR %YEAR%=2003,2004,2005*FOR %MONTH%=JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,NOV,DEC *REC(FACTOR=GET(ACCOUNT="TOT.OVRHEAD",TIME="TOT.INP")/100,TIME="%YEAR%.%MONTH%")*NEXT*NEXT

VariablesYou can include a list of dimension members in a variable that youcan use later in your logic. The variable content is defined using the*SELECT statement. You typically use variables to set the data region using theXDIM_MEMBERSET statement.

Example of Variable Definition

*SELECT(%INCACC%, "[ID]", "ACCOUNT", "ACCTYPE='INC'")*XDIM_MEMBERSET ACCOUNT=%INCACC% [category].[#realistic]=[category].[actual] *1. 2*COMMIT

Cross-Model LogicYou can use logic to process calculations in a different model to the current one.For example, you can run calculation in the Planning model from the Sales model.To define cross-model logic, you can use the following statements:

2011 © 2011 SAP AG. All rights reserved. 251

Page 266: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Statements for Cross-Model Logic

Statement Description

*DESTINATION_MODEL Defines the model where the data is written.

*SKIP_DIM*ADD_DIM*RENAME_DIM

Used in conjunction with*DESTINATION_MODEL. When the sourceand the destination model do not have the samedimensions, you use these statements to skip, add,or rename a dimension.

*MODEL*ENVIRONMENT

These statements are used in conjunction with*RUNLOGIC, and *LOGIC. You use thesestatements to run a logic in a different model or adifferent environment.

Logic DebuggerYou use the logic debugger to test your logic and analyze the result. The followingoptions are available:

• Run logic: You can run the logic in simulation or update mode.• Log files: You can display the log file created by the logic run.• Data region: You can select data using dimension members, or by using a file.• Dynamic formula: You can use an additional formula to combine your logic.• Optimize options: You can select options like Maximum Members to define

the MDX query type when executing your logic.

Logic AssistantThe logic assistant is a wizard that guides you when you write statements in alogic. When you use the logic assistant, you can :

• Select the statement in different statement categories, or in the differentlibrary files of your environment.

Example: in the category Controlling the source region, you can select*XDIM_MEMBERSET.

• Read a description of the available statements, including the requiredparameters.

• Input the parameters values.

252 © 2011 SAP AG. All rights reserved. 2011

Page 267: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Advanced Logic

System Constants FileIn you model, you use the system constants file to:

• Map your dimension names to the standard names. This is required whenyou use the standard functions which use standard dimensions names likeaccount, category, and entity.Examples:*FUNCTION ENTITYDIM=COSTCENTER*FUNCTION ACCDETAILDIM=FLOW

• Map dimension members to member constants that are used in logics.Examples:*FUNCTION ACC_PROFIT_BS=25712000*FUNCTION FLOW_VAR=F15

• Map dimension members and dimension names for the associated Rateapplications:Examples:*FUNCTION RATEAPP=RATE*FUNCTION RATEENTITYDIM=R_ENTITY*FUNCTION AVGRATEID=AVG

2011 © 2011 SAP AG. All rights reserved. 253

Page 268: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

How to Debug Script Logic

1. In the Planning and Consolidation Administration, choose Script Logic, andin the action pane, choose Logic Debugger.

2. Leave the default options to run in simulation mode.

3. Choose the Region tab to define the data region.

4. When required, select the dimension members to define the data region bychoosing the corresponding pushbutton.

5. On the General tab, choose the Run Logic pushbutton.

The message in the bottom part of the screen changes to Started.

6. Wait for the logic execution. The message in the bottom part of the screenchanges to Run completed.

7. Choose the Show Log pushbutton and analyze the log.

254 © 2011 SAP AG. All rights reserved. 2011

Page 269: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Advanced Logic

Exercise 15: Use the Logic Debugger

Exercise ObjectivesAfter completing this exercise, you will be able to:• Use the logic debugger• Display the logic log

Business ExampleOccasionally, you encounter errors when executing logic files, and need a way todebug issues.

Task:In your Planning model, create a new logic and test the execution using the logicdebugger.

1. Create a script logic file named AccountLogic with the following code:*WHEN ACCOUNT*IS CP0001112,CP0001114*REC(FACTOR = 1,ACCOUNT = CP0001113)*ENDWHEN

Run the logic using the debugger on the following data region:

Dimension Members

Account

Activity NONE

Category PLAN

CostCenter US

DataSource MANUAL

RptCurrency LC

Time 2010.JAN

Analyze the log and locate the created record.

2011 © 2011 SAP AG. All rights reserved. 255

Page 270: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Solution 15: Use the Logic DebuggerTask:In your Planning model, create a new logic and test the execution using the logicdebugger.

1. Create a script logic file named AccountLogic with the following code:*WHEN ACCOUNT*IS CP0001112,CP0001114*REC(FACTOR = 1,ACCOUNT = CP0001113)*ENDWHEN

Run the logic using the debugger on the following data region:

Dimension Members

Account

Activity NONE

Category PLAN

CostCenter US

DataSource MANUAL

RptCurrency LC

Time 2010.JAN

Continued on next page

256 © 2011 SAP AG. All rights reserved. 2011

Page 271: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Advanced Logic

Analyze the log and locate the created record.

a) In the Admin Console, choose Model → Planning → Script Logic. Inthe action pane, choose Create New Logic.

b) Enter the name AccountLogic.

c) Enter the coding as shown above.

d) In the action pane, choose Validate and Save.

e) Once the script has been validated, choose Close.

f) In the action pane, choose Logic Debugger.

g) On theGeneral tab, select Run in simulation mode (do not save result).

h) On the Region tab, select the dimension members as shown in the tableabove.

i) Choose Run Logic.

A log is generated and a message appears:Run completed in xx seconds.

j) On the General tab, choose Show Log.

k) Scroll down to find the generated record. The log is similar to thefollowing:

Figure 114: Log Logic Debugger

2011 © 2011 SAP AG. All rights reserved. 257

Page 272: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Lesson Summary

You should now be able to:• Describe stored procedures• Use the logic debugger and logic assistant• Use advanced statements in logics

258 © 2011 SAP AG. All rights reserved. 2011

Page 273: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Business Rules for Planning

Lesson: Using Business Rules for Planning

Lesson OverviewIn this lesson you will learn how to use a business rule for planning calculations

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Describe the different business rule types• Decide whether you would like to use a business rule in a planning scenario

Business ExampleYou need a way to translate currency or realign data, and therefore need to knowhow these business rules work.

Business RulesBusiness rules are parameter-driven functions that perform financial calculations.You typically use business rules in a consolidation model. Nevertheless, someplanning requirements can trigger the use of certain business rules. Planning andConsolidation includes the following business rules:

Business Rules

Business Rules Description Can be used in aplanning model ?

Account-BasedCalculations

Create data from existingvalues, with limited calculationoptions (positive or negativevalues).Example: reclassify oneaccount balance to anotheraccount.

Yes

CarryforwardRules

Create the opening balances forbalance sheet accounts at thenew year.

Yes

CurrencyConversion

Convert input currency valuesto the reporting currencyvalues. These rules require aRates model.

Yes

2011 © 2011 SAP AG. All rights reserved. 259

Page 274: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Business Rules Description Can be used in aplanning model ?

Eliminations andAdjustments

Create advanced consolidationlike elimination or minorityinterest calculation. These rulesrequire an Ownership model.

No

IntercompanyBookings

Adjust the reportedintercompany amounts. Usedin intercompany matchingscenario.

No

US Eliminations Create intercompanyeliminations based on thehierarchy of the entity typedimension.

Yes

Validations Calculate validation accounts.Used in a consolidation processto check the quality of localdata before submission to thegroup.

No

You run business rules using the Data Manager.

Note: A planning scenario rarely requires exactly the same rules as aconsolidation scenario. In this case, all the business rules would be usedfor planning.

Currency ConversionYou use currency conversion rules to convert amounts from local currency (inputcurrency) to a group currency (reporting currency). Currency conversion proceedsas follows for each record to be converted:

1. Search in the Currency property of the Entity dimension for the currencyof the current record.

Example: GBP2. Search in the MD property of the InputCurrency dimension to determine

whether a divider (D) or a multiplier (M) should be used for this currency.Example: Multiplier

3. Search in the Ratetype property of the Account dimension for the rate to beused for the current account.Example: Average

4. Search in the Currency Conversion rules for the formula assigned to theaccount rate type.

260 © 2011 SAP AG. All rights reserved. 2011

Page 275: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Business Rules for Planning

Example: Average5. Search in the Rates model for the conversion rate for the current currency,

category, and time for the given rate type.6. Calculate and create a new record in the selected reporting currency.

Figure 115: Currency Conversion Steps

Different keywords can be used in the conversion rules formula:

• Members of the account type dimension of the Rates modelExample: [AVG], [END]• Values of the Ratetype property

Example: [HIST]• [COPYLC] to apply a rate of 1• [AS_IS] to keep an existing converted value• Operations between keywords

Example: [END] - [HIST]• Prefix [OPE] to refer to the rate of the opening period

Account-Based CalculationsYou use account-based calculations to create data records from existing data usinga simple calculation (positive or negative values). In the business rules, you definethe following:

2011 © 2011 SAP AG. All rights reserved. 261

Page 276: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Account-Based Calculations

Column Description

Transformationgroup

Identifies a group a calculations. You can use it to selectthe calculations you want to run.

Source accountSource data sourceSource flow

You select the source data using these dimensions

Destination accountDestination flowDestination datasource

You define the destination data using these dimensions

Reverse sign You use this option to reverse the value sign

Source periodSource year

You use this to select the source data in a different yearand / or period

Apply to periodic Relevant only for Periodic models. This option willcreate year-to-date values.

You typically use the account-based calculation to calculate the following:

• Cash flow statement• Reclassification of account balances• Calculation of the retained earnings account

262 © 2011 SAP AG. All rights reserved. 2011

Page 277: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Business Rules for Planning

Exercise 16: Use Currency ConversionRules

Exercise ObjectivesAfter completing this exercise, you will be able to:• Set up the business rules for currency conversion• Enter the currency rates• Run the currency conversion

Business ExampleYou need a possible solution to translate currency in a planning scenario, andwould like to learn how this is done using business rules.

Task 1: Configure the Currency ConversionAdd the required properties for the dimensions and define the business rules.

1. In the Account dimension, check that the property Ratetype is defined. Checkthat the Sales After Tax account has the value AVG for this property.

2. Additional properties in the DataSource dimension are required for currencyconversion. These properties are used for consolidation, but are rarelyrelevant in a planning scenario. However, from a system perspective, theyare required.

Property Length

IS_CONVERTED 2

DATASRC_TYPE 2

For the MANUAL member, you enter the values Y for IS_CONVERTEDand I for DATASRC_TYPE.

3. Additional properties in the CostCenter dimension are required for currencyconversion. These properties are used for consolidation, but are rarelyrelevant in a planning scenario. However, from a system perspective, theyare required.

Property Length

FX_TYPE 2

4. Define the Currency Conversion Rule as follows:

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 263

Page 278: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Account Rate Type: AVGFormula: [AVG]Validate the rule to check the consistency of the dimensions and properties.

5. Validate and save the script logic FXTrans.LGF.

Task 2: Enter the Currency RatesEnter the currency rates in the Rates model.

1. In the EPM add-in, connect to your Rates model.

2. Adjust the input form template Trend by Account.xltx to enter theaverage exchange rate. Place InputCurrency in the rows and select themembers USD and EUR. Use the following context:

Dimension Member

Category Plan

InputCurrency USD

R_Account AVG

R_Entity Global

Time 2010.TOTAL

Measures Periodic

Enter and save the following exchange rate for the period 2010.JAN:USD: 0.7EUR: 1

Task 3: Run the Currency ConversionIn your Planning model, run the currency conversion and check the results.

1. In the EPM add-in, connect to your Planning model and define the context asfollows:

Dimension Member

Account CP0001103

Activity NONE

Category Plan

CostCenter US

DataSource MANUAL

Continued on next page

264 © 2011 SAP AG. All rights reserved. 2011

Page 279: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Business Rules for Planning

Dimension Member

RptCurrency LC

Time 2010.JAN

Measures Periodic

Adjust the report template Dynamic Report with Subtotals- Accounts.xltx to display local currency and EUR currency in thecolumns.

2. Run the currency conversion package for the following data region:

Dimension Member

Category Plan

CostCenter US

Time 2010.JAN

Check the package status and the number of records created.

3. Refresh the report to display the converted data.

2011 © 2011 SAP AG. All rights reserved. 265

Page 280: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Solution 16: Use Currency ConversionRulesTask 1: Configure the Currency ConversionAdd the required properties for the dimensions and define the business rules.

1. In the Account dimension, check that the property Ratetype is defined. Checkthat the Sales After Tax account has the value AVG for this property.

a) In Admin Console, choose Dimension Library → Account, and in theaction pane, choose Maintain Dimension Members.

b) Confirm that the Sales After Tax account has the value AVG for theRatetype property.

2. Additional properties in the DataSource dimension are required for currencyconversion. These properties are used for consolidation, but are rarelyrelevant in a planning scenario. However, from a system perspective, theyare required.

Property Length

IS_CONVERTED 2

DATASRC_TYPE 2

Continued on next page

266 © 2011 SAP AG. All rights reserved. 2011

Page 281: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Business Rules for Planning

For the MANUAL member, you enter the values Y for IS_CONVERTEDand I for DATASRC_TYPE.

a) In the Admin Console, choose Dimension Library → DataSource.

b) In the action pane, choose Maintain Dimension Property.

c) In the empty row, enter the property name and length for the 2properties, as shown above.

d) In the action pane, chooseModify Dimension Property, and then chooseOK.

Hint: In the next step, a dialog may appear. Close it to proceed.

e) Choose DataSource again and in the action pane, choose MaintainDimension Members. Enter the data as shown below:

Member IS_CONVERTED DATASRC_TYPE

MANUAL Y I

f) In the action pane, choose Process Dimension. Do not select TakeSystem Offline, and choose OK.

g) Choose OK.

3. Additional properties in the CostCenter dimension are required for currencyconversion. These properties are used for consolidation, but are rarelyrelevant in a planning scenario. However, from a system perspective, theyare required.

Property Length

FX_TYPE 2

a) Choose the CostCenter dimension.

b) In the action pane, coose Maintain Dimension Property.

c) In the empty row, enter the property name and length for the property,as shown above.

d) In the action pane, chooseModify Dimension Property, and then chooseOK.

4. Define the Currency Conversion Rule as follows:Account Rate Type: AVGFormula: [AVG]

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 267

Page 282: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Validate the rule to check the consistency of the dimensions and properties.

a) In the Admin Console, choose Model → Planning → Business Rules→ Currency Conversion Rules. For AVG in the Account Rate Typefield, double click the + button to expand the rule and confirm [AVG]in the Formula field.

b) In the action pane, choose Validate Dimensions and Properties.

Select Save Rule Table.

5. Validate and save the script logic FXTrans.LGF.

a) Choose Model → Planning → Script Logic→FXTrans.LGF and in theaction pane, choose Validate and Save.

Continued on next page

268 © 2011 SAP AG. All rights reserved. 2011

Page 283: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Business Rules for Planning

Task 2: Enter the Currency RatesEnter the currency rates in the Rates model.

1. In the EPM add-in, connect to your Rates model.

a) Close the Excel interface if it is open.

b) From the Admin Console launch area, choose Interface for Excel.

You are taken to the EPM - Connection Manager.

c) Choose Create.

Caution: Select the Version for the Microsoft Platform type.

Enter Server URL http://wd-flbmt7121:1080/sap/bpc/. (no dashes)

d) Choose Connect.

e) Enter your user ID and password to create the connection.

User ID Password

BPC-## training

f) Choose Logon.

g) Use the dropdown box to select your environment and model.

Environment Model

BPC410_## Planning

h) Choose Generate Connection Name.

i) Choose OK.

j) Select the Rate - BPC410_## connection and choose OK.

k) If prompted, enter your user ID and password to access yourenvironment and model.

User ID Password

BPC-## training

l) Choose Logon.

The EPM pane appears on the right.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 269

Page 284: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

2. Adjust the input form template Trend by Account.xltx to enter theaverage exchange rate. Place InputCurrency in the rows and select themembers USD and EUR. Use the following context:

Dimension Member

Category Plan

InputCurrency USD

R_Account AVG

R_Entity Global

Time 2010.TOTAL

Measures Periodic

Enter and save the following exchange rate for the period 2010.JAN:USD: 0.7EUR: 1

a) In the EPM ribbon, choose Open → Open Server Input Form Folder.

b) Go to Reports → Templates and open Trend by Account.xltx.

c) Click in the report on 2010.JAN.

d) Choose Edit Report.

e) On the Options tab, deselect Do Not Store Connection.

f) Go to the Layout tab.

g) In the Row Axis Dimensions area, right click R_Account and chooseRemove.

h) In the left Dimensions area, right click InputCurrency and chooseMoveto Row Axis.

i) In the Row Axis Dimensions area, choose InputCurrency to select themembers for this dimension.

j) Set your display to ID - Description.

k) Under Selected Members, use the left arrow button to remove theexisting members.

l) Under Dimension Members, select the members USD and EUR and usethe right arrow button to add the members to the Selected Members.

m) Choose OK twice.

n) In the report, delete the old rows below USD.

o) Choose Refresh → Refresh Workbook.

Continued on next page

270 © 2011 SAP AG. All rights reserved. 2011

Page 285: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Business Rules for Planning

. Your input form should appear as follows:

Figure 116: Input Form for Exchange Rates

p) Enter the rates as shown above for 2010.JAN.

q) Choose Save Data → Save Worksheet Data.

r) To send the data, choose Yes.

s) Choose OK.

t) Close the template.

u) Log off the Rates model.

v) Log on to the Planning model.

Task 3: Run the Currency ConversionIn your Planning model, run the currency conversion and check the results.

1. In the EPM add-in, connect to your Planning model and define the context asfollows:

Dimension Member

Account CP0001103

Activity NONE

Category Plan

CostCenter US

DataSource MANUAL

RptCurrency LC

Time 2010.JAN

Measures Periodic

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 271

Page 286: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Adjust the report template Dynamic Report with Subtotals- Accounts.xltx to display local currency and EUR currency in thecolumns.

a) In the EPM ribbon, choose Open → Open Server Report Folder.

b) Under Reports → Templates, open the Dynamic Report withSubtotals - Accounts.xltx.

c) Click in cell B10.

d) Choose Edit Report.

e) In the Column Axis Dimensions area, right click Time and chooseRemove.

f) In the left Dimensions area, right click RptCurrency and choose Moveto Column Axis.

g) In the Column Axis Dimensions area, click RptCurrency to select themembers for this dimension.

h) Under Selected Members, remove the existing members with the leftarrow.

i) Under Dimension Members, select LC and EUR.

j) Use the right arrow to move them to Selected Members.

k) Choose OK twice.

l) In the report, delete the old rows.

m) Choose Refresh → Refresh Workbook.

2. Run the currency conversion package for the following data region:

Dimension Member

Category Plan

CostCenter US

Time 2010.JAN

Continued on next page

272 © 2011 SAP AG. All rights reserved. 2011

Page 287: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Using Business Rules for Planning

Check the package status and the number of records created.

a) In the Data Manager ribbon, choose Run Package and select the FXRestatement package. Choose Run.

b) Select No, do not check work status settings. Choose Next.

c) Select the members as shown above. Choose Next. Choose Finish.

d) Choose View Status, and when required, choose Refresh to update thestatus of the package. When the status is Succeed, double-click thepackage to display the log. In the log, check the number of generatedrecords.

Choose Close three times.

3. Refresh the report to display the converted data.

a) In the EPM ribbon, choose Refresh. The data should appear as follows:

Figure 117: Currency Conversion Results

The value for Euro is calculated.

2011 © 2011 SAP AG. All rights reserved. 273

Page 288: SAP Bpc410 en Col96 Fv Part a4

Unit 4: Business Logic BPC410

Lesson Summary

You should now be able to:• Describe the different business rule types• Decide whether you would like to use a business rule in a planning scenario

274 © 2011 SAP AG. All rights reserved. 2011

Page 289: SAP Bpc410 en Col96 Fv Part a4

BPC410 Unit Summary

Unit SummaryYou should now be able to:• Explain when to use Excel formulas and EPM functions.• Use Excel formulas and EPM functions.• Use dimension member formulas to do on the fly calculations• Explain the pros and cons of using dimension member formulas• Run script logic files as data is imported or input into the model• Run script logic using Data Manager packages• Present the allocation engine• Create and run a logic for an allocation• Describe stored procedures• Use the logic debugger and logic assistant• Use advanced statements in logics• Describe the different business rule types• Decide whether you would like to use a business rule in a planning scenario

Related Information

2011 © 2011 SAP AG. All rights reserved. 275

Page 290: SAP Bpc410 en Col96 Fv Part a4

Unit Summary BPC410

276 © 2011 SAP AG. All rights reserved. 2011

Page 291: SAP Bpc410 en Col96 Fv Part a4
Page 292: SAP Bpc410 en Col96 Fv Part a4
Page 293: SAP Bpc410 en Col96 Fv Part a4

Unit 5Administration of Planning and

Consolidation

Unit OverviewThis unit covers the different features used in Planning and Consolidationadministration, like security, work status, and so on.

Unit ObjectivesAfter completing this unit, you will be able to:

• Explain the different security components• Define security parameters• Describe the work status concept• Set up and use work status• Create process templates• Execute processes• Run audit reports for processes• Explain the role of the journal template in a model• Discuss the journal security options• Describe the options for posting and reporting on journal entries• Create document types and document subtypes• Post a document• Present the different audit reports• Manage data audit• Set up drill-through for SQL and journal tables• Set up drill-through for any URL• Set up key performance indicators (KPIs)• Use the different types of analysis

Unit ContentsLesson: Maintaining Security .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .279

Exercise 17: Set Up Security .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .285

2011 © 2011 SAP AG. All rights reserved. 277

Page 294: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Lesson: Configuring Work Status ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .290Exercise 18: Limit Data Access Using Work Status ... . . . . . . . . . . . . . . . .297

Lesson: Designing Processes ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .304Exercise 19: Define and Run a Business Process Flow ... . . . . . . . . . . .313

Lesson: Setting Up Journals .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .329Exercise 20: Set Up Journals .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .337

Lesson: Creating Document Types for Web Access ... . . . . . . . . . . . . . . . . . . . .343Procedure: To Create Document Types and Document Subtypes...344Exercise 21: Create Document Types and Subtypes... . . . . . . . . . . . . . . .347

Lesson: Setting Up and Using Audits .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .351Lesson: Configuring Drill-Through... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .355

Procedure: How to Set Up and Run Drill-Through to Journal Tables 358Lesson: Setting Up Automated Variance Analysis .. . . . . . . . . . . . . . . . . . . . . . . .360

Procedure: How to Use Analysis .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .365Exercise 22: Set Up and Run Analysis .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .367

278 © 2011 SAP AG. All rights reserved. 2011

Page 295: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Security

Lesson: Maintaining Security

Lesson OverviewIn this lesson you will learn how to set up the security components

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Explain the different security components• Define security parameters

Business ExampleYou need to set up security parameters to control access to data and activitiesin the system.

The Four Components of Security

Figure 118: The Components of Security

You define security using the following components:

• Users• Teams: a group of users• Data Access Profiles: a set of models and dimension members the user can

access• Task Profiles: a set of functions the user can use

2011 © 2011 SAP AG. All rights reserved. 279

Page 296: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

UsersYou create users as follows, depending on your security infrastructure:

• You add Planning and Consolidation users by selecting available users in thedomain. The Planning and Consolidation user ID is preceded by the domainname (for example: EU\dsmith).

• You add Planning and Consolidation users from an existing Windows userID.

Note: In the Server Manager, administrators can specify the domains tobe used for Planning and Consolidation users.

TeamsA team is a group of users. When you create a team, you:

• Select existing users to be part of the team• Designate a team leader, who has special privileges. For example, the team

leader can save reports, input forms, conversion files, and transformationfiles in the team folder. The team leader can also manage packages in theteam folder.

• Assign the team to existing profiles. You can assign several data accessprofiles, but only one task profile to the team.

280 © 2011 SAP AG. All rights reserved. 2011

Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Page 297: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Security

Task ProfilesYou can assign one or more task profiles to users or teams. In the task profile, youdefine the functions that the assigned user can use. You select the tasks in thedifferent Planning and Consolidation interfaces:

• Administration• Analysis and Collection• Audit• Audit Reports• Automated Variance Analysis• Collaboration• Comments• Consolidations• Data Manager• Folder Access• Journal• Management Console• Processes• Publish• System Security• Web Reporting• Work Status

Note: When you create a task profile, you can copy the definition of anexisting profile.

Data Access ProfilesA data access profile determines the models and dimension members that a useror a team can access. Only the Secure dimension is available in the data accessprofile definition. You define the Secure dimension when you modify a model.

2011 © 2011 SAP AG. All rights reserved. 281

Administrator
椭圆
Page 298: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Figure 119: Secure Dimensions

In every model, you can define the following access for dimension members:

• Read & Write• Read Only• Denied

Figure 120: Data Access Profile

Security Principles

• Task profiles are cumulativeWhen a user is assigned to several task profiles (directly or through a team), all the

tasks included in the assigned profiles are granted.• User assignments have priority over team assignments.• Conflicting data access definition

If a user has conflicting member access profiles, the user is granted the lessrestrictive access.Example: If a user has read only access to the plan data in a profile, andwrite access to plan data in another profile, then the user has read and writeaccess to plan data.

• A member assignment has priority over a hierarchy node assignment

282 © 2011 SAP AG. All rights reserved. 2011

Administrator
椭圆
Page 299: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Security

The Best Practices for SecuritySome best practices are described below:

• Assign profiles using teams where possible, to make security maintenanceeasier.

• When nearly all users have access to completely different members, assignthe data access profile directly to the users.

• Create at least one task profile for users and one for administrators.• As a starting point, apply the simplest design possible.

2011 © 2011 SAP AG. All rights reserved. 283

Page 300: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

284 © 2011 SAP AG. All rights reserved. 2011

Page 301: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Security

Exercise 17: Set Up Security

Exercise ObjectivesAfter completing this exercise, you will be able to:• Define security and grant access to users using data access profiles, task

profiles, and teams.

Business ExampleIn your model, you need to grant access for the planners.

Task:Define access profiles and teams for the planners. Planners are using reports andinput forms. They input plan data and analyze actual data.You perform this exercise using your Planning model.

1. Create a task profile named Input with the task Use Input Formsand Save Data.

2. Create a data access profile named Plan with the following access:Read & Write access for plan dataRead only access for actual dataRead access for all cost centers

3. Create a team named Planners and assign the data access profile and thetask profile that you created before to the team. Include the user bpcadminin the team and designate it as the team leader.

2011 © 2011 SAP AG. All rights reserved. 285

Page 302: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Solution 17: Set Up SecurityTask:Define access profiles and teams for the planners. Planners are using reports andinput forms. They input plan data and analyze actual data.You perform this exercise using your Planning model.

1. Create a task profile named Input with the task Use Input Formsand Save Data.

a) In the Planning and Consolidation Administration, choose Security→ Task Profiles.

b) In the action pane, choose Add New Task Profile.

c) Enter the name and description of Input.

d) Choose Next.

e) Under Available Interface Tasks, choose the Analysis and Collectioninterface.

f) Choose Use Input Forms and Save Data and click the right arrow.

Now it appears under Selected Interface Tasks.

g) Choose Next.

h) Choose Next and Apply to save the profile.

i) Choose OK.

2. Create a data access profile named Plan with the following access:Read & Write access for plan dataRead only access for actual data

Continued on next page

286 © 2011 SAP AG. All rights reserved. 2011

Page 303: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Security

Read access for all cost centers

a) Choose Security → Data Access Profiles.

b) In the action pane, choose Add New Data Access Profile.

c) Enter a name and description of Budget_Data.

d) Choose Next.

The system displays the Access tab.

e) On the Planning tab, set up the following access:Read & Write access for plan dataRead only access for actual dataRead access for all cost centers (you select All Members in Dimensionin the Member Selector).

Figure 121: Data Access Profile

f) Choose Next.

The system displays the User assignment tab.

g) Choose Next and Apply to save the profile.

h) Choose OK.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 287

Page 304: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

3. Create a team named Planners and assign the data access profile and thetask profile that you created before to the team. Include the user bpcadminin the team and designate it as the team leader.

a) Choose Teams.

b) In the action pane, choose Add New Team. Enter the name anddescription Planners, and choose Next.

c) Select the bpcadmin user and choose the right arrow to add it to theteam. Choose Next.

d) Select the Input task profile, and select the Enable checkbox for theBudget_Data data access profile.

e) Choose Next and Apply to save the team.

f) Choose OK.

288 © 2011 SAP AG. All rights reserved. 2011

Page 305: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Maintaining Security

Lesson Summary

You should now be able to:• Explain the different security components• Define security parameters

2011 © 2011 SAP AG. All rights reserved. 289

Page 306: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Lesson: Configuring Work Status

Lesson OverviewIn this lesson you will learn how to use work status to control data access

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Describe the work status concept• Set up and use work status

Business ExampleDuring the planning process, you need to trace the process status by assigninga work status to data. You also want to run a submission / approval workflowacross users. Once the process is completed, you need to prevent any changes tothe planning data.

Reasons to Use Work StatusYou use the work status for the following requirements:

• To prevent data update and assign data a status such as “in process”,“submitted,” “rejected”, “approved”, or “locked”.

• Users must be able to submit a set of data, and the person responsible mustbe able to reject or approve data.

• The status must be capable to behaving differently depending on thefunctions used to update data (load data, input data, post journal, and so on).

290 © 2011 SAP AG. All rights reserved. 2011

Page 307: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Work Status

Work Status ComponentsWhen you set up work status, you define the following:

• Work state: the different status the data can be assigned to, such as,submitted, rejected, approved, and so on.

• Security level: who can update the data for the work status, and who canchange the work status?

• Data update functions: which functions can be used to update data (inputform, data load, journals, and so on)?

• The relevant dimensions for the work status setting: you typically selectcategory, time, and entity.

Note: The work status definition includes settings at environment leveland model level.

Environment Work Status

Figure 122: Environment Work Status Settings

In the environment, you define the following:

• Work state: the different status that can be assigned to data.Example: Unlocked, Submitted, Approved, Rejected

• Security level: you define who (the manager, the owner, or both) can updatedata using the following:

– Data Manager– Journal– Manual Input– Comment– Document

• Controlled by: you define who (the manager, the owner, or both) can changethe work status.

2011 © 2011 SAP AG. All rights reserved. 291

Administrator
线条
Administrator
线条
Administrator
椭圆
Administrator
椭圆
Administrator
椭圆
Administrator
线条
Page 308: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Model the Work Status Dimensions

Figure 123: Model Work Status Settings

You define the following for each dimension in your model:

• Work state: you define if the dimension is used for the work status setting.The following options are available:

– Yes: the work status will be set for members in this dimension. Youmust select from 3 to 5 lock dimensions (one being selected using theowner property). The account type dimension cannot be selected.Example: You typically select category and time.

– No: the dimension is not relevant for the work status setting– Owner: defines the driver dimension for the work status setting. The

owner property determines who can change the work status and updatethe data.Example: The entity dimension is typically the driver dimension for thework status. The owner property is therefore required.

• Member Validation: used in conjunction with the validation rules, todetermine which data region stored on a validation account must equal zeroto allow the work status change.Example: To allow the work status change, you define that the validationaccount must be zero for the input data source in local currency.

• Base Hierarchy: You enter a number which identifies the hierarchy. Only theparent members included in this hierarchy can be used to set the work status.

292 © 2011 SAP AG. All rights reserved. 2011

Administrator
椭圆
Administrator
椭圆
Administrator
椭圆
Administrator
线条
Administrator
线条
Administrator
高亮
Administrator
高亮
Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Page 309: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Work Status

Using the Owner Property

• The driver dimension must contain an owner property.• You enter one or more user IDs in the owner property, separated by a comma.• You enter the complete name, including the domain or server name (for

example: EU\dsmith).• The driver dimension must contain at least one hierarchy.• If the driver dimension contains more than one hierarchy, you identify the

relevant hierarchy for work status in the model parameter APPROVALORG.

The driver dimension must contain the owner property that contains the user ID.

The owner of the parent member is the manager of the corresponding basemembers.

Owner Property in the Entity Dimension

ID Description Parenth1 Owner

C100 France EU CMartin

C200 Belgium EU SBels

EU Europe EMEA DSmith

• C. Martin is the owner of C100• S. Bels is the owner of C200• DSmith is the manager of C100 and C200

Example: For entity C100, only CMartin can set the workstatus to Submittedbutonly DSmith can set the workstatus to Approved.

Setting the Hierarchy in the Model ParametersYou select the hierarchy for the driver dimension in the following ModelParameter:

Figure 124: Setting the Hierarchy in the Model Parameters

2011 © 2011 SAP AG. All rights reserved. 293

Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Administrator
线条
Page 310: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Changing the Work StatusYou change the work status from the EPM Add-In. When you change the workstatus, you:

• Must define the data region by selecting members for the works statedimensions

• Can include descendants members for the driver dimension• Select the next work status or the previous work status for which you are hte

owner or the manger

Figure 125: Changing the Work Status

The default method for managing work status is bottom-up. The status of a parentmember cannot be higher that the lowest status of its base members.

Caution: To change the work status, you need the security task Use WorkStatus in your task profile.

Note: You can set the works status method to topdown by defining theTOPDOWN model parameter.

294 © 2011 SAP AG. All rights reserved. 2011

Administrator
线条
Page 311: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Work Status

Email for work status options

Work Status in EPM Input Forms and ReportsIn the input forms and reports, you can use the EPMWorkStatus formula to displaythe work status for the selected members. You can display the following worksstatus details:

• Status• User who set the status• Time when the status was set

Figure 126: EPMWorkStatus Function

2011 © 2011 SAP AG. All rights reserved. 295

Page 312: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

296 © 2011 SAP AG. All rights reserved. 2011

Page 313: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Work Status

Exercise 18: Limit Data Access UsingWork Status

Exercise ObjectivesAfter completing this exercise, you will be able to:• Configure the work status• Change the work status to lock data• Display the work status in reports

Business ExampleIn the planning process, you need to assign a status to the data input by theplanners. This status must prevent any data changes.

Task:Configure the work status for your planning model. Once the work status is set toSubmitted, the data must be locked for the owner of the cost center.

1. Review the work status settings in the environment, and check the following:

All users can change data when the status is Unlocked.

The owner cannot change data using Manual Input when the status isSubmitted.

2. Define the owner property for the CostCenter dimension, and define youruser as the owner for the US cost center.

3. After running the connection wizard, configure the work status in yourplanning model as follows:

CostCenter is the driver dimension since it contains the owner property.

Category and Time dimensions are also used for work status.

Validation must check the following members of the remaining dimensions:Activity=NONE, Account=VALIDATION, Datasource=INPUT,Currency=LC

4. In the Excel interface, open the Allocation.xlsx input form for thefollowing context:

Dimension ID

Account CP0001103

Activity NONE

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 297

Page 314: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Dimension ID

Category Actual

CostCenter US

DataSource MANUAL

RptCurrency LC

Time 2010.JAN

Measure Periodic

Change the work status to Submitted and then to Approved. Check that thedata is locked by changing and sending data.

298 © 2011 SAP AG. All rights reserved. 2011

Page 315: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Work Status

Solution 18: Limit Data Access UsingWork StatusTask:Configure the work status for your planning model. Once the work status is set toSubmitted, the data must be locked for the owner of the cost center.

1. Review the work status settings in the environment, and check the following:

All users can change data when the status is Unlocked.

The owner cannot change data using Manual Input when the status isSubmitted.

a) In the Admin Console for your BPC410_## environment, choose WorkStatus.

Confirm the following entries:

WorkState

DataMan-ager

Jour-nal

Man-ual In-put

Com-ment

Docu-ment

Con-trolledBy

Un-locked

All All All All All Both

Sub-mitted

Locked Mgr Mgr All All Owner

Ap-proved

Locked Locked Locked All All Mgr

2. Define the owner property for the CostCenter dimension, and define youruser as the owner for the US cost center.

a) In the Admin Console, open the dimension library and chooseCostCenter.

b) Choose Maintain Dimension Property.

c) On the blank new line, enter OWNER for the name of the property, and50 for the length.

d) Leave InApp unselected.

e) Choose Modify Dimension Property.

f) Choose OK.

g) Choose CostCenter.

h) In the action pane, choose Maintain Dimension Members.Continued on next page

2011 © 2011 SAP AG. All rights reserved. 299

Page 316: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

i) In the Owner property of all members (row 1 through 28), enter youruser ID as follows: wdflbmt7121\bpc-##

j) Choose Process Dimension.

k) Deselect Take System Offline.

l) Choose OK twice.

3. After running the connection wizard, configure the work status in yourplanning model as follows:

CostCenter is the driver dimension since it contains the owner property.

Category and Time dimensions are also used for work status.

Validation must check the following members of the remaining dimensions:Activity=NONE, Account=VALIDATION, Datasource=INPUT,Currency=LC

a) In the Admin Console, choose your environment ID BPC410_## onthe upper right.

The SAP BusinessObjects dialog appears.

b) Choose Connection Wizard → Next → Next → Next → Finish → OK.

The system is now refreshed and the new owner property will berecognized.

c) In your Planning model, choose Work Status Settings and define thesettings as follows:

EnvironmentDimension

WorkState

MemberValidation

Base Hierarchy

Activity No NONE

Account No VALIDATION

DataSource No INPUT

Category Yes 1

CostCenter Owner 1

RptCurrency No LC

Time Yes 1

d) Choose Save Work Status Settings → OK.

4. In the Excel interface, open the Allocation.xlsx input form for thefollowing context:

Continued on next page

300 © 2011 SAP AG. All rights reserved. 2011

Page 317: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Work Status

Dimension ID

Account CP0001103

Activity NONE

Category Actual

CostCenter US

DataSource MANUAL

RptCurrency LC

Time 2010.JAN

Measure Periodic

Change the work status to Submitted and then to Approved. Check that thedata is locked by changing and sending data.

a) In the EPM add-in, set the context according to the table above.

b) Choose Open → Open Server Input Form Folder.

Select the Allocation.xlsx file and choose Open.

c) On the EPM tab, choose Save Data → Change Work Status.

The EPM - Change Work Status dialog appears with the statusUnlocked.

d) Make the following selections:

Cost Center US

Category Actual

Time 2010.JAN

New Status Submitted

Choose Apply.

The EPM - Change Work Status dialog appears. The work status hasbeen changed to Submitted.

e) Choose Approved as the New Status.

f) Choose Apply.

g) Choose OK.

h) Enter 200 for Intercompany Sales and US.

i) Choose Send.

j) Choose Yes to confirm.Continued on next page

2011 © 2011 SAP AG. All rights reserved. 301

Page 318: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

The Save Results dialog appears.

Figure 127: Work Status - Message

k) Choose OK.

l) On the EPM tab, choose Save Data → Change Work Status.

The EPM - Change Work Status dialog appears with the statusApproved.

m) Choose Submitted as the New Status.

n) Choose Apply.

o) Choose OK.

302 © 2011 SAP AG. All rights reserved. 2011

Page 319: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Work Status

Lesson Summary

You should now be able to:• Describe the work status concept• Set up and use work status

2011 © 2011 SAP AG. All rights reserved. 303

Page 320: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Lesson: Designing Processes

Lesson OverviewIn this lesson you will learn how to configure a business process, and how toexecute it.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Create process templates• Execute processes• Run audit reports for processes

Business ExampleYour planning process includes a number of tasks to be performed by the planners.You want to structure this process in Planning and Consolidation to make theplanners' daily work easier.

The Business Scenario for ProcessesYou define processes to structure the tasks to be executed in a business process,such as monthly reporting or the annual budget. Users execute processes fromthe Web client. They are guided through the different Planning and Consolidationinterfaces, and do not need to think about specific files or packages, since these aredefined in the Process setting. Processes can also be defined across models; usersdo not need to select the relevant model while they work.

304 © 2011 SAP AG. All rights reserved. 2011

Page 321: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

Figure 128: Example of Planning Process

• Pros

– Helps with coordination– Web -based user interface– Status and tracking– Guided navigation across interfaces and models– e-mail notification– Steps can be reopened– Steps can be reviewed by higher authorities– Work status integration

• Cons

– Has to be configured and maintained– Users cannot be forced to use processes

2011 © 2011 SAP AG. All rights reserved. 305

Page 322: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

The Structure of a ProcessWhen you create processes, you define the following:

• The Controlling model. This model defines which Time dimension must beused when executing the process. This setting is important when a process isexecuted across different models defined with different time dimensions.

• The process context, composed of the following:

– The Drive dimension. This dimension must exist in all models. Itcontrols the execution of the process by defining the user who canreview a process step. The Drive dimension is typically an Entity typedimension.

– The Identity dimension. You can select dimensions to identify theprocess. The Time dimension is selected by default.

• The Timing. You define the activation date and time. You can also plane-mail notification to the users.

• The Access. You select the users or team who can run the process.

Caution: A property named REVIEWER is required for the Drivedimension. This property stores the name of the user who will review thesteps for each member of the Entity type dimension.

Figure 129: Process Template

306 © 2011 SAP AG. All rights reserved. 2011

Administrator
线条
Page 323: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

Figure 130: Process Context

To structure the process, you define steps with the following settings:

• Step or substep: A step can include one or more substeps. In this case, youassign the actions to be performed to the substeps.

• Reviewers: You can enable specific users to review the step. You can alsodefine the action the reviewer must perform. For example, they must run areport to check the figures before they complete the step. Reviewers can benotified by e-mail when a step is completed.

• Completion criteria: You can connect the work status to the process step.Consequently, the specified work status must be assigned to the dimensionmembers before the step is set to be completed.

• Allow reopen: You can allow the user to reopen a completed step. This ispossible only if the next step has not been completed.

2011 © 2011 SAP AG. All rights reserved. 307

Administrator
线条
Administrator
线条
Administrator
线条
Page 324: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Figure 131: Process Steps

For each step or substep, you define the actions to be performed by the user:

• Default action: A default action is created from the step name. You canchange the name, and define the task to perform using the different interfaces(Excel, Data Manager, Consolidation, and so on).

• Additional actions: You can define additional actions for the step. Forexample, you define an additional action to open a report to check theallocated amount resulting from the default action of the step. The availableinterfaces of the additional actions depend on the interface defined in thedefault action.

308 © 2011 SAP AG. All rights reserved. 2011

Page 325: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

Figure 132: Definition of Actions

Caution: When you create a new process template, you need to enablethis process template for users in the last step of the definition, otherwisethe user cannot run this process.

Running a ProcessYou run a process from the Web client. You need to select the process and thecontext before you open it.

Figure 133: Opening a Process

2011 © 2011 SAP AG. All rights reserved. 309

Administrator
椭圆
Page 326: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Figure 134: Running a Process

On the Process tab, you can:

• see the process steps status• run the actions of each step• reset the step status

Note: When a process step guides you to the EPM add-in, the EPM paneshows you the step information and actions.

Figure 135: Process Actions in the EPM Pane

310 © 2011 SAP AG. All rights reserved. 2011

Page 327: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

Managing a Process TemplateOnce you have created a process, you can do the following:

• Modify the process template. When you save your changes, the existinginstances of the process are removed.

• Copy the process template. You typically save the template as an existingprocess template and adjust the copy to the new requirements.

• Manage the process template: you can reset or remove instances for theprocess template

Process Security TasksThe following security tasks are available:

• Manage processes• Remove process instances• Reopen process steps• Reset process instances• Use processes

Process Flow e-mailsWhen you enable reviewers in a process step, you can automate the sending of ane-mail to the reviewers when the step is completed. You can change the defaulttext of the e-mail, which includes text variables.

Figure 136: E-mails to Reviewers

Process ReportsThe following audit reports can be used to analyze processes:

2011 © 2011 SAP AG. All rights reserved. 311

Page 328: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Process Reports

Report Description

Process Details Steps, status, and actions for active and completedprocesses

Process Overview Statuses of steps for active and completed processes

Process Operations Details of operations performed in steps for active andcompleted processes

Note: You run the audit report from the Web client.

312 © 2011 SAP AG. All rights reserved. 2011

Page 329: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

Exercise 19: Define and Run a BusinessProcess Flow

Exercise ObjectivesAfter completing this exercise, you will be able to:• Configure a process• Run a process from the Web client• Run audit reports to check the process status

Business ExampleYou want to structure your planning process to guide the planners through thedifferent tasks required. You also need to check the process status.

Task 1: Define a Process TemplateIn the Admin Console, define a process for the user to load data from a file, inputplan data manually, and set the work status.

1. In the CostCenter dimension, add a property named REVIEWER, with alength of 50.

2. Assign the e-mail address bpc-##@corporate.com to your userBPC-##.

3. Create a new process named Planning as follows:The controlling model is the Planning model.The process template owner is BPC-##.The Drive dimension is CostCenter.The Identity dimensions are Category and Time.Keep the activation date and time unchanged, and deselect EnableNotification.Set the access to the Admin Team.

4. Create step 1.Use the name and instruction: Load Data. Allow reopening.

5. Create Step 2

Use the name and instruction: Manual Planning and Review.

Enable reviewers.

The review action consists of running the input form Dynamic Reportwith Subtotals- Accounts.xltx for the following context:Account: TOTREVActivity: NONE

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 313

Page 330: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Category: Driven by ProcessCostCenter: Driven by ProcessDataSource: MANUALRptCurrency: LCTime: Driven by Process

6. Create step 3.

Use the name and instruction: Submit Data. Enable completion criteria.The work status must be set to Submitted to complete this step.

7. Define the following actions for step 1:Step 1. Load Data: In this step, the user loads a file to the server and importsthe data from this file.

8. Define the following actions for step 2:Step 2. Manual planning and review: In this step, the user checks theresults by running the EPM input form Trend by Account.xlts forthe following context:Account: TOTREVActivity: NONEDataSource: MANUALRptCurrency: LC

9. Define the following actions for step 3:Step 3. Set Work Status.

10. Enable and save the process template.

Task 2: Run a Process TemplateIn the Web client, open the Planning process and complete the tasks.

1. Open the Planning process for the following context as follows:Category: PlanCostCenter: USTime: 2010.TOTAL

2. Since the data has already been imported, complete Step 1. Load Data. Thentest the reopen feature.

3. Run Step 2. Manual Planning and Review. Complete and approve the step.Ensure that the process action is displayed in the right-hand pane beforeyou approve the step.

4. Try to complete the Set Work Status step.

Since this step requires the work status to be set to Submitted, you shouldsee an error message.

Set the work status accordingly, and then complete the step.

Continued on next page

314 © 2011 SAP AG. All rights reserved. 2011

Page 331: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

Task 3: Run Audit Reports for ProcessesUse audit reports to check the status of the planning process.

1. Run the audit reports Process Details and Process Overview to analyze theprogress of the planning process.

2011 © 2011 SAP AG. All rights reserved. 315

Page 332: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Solution 19: Define and Run a BusinessProcess FlowTask 1: Define a Process TemplateIn the Admin Console, define a process for the user to load data from a file, inputplan data manually, and set the work status.

1. In the CostCenter dimension, add a property named REVIEWER, with alength of 50.

a) In the Admin Console, choose Dimension Library → CostCenter, andin the action pane, choose Maintain Dimension Property.

b) On the first blank line, enter the Property Name REVIEWER, and inthe Length field, enter 50.

c) In the action pane, choose Modify Dimension Property.

d) Choose CostCenter again.

e) In the action pane, choose Maintain Dimension Members.

f) In the Reviewer property of all members (row 1 through 28), enter youruser ID as follows: wdflbmt7121\bpc-##

g) Choose Process Dimension.

h) Deselect Take System Offline.

i) Choose OK twice.

2. Assign the e-mail address bpc-##@corporate.com to your userBPC-##.

a) Choose Security → Users → wdflbmt7121 → bpc-##, and in the actionpane, choose Modify User.

b) In the e-mail field, enter the address [email protected],choose Next twice, and then Apply to save your changes.

3. Create a new process named Planning as follows:The controlling model is the Planning model.The process template owner is BPC-##.The Drive dimension is CostCenter.The Identity dimensions are Category and Time.Keep the activation date and time unchanged, and deselect EnableNotification.Set the access to the Admin Team.

Continued on next page

316 © 2011 SAP AG. All rights reserved. 2011

Page 333: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

a) In the Admin Console, select Processes, and in the action pane, chooseAdd a New Process Template. Enter the following in the A. DefineProcess Template section:

Process Template Name Planning

Process Template Description Planning

What is the Controlling Model? Planning

Process Template Owner BPC-##

Figure 137: Set Up BPF

b) Choose B. Define Process Context.

c) Enter the following in the B. Define Process Context section:

Drive Dimension CostCenter

Identity Dimension Category

d) Choose C. Define Timing.

e) Choose D. Set Access.

f) Use the right arrow to add the Admin Team to Selected.

g) Choose Next (N) >.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 317

Page 334: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

4. Create step 1.Use the name and instruction: Load Data. Allow reopening.

a) In 2. Setup Steps / Sub-Steps of the wizard, choose Add.... Choose Adda New Process Step and make your selections as follows:

Name Load Data

Instruction Load Data

Allow Reopen Yes

Enable Completion Criteria No

Enable Reviewers No

Figure 138: Load Data Step

b) Choose OK to close the window.

5. Create Step 2

Use the name and instruction: Manual Planning and Review.

Enable reviewers.

The review action consists of running the input form Dynamic Reportwith Subtotals- Accounts.xltx for the following context:Account: TOTREVActivity: NONE

Continued on next page

318 © 2011 SAP AG. All rights reserved. 2011

Page 335: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

Category: Driven by ProcessCostCenter: Driven by ProcessDataSource: MANUALRptCurrency: LCTime: Driven by Process

a) Choose Add.... Choose Add a New Process Step, and make yourselections as shown below:

Name Manual Planning and Review

Instruction Manual Planning and Review

Allow Reopen No

Enable CompletionCriteria

No

Enable Reviewers Yes

b) Choose Set/modify custom review actions to add an action to beperformed by the reviewers.

c) Choose Add... to add an action with the name Run PlanningReport.

d) Select the Planning model.

e) Choose Interface: Microsoft Excel.

f) Choose Task: Open specific report.

g) Choose Browse to select the file Dynamic Report withSubtotals - Accounts

h) Define the context as shown below.

Dimension Context Type Member

Account Specify a Member TOTREV

Activity Specify a Member NONE

Category Driven by Process

CostCenter Driven by Process

DataSource Specify a Member MANUAL

RptCurrency Specify a Member LC

Time Driven by Process

i) Choose OK twice.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 319

Page 336: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

6. Create step 3.

Use the name and instruction: Submit Data. Enable completion criteria.The work status must be set to Submitted to complete this step.

a) Choose Add.... Choose Add a New Process Step, and make yourselections as shown below:

Name Submit Data

Instruction Submit Data

Allow Reopen No

Enable CompletionCriteria

Yes

Enable Reviewers No

b) Define the process context as follows:

Dimension Context Type

Category Driven by Process

CostCenter Driven by Process

Time Driven by Process

c) Under Work Status, select Submitted.

d) Choose OK.

e) Choose Next (N) > .

7. Define the following actions for step 1:

Continued on next page

320 © 2011 SAP AG. All rights reserved. 2011

Page 337: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

Step 1. Load Data: In this step, the user loads a file to the server and importsthe data from this file.

a) In 3. Define Action, choose Step 1. Load Data.

b) Choose Modify, and change the name of the default action to Loadfile.

c) Choose Interface: Data Manager.

d) Choose Task: Data upload.

e) Choose Add....

f) Enter Import file.

g) Choose OK.

h) Choose Interface: Data Manager.

i) Choose Task: Run user package.

Figure 139: Load Data Action

8. Define the following actions for step 2:Step 2. Manual planning and review: In this step, the user checks theresults by running the EPM input form Trend by Account.xlts forthe following context:Account: TOTREVActivity: NONEDataSource: MANUAL

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 321

Page 338: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

RptCurrency: LC

a) Choose Step 2. Manual planning and review.

b) Choose Modify and enter Manual Planning.

c) Choose OK.

d) Choose Interface: Microsoft Excel.

e) Choose Task: Open specific input form.

f) Choose Browse to select the Trend by Account.xltx file.

g) Define the context as shown below.

Dimension Context Type Member

Account Specify a Member TOTREV

Activity Specify a Member NONE

Category Driven by Process

CostCenter Driven by Process

DataSource Specify a Member MANUAL

RptCurrency Specify a Member LC

Time Driven by Process

9. Define the following actions for step 3:Step 3. Set Work Status.

a) Choose Step 3. Set Work Status

b) Choose Interface: Work Status & Comments.

c) Choose Task: Set Work Status.

d) Define the context as shown below.

Note: Only the Entity, Category, and Time type dimensionsneed to be specified since they are work state dimensions.

Dimension Context Type Member

Category Driven by Process

CostCenter Driven by Process

Time Driven by Process

e) Choose Next (N) >.

Continued on next page

322 © 2011 SAP AG. All rights reserved. 2011

Administrator
椭圆
Page 339: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

10. Enable and save the process template.

a) In 4. Finish, select Enable this process template for users.

b) Choose Close.

When the prompt to save appears, choose Yes.

c) Choose OK.

Task 2: Run a Process TemplateIn the Web client, open the Planning process and complete the tasks.

1. Open the Planning process for the following context as follows:Category: PlanCostCenter: USTime: 2010.TOTAL

a) In the Admin Console, under Launch, choose Web Client.

b) Enter your user and password:

User ID Password

BPC-## training

c) Choose OK.

d) On the Start Page, choose Processes.

The Processes workspace opens.

e) Under 2 - Select Process Content, select Plan, US, and 2010.TOTAL.

Figure 140: Select Process Content

f) Choose Open Process.Continued on next page

2011 © 2011 SAP AG. All rights reserved. 323

Page 340: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Caution: If your process does not appear in a few seconds,make sure you are logged on as the same user as the CostCenterOwner property.

Figure 141: Published Process Steps

Continued on next page

324 © 2011 SAP AG. All rights reserved. 2011

Page 341: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

2. Since the data has already been imported, complete Step 1. Load Data. Thentest the reopen feature.

a) Next to Step 1. Load Data, choose Complete.

The Reopen this Step icon appears on the right.

b) Choose Reopen this Step.

The Reopen this step dialog appears.

c) Choose Yes.

The status changes to Reopen.

d) Choose Load Data to run the step. Enter your user and password:

User ID Password

BPC-## training

This opens the Excel add-in and prompts you to load a file.

e) Choose Cancel, and check that both the Load File and Import Fileactions are available in the Business Process Flow pane.

Figure 142: The BPF Pane in Excel

f) Choose the Planning and ConsolidationWeb session.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 325

Page 342: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

3. Run Step 2. Manual Planning and Review. Complete and approve the step.Ensure that the process action is displayed in the right-hand pane beforeyou approve the step.

a) Choose Manual Planning and Review to run the step. Enter your userand password:

User ID Password

BPC-## training

The input form opens.

b) Left click cell C12.

c) On the EPM tab, choose Refresh.

The input form is refreshed.

d) Choose the Planning and ConsolidationWeb session.

e) Next to Step 2 - Manual Planning and Review, choose Complete.

The Approve and Reject buttons appear.

The process actions pane appears on the right.

f) Approve the step.

The step is now completed.

4. Try to complete the Set Work Status step.

Since this step requires the work status to be set to Submitted, you shouldsee an error message.

Set the work status accordingly, and then complete the step.

a) Choose Complete for Step 3. Set Work Status.

In the message tray under Planning, you receive an error messagebecause the proper work status is not set.

b) Choose Set Work Status.

c) Next to New Status, choose Submitted.

d) Choose Apply and Close.

e) Choose Complete.

The step is now completed.

Continued on next page

326 © 2011 SAP AG. All rights reserved. 2011

Page 343: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Designing Processes

Task 3: Run Audit Reports for ProcessesUse audit reports to check the status of the planning process.

1. Run the audit reports Process Details and Process Overview to analyze theprogress of the planning process.

a) In the Web client, choose Audit → Process Details.

b) Choose Display Report.

You can see the status for all steps for each instance on the Audit -Process Details tab.

c) Close the Audit - Process Details tab.

d) Choose Process Overview.

e) Choose Display Report.

You can see the status for all instances on the Audit - Process Overviewtab.

f) Close the Audit - Process Overview tab.

2011 © 2011 SAP AG. All rights reserved. 327

Page 344: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Lesson Summary

You should now be able to:• Create process templates• Execute processes• Run audit reports for processes

328 © 2011 SAP AG. All rights reserved. 2011

Page 345: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Journals

Lesson: Setting Up Journals

Lesson OverviewIn this lesson you will learn how to create journal templates and create journalentries.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Explain the role of the journal template in a model• Discuss the journal security options• Describe the options for posting and reporting on journal entries

Business ExampleAfter you have collected data using file import or manual input, you need to maketop adjustments to the existing data. Each of these adjustments must be storedseparately and identified by an ID, because you need to trace them for auditpurposes. You need to configure the journal feature for this requirement.

Business Scenarios for JournalsThe use of journals typically depends on the business process.

Using Journals

BusinessProcesses

Usage Examples

Consolidation High Correct local data when correction in thesource system is not possibleAdjust local data to group accountingstandardsManual intercompany elimination

ManagementReporting

Medium Correct local dataAdjust data to management requirements

Planning Low Adjust data to management requirementsOther required modifications

2011 © 2011 SAP AG. All rights reserved. 329

Page 346: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Journal Data StorageThe values you post in journals are stored in the model like the other data. Inaddition, journals are stored on separate tables, with specific IDs that allow thedetails from all journals to be kept. Journals are also posted on specific membersof the Audit type dimension.

Example of journals

Time Entity Account Audit JournalID

Values

2011.DEC ABC SALES INPUT 100

2011.DEC ABC SALES ADJUSTMENT 1 20

2011.DEC ABC SALES ADJUSTMENT 2 10

2011.DEC ABC SALES ADJUSTMENT 3 -5

In EPM reports or Web reports, the data can be analyzed by audit, but not byjournal ID. This is because the journal ID is not stored in the model.

Journal Data in EPM and Web Reports

Entity Sales INPUT ADJUSTMENT

ABC SALES 100 25

Specific journal reports can be used to list journals, using all the details in thejournal tables.

Journals Reports

PostingDate

User Time Jour-nal ID

Entity Ac-count

Audit Values

05/01/2012DSmith 2011.DEC1 ABC SALES AD-JUST-MENT

20

08/01/2012Dsmith 2011.DEC2 ABC SALES AD-JUST-MENT

10

10/01/2012JConaly 2011.DEC3 ABC SALES AD-JUST-MENT

-5

330 © 2011 SAP AG. All rights reserved. 2011

Administrator
线条
Page 347: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Journals

Journal TemplateTo post journals, you first need to set up the journal template. The journal templatedefines the layout for posting journals. In the journal template, you define thefollowing:

• The dimensions to be included in the header. You typically select Category,Time, Audit, and Currency.

• the sequence of the remaining dimensions in the detail lines.• Additional header fields. These fields are used for information only. For

example, you create a Reason field with the following values: Auditor'sadjustments, Late corrections, and Management decision.

Journal SecurityThe following security tasks are available for the journal functions:

• Edit Journals• Lock Journals• Unlock Journals• Manage Journals• Post Journals• Reopen Journals• Unpost Journals• View Journals

Using Work Status to Control JournalsYou can use the work status feature to allow the user to post journals when thedata is already submitted. Combining work status with journal security enablescollaboration scenarios like the following:

• Status UNLOCKED: User A can import data or input data manually.• Status SUBMITTED: User A can only input journals to adjust existing data,

but cannot post them.Only user B can post the journals after review.

• Status APPROVED: User A and user B cannot input or post journals.

Restricting Audit MembersYou can limit the use of journals to certain members of the Audit type dimension.You do this by using the ENABLEJRN property for which you set the value to Y.

2011 © 2011 SAP AG. All rights reserved. 331

Page 348: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Audit Members and the ENABLEJRN Property

ID EVDescription ParentH1 ENABLE-JRN

INPUT Input Local

ADJUST Adjustment Local Y

LOCAL Local values Total

CORRECT Central corrections Total Y

ELIM Eliminations Total

TOTAL Total

Saving and Posting OptionsYou process journals using the Web client. When you enter a journal, you can:

• Save the journal: the journal is saved, but the amounts are not visible inreports. When you save, a unique ID is given to the journal. You can stillmodify the journal, or even delete it.

• Post the journal: the journal is saved and posted and the amounts are visiblein reports. The journal cannot be modified.

• Unpost the journal: the corresponding amounts are cleared and not visible inreports. The journal can be modified, deleted, or posted again.

Note: You can also copy journals to a different data region.

Creating a Multi Posting Journal EntryYou use this feature to post a single journal entry to multiple dimension members.Two options are available:

• Multiple Headers: The journal is posted to the selected members.Example: A journal must be posted to two different categories: budget and

forecast.• Multiple Values: Additional columns are available to enter values for the

selected members.Example: A journal must be repeated on different periods, but the amountsare not the same for each period.

332 © 2011 SAP AG. All rights reserved. 2011

Administrator
线条
Page 349: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Journals

Figure 143: Multi Posting Using Multiple Headers and Multiple Values

Journal ReportingYou use the report to display or print a selection of journals. You can filter thejournals using the context, or by using an Advanced Query.

Note: In the report, you can hide some of the detail columns.

Journal Validation RulesYou define journal validation rules to prevent incorrect member combinationsacross dimensions. For example, you want to limit the members of the Activitydimension depending on the cost center. If the journal includes an incorrectcombination, an error message is displayed when the user saves the journal. Inthe journal validation rules, you define the following:

Journal Validation Rules

Setting Content Example

DimensionDependencies

The dimension relationshipto be checked. You definea Driver dimension and aDriven dimension. For the

Driver dimension:CostCenterDriven dimension: Activity

2011 © 2011 SAP AG. All rights reserved. 333

Page 350: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Setting Content Example

driver dimension, you definethe property used to filtermembers.

Driver Property Name:Activity

Member Filters The possible values of theDriven dimension by propertyvalue in the Driver dimension.

Driver Property Value:CORPORATEDriven Dimension FilteredValues: Corp, Consult

Reopening JournalsYou can reopen one or more journal entries from a previous period, and post themto another set of accounts for the following period.

The following prerequisites must be met before you can reopen journals:

• The administrator has customized the reopen translation table. Thetranslation table maps the source and destination accounts for the reopeningof journals. You define translations on accounts and criteria on otherdimensions.

• The system is set to allow reopening of journals using the JRN_REOPENparameter.

• The selected source journal entries are posted to the database.• The Reopen in Next Period option is selected in the journal entry.

Figure 144: Journal Translation Rules

Note: You define the journal translation rules in your model.

Using Data Manager Packages for JournalsThe following Data Manager packages are available for journals:

• Export the journal tables: This package exports a selection of journals to atext file

• Clear the journal tables: You use this package to clear a selection of existingjournals

• Restore the journal tables: You use this package to import journals from atext file.

334 © 2011 SAP AG. All rights reserved. 2011

Administrator
线条
Page 351: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Journals

Journal Logic FileYou can define additional calculations for journals in the JOURNAL.LGFfile. When a journal is posted, this script logic will be executed. When aJOURNAL.LGF file is defined, the DEFAULT.LGF file is not executed.

2011 © 2011 SAP AG. All rights reserved. 335

Administrator
线条
Page 352: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

336 © 2011 SAP AG. All rights reserved. 2011

Page 353: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Journals

Exercise 20: Set Up Journals

Exercise ObjectivesAfter completing this exercise, you will be able to:• Set up the journal template• Limit the journals to a specific DataSource member• Post a journal

Business ExamplePlanners need to adjust the planning data, and keep track of these adjustments byposting journals.

Task:Define the journal template. Change the DataSource dimension to limit the useof journals to the Adjustment member. Post a journal to adjust external sales tobecome internal sales.

1. Define the journal template according to the following requirements:

Category, Time, DataSource, and RptCurrency must be placed in the header.Users must be able to classify their journals by Reason with the followingvalues:AuditorsManagementLate corrections

2. Limit the use of journals to the DataSource member Adjustments

3. In 2011.DEC, post a journal to transfer 1000 from CP0001112 - ExternalSales to CP0001114-Inter-Company Sales for the US cost center.

Post the journal in local currency, using the Corp activity.

Enter Management as the Reason for this journal.

2011 © 2011 SAP AG. All rights reserved. 337

Page 354: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Solution 20: Set Up JournalsTask:Define the journal template. Change the DataSource dimension to limit the useof journals to the Adjustment member. Post a journal to adjust external sales tobecome internal sales.

1. Define the journal template according to the following requirements:

Category, Time, DataSource, and RptCurrency must be placed in the header.Users must be able to classify their journals by Reason with the followingvalues:AuditorsManagement

Continued on next page

338 © 2011 SAP AG. All rights reserved. 2011

Page 355: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Journals

Late corrections

a) In the Planning and Consolidation administration, choose Model →Planning → Journals

b) In the action pane, choose Journal Wizard.

c) In the 1. Select header dimensions step, select the followingdimensions:

Model Dimensions

Category

DataSource

RptCurrency

Time

d) Choose Next.

e) In the 2. Header dimension list step, choose Next.

f) In the 3. Set detail dimensions step, arrange the dimensions as follows:

Column 1 CostCenter

Column 2 Account

Column 3 Activity

g) Choose Next.

h) In the 4. Create additional header items step, choose Add in the leftpane, and add Reason with a length of 20. Choose Add, and thenchoose OK.

i) In the right pane, choose Add and enter the following reasons:Auditors, Management, Late corrections. Choose OK.

j) Choose Next and Finish.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 339

Page 356: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

2. Limit the use of journals to the DataSource member Adjustments

a) In the Admin Console of your environment, choose DimensionLibrary→ DataSource.

b) In the action pane, choose Maintain Dimension Property.

c) Add a property as follows: Name: ENABLEJRN, Length: 1.

d) In the action pane, choose Modify Dimension Property.

e) Choose OK.

f) In the action pane, choose Maintain Dimension Members.

g) For the member ADJ, set the ENABLEJRN property value to Y.

h) In the action pane, choose Process Dimension. Do not take the systemoffline.

i) Choose OK to start the process.

j) Choose OK to close the dialog.

3. In 2011.DEC, post a journal to transfer 1000 from CP0001112 - ExternalSales to CP0001114-Inter-Company Sales for the US cost center.

Post the journal in local currency, using the Corp activity.

Continued on next page

340 © 2011 SAP AG. All rights reserved. 2011

Page 357: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Journals

Enter Management as the Reason for this journal.

a) In the Admin Console, under Launch, choose Web Client.

b) Enter your user and password:

User ID Password

BPC-## training

c) Choose OK.

d) In the Web client, choose Consolidation Central → Journals.

e) Set the context to the following:

Dimension Member

Category PLAN

Time 2011.DEC

RptCurrency LC

DataSource ADJ

f) Choose New and enter Sales adjustment as the description forthe journal.

g) Enter the journal entry as follows:

Hint: Double-click in the cell to use the dropdown icon. EnterCP, for example, to display the ID and Descriptions.

CostCenter Account Activity Debit Credit

US CP0001112 CORP 1000

US CP0001114 CORP 1000

h) On the Additional Properties tab, select Management as the Reasonfor this journal.

i) Choose Save, and then choose Post.

The Post dialog appears. Choose OK to post the journal.

2011 © 2011 SAP AG. All rights reserved. 341

Page 358: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Lesson Summary

You should now be able to:• Explain the role of the journal template in a model• Discuss the journal security options• Describe the options for posting and reporting on journal entries

342 © 2011 SAP AG. All rights reserved. 2011

Page 359: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Creating Document Types for Web Access

Lesson: Creating Document Types for Web Access

Lesson OverviewIn this lesson you will learn how to use document types and document subtypes

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Create document types and document subtypes• Post a document

Business ExamplePlanners are using the Web document view to store and share files or URLs. Tomake it easier to classify documents, you need to create document types anddocument subtypes.

Create Document Types and SubtypesDocument types and subtypes allow users to classify the documents they share onthe documents view. You create document types and subtypes in your environment.For example, users post new documents with the following types and subtypes:

Example of Documents Types and Subtypes

Documents Types Document Subtypes

Group StrategyPlanning GuidanceAccounting ProcedureControlling Standards

Mid-Term PlanBudget PrinciplesStakeholders CommunicationAuditors Feedback

2011 © 2011 SAP AG. All rights reserved. 343

Page 360: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

To Create Document Types and Document Subtypes

1. In the Planing and Consolidation Administration, go to the navigation paneand select your environment.

2. In the action pane, choose Additional Tasks.

3. In the action pane, choose Manage Document Types or Manage DocumentSubtypes.

4. Enter a type or a subtype and choose Update.

Note: The length is limited to 20 digits.

Post DocumentsWhen you post a new document, you do the following:

• Select the file, or enter an address for a URL• Enter a short description of the document• Select a type and subtype for the document• Select the model and context. You can assign the new document to a specific

model and context. Doing so makes it easier to search for the document.• Select the users to share the document with. You can select users individually

or by using teams.• Notify users by e-mail. You can enter a specific text for the mail.

Figure 145: Posting a Document

344 © 2011 SAP AG. All rights reserved. 2011

Page 361: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Creating Document Types for Web Access

Caution: The type and the size of the files the user can add are restrictedby the following environment parameters:

• ALLOW_EXTENSIONS (default values isHTM,TXT,TMP,ESF,XLSM,XLTS,XLTM)

• ALLOW_FILE_SIZE (default value is 100 mb)

2011 © 2011 SAP AG. All rights reserved. 345

Page 362: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

346 © 2011 SAP AG. All rights reserved. 2011

Page 363: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Creating Document Types for Web Access

Exercise 21: Create Document Types andSubtypes

Exercise ObjectivesAfter completing this exercise, you will be able to:• Create document types and document subtypes• Post documents in the documents view

Business ExampleBefore users start to post documents, you want to set up document types andsubtypes to organize and classify documents.

Task:Create document types and subtypes and post a new document in the documentview.

1. In your environment, create the following document types and subtypes.

Document Types Document Subtypes

Planning Guidance How to budgetAllocation rules

2. Create a dummy MS Word document, and post as follows:

Descrip-tion:

This document contains the main allocation principles for costallocation for 2012

Type: Planning Guidance

Subtype: Allocation rules

Model: Planning

Category: Budget

Time: 2012.TOTAL

Share this document with all members of the Admin team.

2011 © 2011 SAP AG. All rights reserved. 347

Page 364: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Solution 21: Create Document Types andSubtypesTask:Create document types and subtypes and post a new document in the documentview.

1. In your environment, create the following document types and subtypes.

Document Types Document Subtypes

Planning Guidance How to budgetAllocation rules

a) In the Admin Console, select your environment. In the action pane,choose Additional Tasks.

b) In the action pane, choose Manage Document Types.

c) Next to New, enter Planning Guidance.

d) In the action pane, choose Update.

e) Choose OK.

f) In the action pane, choose Manage Document Subtypes.

Enter the document types as shown in the table.

g) Next to New, enter How to budget.

h) Under Order, enter 2.

i) Next to New, enter Allocation rules.

j) Under Order, enter 3.

k) In the action pane, choose Update.

l) Choose OK.

2. Create a dummy MS Word document, and post as follows:

Descrip-tion:

This document contains the main allocation principles for costallocation for 2012

Type: Planning Guidance

Subtype: Allocation rules

Continued on next page

348 © 2011 SAP AG. All rights reserved. 2011

Page 365: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Creating Document Types for Web Access

Model: Planning

Category: Budget

Time: 2012.TOTAL

Share this document with all members of the Admin team.

a) Create a dummy MS Word document and save it on the desktop.

Hint: Choose: Programs → Microsoft Office→ MicrosoftOffice Word 2007

b) In the Admin Console, under Launch, choose Web Client.

c) Enter your user and password:

User ID Password

BPC-## training

d) Choose OK.

e) In the Web client, select Documents and choose Add.

f) Choose the Browse button and select your file.

g) On the Document tab, enter a Description, a Type, and Subtype inaccordance with the table above.

h) Choose the Context tab, enter the context, and select the members asshown in the table.

i) Next to Model, choose Planning.

j) Next to Category, choose Budget.

k) Next to Time, choose 2012.TOTAL.

l) Choose the Sharing tab

m) Next to Users, click the down arrow and select Teams.

n) Under Available, select Administrator Team for BPC and choose theright arrow button to add it to Selected.

o) Choose OK to post the document.

2011 © 2011 SAP AG. All rights reserved. 349

Page 366: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Lesson Summary

You should now be able to:• Create document types and document subtypes• Post a document

350 © 2011 SAP AG. All rights reserved. 2011

Page 367: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up and Using Audits

Lesson: Setting Up and Using Audits

Lesson OverviewIn this lesson you will learn how to use audit reports to retrieve system informationand a history of changes.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Present the different audit reports• Manage data audit

Business ExampleTo monitor the administration and use of Planning and Consolidation, you needsystem reports.

Introduction to Audit ReportsAudit reports are system reports that you can run from the Web client. Thefollowing types or reports are available:

• Processes: You use these reports to monitor and retrieve detailed informationon the execution of processes.

• Security: These reports contain the configuration for users, teams, profiles,and so on.

• General: You use these reports to track changes to data, comments, workstatus, and configuration. For these reports, you need to activate the dataaudit.

2011 © 2011 SAP AG. All rights reserved. 351

Page 368: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Figure 146: Audit Reports

Data AuditBefore you run reports to analyze data changes, you need to activate the data auditin your model. You activate the audit of data changes by category (plan, actual).You can audit the following data change events:

• EPM Add-In• Data Manager• Logic Script Execution• Web Input• Journal Input• Business Rule Execution• FIM Import

352 © 2011 SAP AG. All rights reserved. 2011

Administrator
高亮
Category dimension can you activate a data audit trail for an Application
Administrator
下划线
Page 369: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up and Using Audits

Figure 147: Managing Data Audit

Figure 148: Audit - Data Changes Report

2011 © 2011 SAP AG. All rights reserved. 353

Page 370: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Lesson Summary

You should now be able to:• Present the different audit reports• Manage data audit

354 © 2011 SAP AG. All rights reserved. 2011

Page 371: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Drill-Through

Lesson: Configuring Drill-Through

Lesson OverviewIn this lesson you will learn how to define drill-through to access source datafrom an EPM add-in report.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Set up drill-through for SQL and journal tables• Set up drill-through for any URL

Business ExampleWhen using EPM add-in reports, you want to access the details of a specificvalue. You need to define a drill-through to the source data that corresponds tothe journal table.

Note: Differentiate drill-through and drilldown:

• Drill-through displays the source data in another system or anothertable.

• Drilldown displays the child members in the same report.

Drill-Through OptionsYou can define the following drill-throughs:

• Drill through to a database table

Examples:You define a drill-through to display the journals from the correspondingSQL table.You define a drill-through to a specific SQL table that contains the saleswith invoice numbers.

• Drill through to a URL

Examples:You define a drill-through to display the account balance in the sourceaccounting system.You define a drill-through to a BW query.

2011 © 2011 SAP AG. All rights reserved. 355

Page 372: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Figure 149: Drill-Through in EPM Reports

Drill-Through to a Database TableWhen you define a drill-through to a database table, you define:

• The Drill Key property in dimensions. This property is required to definethe drill-through, depending on the member selected in the report when theuser runs the drill-through.Example: For the sales account, you could define a drill-through to a tablenamed “Sales Invoices”, and for other accounts, you define a drill-through toa table named “Account Balances”.

• The Drill-Through Table. In this table, you assign to each drill key propertyvalue a specific query file, and the following query parameters: maximumrows, user, and password.

You edit the drill-through table in Additional Tasks for your environment.

Note: The query files can be created using Excel, and must be storedon the Planning and Consolidation server in the folder: <Planning andConsolidation>\Webfolders\<Environment>\<Model>\queryfiles.

For the journal table, a standard query file (Journal.dqy) is automaticallycreated by the system.

Figure 150: Drill-Through Table

356 © 2011 SAP AG. All rights reserved. 2011

Page 373: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Drill-Through

Drill-Through to a URLYou define drill-through in your model. When you define drill-through to a URL,you define the following:

• The drill-through ID and description• The URL• Up to four URL parameters. For each parameter, you can select a dimension

and a property. For example, you can use the Year property of the Timemember. The parameter passed to the URL is therefore formatted as YYYYinstead of YYYY.MMM. You can also enter a user-defined value.

Figure 151: Parameters for a Drill-Through to a URL

2011 © 2011 SAP AG. All rights reserved. 357

Page 374: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

How to Set Up and Run Drill-Through to Journal Tables

1. In the Planning and Consolidation Administration, define the DRILLKEYproperty for the dimensions where a drill-through definition is required. Forjournals, you typically set up this property for the Audit dimension.

2. For the relevant dimension members, define the value of the DRILLKEYproperty. You typically enter the value Journals only for those membersof the Audit dimension that are used to post journals. For example, you donot enter a value for the member INPUT.

3. From your environment, choose Additional Tasks → Edit Drill-ThroughTable. Create a new line for the Journals drill key as follows:

Drill Key: Journals

Title: Journal Entries

File Name: Journal.dqy

Max Rows: 100

User ID and Password: Enter the relevant values

4. To run the drill-through: From the EPM reports, choose Drill-Through →Display Table in Microsoft Excel.

358 © 2011 SAP AG. All rights reserved. 2011

Page 375: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Configuring Drill-Through

Lesson Summary

You should now be able to:• Set up drill-through for SQL and journal tables• Set up drill-through for any URL

2011 © 2011 SAP AG. All rights reserved. 359

Page 376: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Lesson: Setting Up Automated Variance Analysis

Lesson OverviewIn this lesson you will learn how to define key performance indicators and use theanalysis feature.

Lesson ObjectivesAfter completing this lesson, you will be able to:

• Set up key performance indicators (KPIs)• Use the different types of analysis

Business ExampleWhen you analyze the sales, you need to quickly understand the performanceresults, analyze plan versus actuals, and highlight the main contributors.

Analysis OverviewYou use this feature to reduce the effort involved in investigation when youanalyze performance results. You define the analysis settings and run analysis inthe Web client. You can define the data to analyze using the following methods:

• Ad hoc analysis: The data to analyze is selected from the current context.The basis for comparison (period or category) is selected from the globalsettings, but can be changed when running the analysis.

• KPI analysis: The data to analyze is selected from a predefined keyperformance indicator.

To run analysis, you need to define the analysis settings and the KPIs.

360 © 2011 SAP AG. All rights reserved. 2011

Page 377: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Automated Variance Analysis

Visualization TypesYou can visualize ad hoc analysis and KPI analysis using the followingvisualization types:

• Status Indicator: shows the overall variance resulting from a period orcategory comparison, with a graphical rating based on performance indexes.

• Variance Analysis: shows the top contributors, and the graphical contributionfor a dimension.

• Child Performance: shows the variance along a dimension hierarchy with theStatus Indicator (values and %). For parent members, a colored exclamationmark indicates that a child member is overperforming or underperforming.

• Contribution Analysis: shows the top contributors to a variance across twodimensions. The Traversal Dimension is displayed in the rows and theComponent Dimension is displayed in the columns.

Figure 152: Visualization Types of Analysis

2011 © 2011 SAP AG. All rights reserved. 361

Page 378: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Analysis SettingsIn the Web client, you define the following analysis settings:

• Performance Indexes: You define the description and the limits inpercentages for the 5 indexes.

• Default Comparison: You select a Time comparison (prior period,year-over-year) or a Category comparison.

• Default Dimension: You select the default dimensions used in the analysis.Users can change this selection when they run the analysis.

Traversal Dimension is the dimension displayed in the rows for ContributionAnalysis and Child Performance analysis.

Component Dimension is the dimension displayed in the columns in theContribution Analysis.

• Traversal Dimensions: you select the dimensions that are not to be selected inthe analysis. Doing this improves performance. For example, you typicallyselect the Audit or Interco dimensions not to be traversed in the analysis.

Note: Analysis settings are defined in the environment, and are valid forall models within this environment.

Figure 153: Performance Indexes

Note: The variance is calculated taking the account type intoconsideration.Example: an increase in the revenue account (stored as a negative value)is shown as a positive result.

362 © 2011 SAP AG. All rights reserved. 2011

Page 379: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Automated Variance Analysis

Defining KPIsYou define KPIs as a combination of dimension members to be analyzed. TheKPI definition depends on your business and your objectives. For example, youdefine the following KPIs:

• Sales in Europe• Nordic overhead costs• After-sales expenses for new products

When you define KPIs, you define the following:

• Name and Description• Scale and Decimals to display values• Classification: to group KPIs in the Web interface• Authorization: you grant user access for the KPIs• Comparison: you define a default comparison (period or category)• Performance Indexes: you can adjust the index value (limits in %) for the

KPIs.• Constraints: you can select the dimension members to define the KPIs. You

can lock this selection so users cannot change it when they analyze the KPIs.

Using AnalysisWhen you run analysis, you can do the following:

• Select one of the four visualizations• Change the context for those dimensions that are not locked in the KPI

definition• Change the following analysis criteria: visualization type, traversal

dimension, and component dimension.

For variance analysis, you can also define the number of results to bedisplayed.

• Change the analysis type from KPI to ad hoc. You can then also change thecomparison type (period or category), and the context for all dimensions(that are not defined as Not Traversed) in the global settings.

2011 © 2011 SAP AG. All rights reserved. 363

Page 380: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Figure 154: Analysis Criteria

364 © 2011 SAP AG. All rights reserved. 2011

Page 381: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Automated Variance Analysis

How to Use Analysis

1. In the Web client, choose Analysis. The KPIs are displayed .

2. Choose the button next to the KPIs to display the list of visualizations, andselect the visualization required.

3. Change the context to fit your requirements.

4. To run a new analysis, select the New Analysis tab. Change the criteria asrequired, and choose Run Analysis.

2011 © 2011 SAP AG. All rights reserved. 365

Page 382: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

366 © 2011 SAP AG. All rights reserved. 2011

Page 383: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Automated Variance Analysis

Exercise 22: Set Up and Run Analysis

Exercise ObjectivesAfter completing this exercise, you will be able to:• Define a key performance indicator• Run variance analysis for plan vs. actual values

Business ExampleSales in Europe is a key performance indicator for your company. You want tofacilitate and speed up the analysis of variances between plan and actual for thisKPI.

Task:In your Planning model, define the global settings for analysis. Create the KPI forSales Europe, and run the different analyses.

1. In the global settings, define the following:

Default comparison: Category: Plan

Traversal Dimension: Time

Component Dimension: CostCenter

Define that the following dimensions are not traversed: DataSource,RptCurrency

2. Define a KPI Classification named Operations. Create a new KPI, asfollows:

General Tab

Name Sales Europe

Description Sales Europe

Scale 1

Decimals 0

Classification Operations

Authorization Tab

Authorization wdflbmt\BPC-##

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 367

Page 384: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Comparison Tab

Comparison Category: Plan

Constraints Tab

Dimension Member Locked

Category Actual Locked

Time 2010.TOTAL Not Locked

CostCenter Europe Locked

Account CP0001112 Locked

RptCurrency LC Locked

DataSource TOTAL Locked

Activity NONE Locked

3. Display the Status Indicator and the Variance Analysis for the Sales EuropeKPI.

Caution: You may need to restart the Web client to see the Analysispage.

368 © 2011 SAP AG. All rights reserved. 2011

Page 385: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Automated Variance Analysis

Solution 22: Set Up and Run AnalysisTask:In your Planning model, define the global settings for analysis. Create the KPI forSales Europe, and run the different analyses.

1. In the global settings, define the following:

Default comparison: Category: Plan

Traversal Dimension: Time

Component Dimension: CostCenter

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 369

Page 386: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Define that the following dimensions are not traversed: DataSource,RptCurrency

a) In the Admin Console, under Launch, choose Web Client.

b) Enter your user and password:

User ID Password

BPC-## training

c) Choose OK.

d) In the Web client, choose Analysis.

e) Choose the Settings pushbutton.

The Analysis Settings tab is generated.

f) On the Default Comparison tab, make your selections as shown below:

Model Planning

Comparison Category

Category Member Plan

Transversal Dimension Time

Component Dimension CostCenter

g) On the Traversal Dimension tab, make your selections as shown below:

Dimension Not Traversed

DataSource Selected

RptCurrency Selected

h) Choose Save.

Close the Analysis Settings tab.

2. Define a KPI Classification named Operations. Create a new KPI, asfollows:

Continued on next page

370 © 2011 SAP AG. All rights reserved. 2011

Page 387: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Automated Variance Analysis

General Tab

Name Sales Europe

Description Sales Europe

Scale 1

Decimals 0

Classification Operations

Authorization Tab

Authorization wdflbmt\BPC-##

Comparison Tab

Comparison Category: Plan

Constraints Tab

Dimension Member Locked

Category Actual Locked

Time 2010.TOTAL Not Locked

CostCenter Europe Locked

Account CP0001112 Locked

RptCurrency LC Locked

DataSource TOTAL Locked

Activity NONE Locked

a) Choose the Define KPIs pushbutton.

b) On the KPI Classification tab, choose Add.

c) Enter the Classification Name Operations and choose OK.

d) On the Maintain KPI tab, select the Planning model.

e) Choose Add.

f) Create the KPI in accordance with the table above.

g) Choose OK.

3. Display the Status Indicator and the Variance Analysis for the Sales EuropeKPI.

Continued on next page

2011 © 2011 SAP AG. All rights reserved. 371

Page 388: SAP Bpc410 en Col96 Fv Part a4

Unit 5: Administration of Planning and Consolidation BPC410

Caution: You may need to restart the Web client to see the Analysispage.

a) Under Analysis, choose Reset to display the new KPI.

b) To the right of Sales Europe, click the small Run Analysis pushbuttonand select Status Indicator.

Figure 155: Sales Europe - Status Indicator

The result above is displayed on the Analysis Task tab, and a morespecific tab below that called KPI - Status Indicator.

c) Choose the New Analysis tab to display a variance analysis. SelectVisualization Type: Variance Analysis and choose Run Analysis.

The result is displayed on the KPI - Variance Analysis tab.

372 © 2011 SAP AG. All rights reserved. 2011

Page 389: SAP Bpc410 en Col96 Fv Part a4

BPC410 Lesson: Setting Up Automated Variance Analysis

Lesson Summary

You should now be able to:• Set up key performance indicators (KPIs)• Use the different types of analysis

2011 © 2011 SAP AG. All rights reserved. 373

Page 390: SAP Bpc410 en Col96 Fv Part a4

Unit Summary BPC410

Unit SummaryYou should now be able to:• Explain the different security components• Define security parameters• Describe the work status concept• Set up and use work status• Create process templates• Execute processes• Run audit reports for processes• Explain the role of the journal template in a model• Discuss the journal security options• Describe the options for posting and reporting on journal entries• Create document types and document subtypes• Post a document• Present the different audit reports• Manage data audit• Set up drill-through for SQL and journal tables• Set up drill-through for any URL• Set up key performance indicators (KPIs)• Use the different types of analysis

374 © 2011 SAP AG. All rights reserved. 2011

Page 391: SAP Bpc410 en Col96 Fv Part a4
Page 392: SAP Bpc410 en Col96 Fv Part a4
Page 393: SAP Bpc410 en Col96 Fv Part a4

BPC410 Course Summary

Course SummaryYou should now be able to:

• Execute reports and input forms from templates• Create structures in your environment• Use the Data Manager to process data• Work with business logic• Manage security settings• Configure work status• Design business process flows• Set up journals• Use variance analysis

2011 © 2011 SAP AG. All rights reserved. 375

Page 394: SAP Bpc410 en Col96 Fv Part a4

Course Summary BPC410

376 © 2011 SAP AG. All rights reserved. 2011

Page 395: SAP Bpc410 en Col96 Fv Part a4

FeedbackSAP AG has made every effort in the preparation of this course to ensure theaccuracy and completeness of the materials. If you have any corrections orsuggestions for improvement, please record them in the appropriate place in thecourse evaluation.

2011 © 2011 SAP AG. All rights reserved. 377