SlideShare a Scribd company logo
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 1
Maintaining Aggregates in BW
Applies to:
SAP BI/BW 7.0 and above. For more information visit the Enterprise Data Warehousing
Summary
This document provides an overview of the use of aggregates in the SAP Business Information Warehouse.
The document gives an overview of the aggregates features and a detailed step-by-step solution to
Author: Umesh Pednekar
Company: Howdens Joinery Co.
Created on: 31st Oct 2011
Author Bio
Umesh is working as a SAP BI/ BW Analyst in Howdens Joinery co and has techno-functional
experience of over 7 years in designing, developing and implementing/upgrading SAP BW-BI
solutions across various Industries in India and in the UK.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 2
Table of Contents
Overview.............................................................................................................................................................3
Aggregates..........................................................................................................................................................3
Aggregates Roll up and Change Run.................................................................................................................3
Roll up .............................................................................................................................................................3
Change Run ....................................................................................................................................................3
Building Aggregates............................................................................................................................................4
Aggregates Roll up ...........................................................................................................................................14
Roll up Through Process Chains ..................................................................................................................14
Roll up Using a Program...............................................................................................................................17
Aggregates Efficiency.......................................................................................................................................18
Switch On/Off Aggregates.............................................................................................................................18
Delete Aggregates ........................................................................................................................................19
Deactivate Aggregates..................................................................................................................................19
Compressing Aggregates..............................................................................................................................19
Related Content................................................................................................................................................21
Copyright...........................................................................................................................................................22
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 3
Overview
This document provides an overview of the use of aggregates in the SAP Business Information Warehouse.
The document gives an overview of the aggregates features and a detailed step-by-step solution to
- Building the aggregates on an Info cube
- Rolling up the aggregates on an Info Cube.
- Maintaining aggregates efficiency on an Info cube.
Aggregates
An aggregate is a materialized, summarized view of the data in an InfoCube. In other words, it consolidates
and stores a subset of InfoCube data into a database. This subset of data is redundant and persistent. When
we execute a query on an InfoCube with appropriate aggregates, the query reads the summarized data
directly from the database thus eliminating the need to perform any processing related to summarization
during query runtime.
Needless to mention, aggregates help access Infocube data quickly during reporting. Aggregates creation sis
highly recommended when:
- Query execution and navigation requires speeding up.
- Navigational attributes are required to be used in the queries.
- Hierarchies used in the queries need to be speed up – you can aggregate on specific hierarchy
levels.
There are a few disadvantages of Aggregates which need to be kept in mind.
- They increase load time
 through data packages uploads;
 through the hierarchy/attribute change run after loading master data;
 through adjusting time-dependent aggregates.
Aggregates Roll up and Change Run
Roll up
If the InfoCube has aggregates that have aggregates already filled, then data that has been recently loaded
into an InfoCube is not visible for reporting, from the InfoCube or aggregates, until an aggregate roll-up takes
place.
During this process you can continue to report using the data that existed prior to the recent data load. The
new data is only displayed by queries that are executed after a successful roll-up.
Change Run
A Change Run is executed only in the event of change in the master data. As changes in the master data
also trigger changes in navigational attributes or hierarchies, it is recommended that data in the aggregates
is adjusted after master data load. This ensures consistency in Reporting results.
The change run adjusts the data in the aggregates and turns the modified version of the navigational
attributes and hierarchies into an active version. During the change run process, you can carry out Reporting
on old master data and hierarchies.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 4
Building Aggregates
This section describes to processes involving in creating, filling and activating aggregates.
In the DW workbench select the InfoCube you wish to create the aggregates on in the Modeling-InfoProvider
tab.
Right click and select ‘Maintain Aggregates’.
You are prompted to select the option to create ‘Proposals for Aggregates’.
If you select ‘Generate Proposals’ that system helps us derive the proposals for various aggregates
depending on the statistics data and the input provided by you.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 5
For the sake of this document ,we will create the aggregates manually, so we select the option ‘Create by
Yourself’.
In the ‘Maintenance for Aggregates’ screen, the system displays list of characteristics, navigational attributes
and hierarchies.
List of Objects that qualify for creating aggregates can be viewed by expanding the dimensions in the
template.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 6
Maintenance for Aggregates screen is used to :
- Define aggregates
- Obtain information about the status of individual aggregates.
We will manually create aggregate on the Characteristics ‘Plant’ – 0PLANT. Select 0PLANT from the
template on the left hand side and drag it onto the right hand side screen.
You are prompted to enter description for the aggregate.
Enter the descriptions, short and long, for the aggregate and Continue.
You can now see the aggregate added onto the right hand side. ‘Red’ indicators tell us that the aggregate is
not active/filled up.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 7
You have the option of looking at the following parameters for each of the aggregates:
- Status – Could be created, changed, Save and active.
- Proposed action
- Filled/Switched Off – On - Could be not filled / Filled with data – Switch on or off for the queries.
- Selection Type - the system aggregates according to the values of the selected objects: * All
characteristic values, H Hierarchy level, F Fixed value
- Hierarchy – Name of the Hierarchy selected, if any.
- Fixed Value – Fixed value selected, if any.
- Valuation
- Records - Number of records in the filled aggregate.
- Records Summarized - Number of records read on average from the source to create a record in
the aggregate. (This value should never be equal to 1)
- Usage - Number of uses (in queries).
- Last Used
- Last Roll-up - When was data last entered for the aggregate?
- Last Changed on
From the top-menu , select ‘Aggregate’ tab which displays a list of sub-menu.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 8
Select ‘Activate and Fill’ .
Post processing that could take a few minutes, we are now prompted to run the Aggregates filling and
activation job.
You can also schedule Parallel run of Initial Fill of Aggregates. Select the option from the menu at the bottom
of the screen.
Select the desired value as applicable (in particular for Number of parallel processes)
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 9
Process Variant (Name)
Name of the process. The configuration of a process of a specific type is static, which means it is
determined for a definition time. It is described in the context of the process chain as a variant. A
variant is always uniquely defined in connection with the type.
Example
The name of the InfoPackage displays the variants during the loading process.
Maximum Number of All Parallel Processes for This type
Number of processses of this process type on all permitted servers.
Dependencies
The default setting is 3. If you do not enter a value, the system chooses the default setting.
If you enter 1 for PSAPROCESS (serial processing), background administration is not used. The
system continues to use the old program process flow from before SAP NetWeaver 2004s.
Save your selections . .
To schedule Job for Aggregate Filling and activation – click on ‘Start’ which takes you to the option asking for
either ‘Immediate’ run of the process or its scheduling at a ‘later’ date/time. We have selected ‘Immediate’.
The process is now scheduled.
Wish to check the Background job ? Select ‘Jobs’ from the options available in the bottom menu.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 10
Select ‘Execute’ on the Simple Job Selection screen.
The aggregation job is completed successfully in our case.
Wish to check the Log? Select the ‘Log’ option.
You can analyze the application log.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 11
We go back to the Scheduling screen. Refresh the screen.
Confirmation is provided over the consistency of the InfoCube.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 12
Refresh the screen a few times to get the latest Status and the Aggregate Filled indicators.
Remember that we can create multiple aggregates based on our requirements and opt for simultaneous
Activation and Fill up process. You can see that three aggregates are being considered for activation and fill
up process.
Select the desired aggregates and then click on the icon for ‘Activate and Fill’.
Schedule the process for all the aggregates.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 13
Post process completion, we can see aggregates available on the InfoCube.
Go back to the DW Workbench – Select the InfoCube under consideration.
And refresh the tree structure to Obtain…
The ‘Aggregate’ availability indicator next to the InfoCube
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 14
Aggregates Roll up
Although, aggregates can be rolled up manually, it is highly recommended that a process chain is used to
execute this process. Using the data package roll up in a process chain helps eliminating errors during
complex flows either by automating related processes and/or by ensuring that dependent processes are
integrated with each other.
Roll up Through Process Chains
You can achieve this by selecting the Infocube under consideration and right click to ‘Manage’ the InfoCube.
In the Manage Data Targets screen select ‘Rollup’ tab.
The system recommends the greatest possible value for Rollup in the ‘Request ID’ . You can manually set
the same.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 15
Now choose the option ‘Process Chain Maintenance’.
You are now taken to the RSPC transaction screen and the list of associated process chains is displayed. If
you do not have the relevant chain, you can create a new chain.
We select the First chain from the list of chains made available.
Double click on the desired chain to go to the ‘Process Chain Maintenance Screen’.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 16
We will add the Roll up process at the end of the chain i.e. After Index creation process for the InfoCube is
completed.
Select icon ‘Process Type’.
Expand ‘Data Target Administration’ option and select the Roll up process as shown.
Double click and the system prompts you to Create a Variant for the process. Select ‘Create’.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 17
In the Process Maintenance: Roll up of Filled Aggregates/BIA Index screen, select the Infocube for which
you wish to add the roll up process – following the data load.
Save and Go Back. Continue at the next screen.
Make sure that the roll up process follows the desired dependent processes.
Save, Activate and Schedule the Chain.
Roll up Using a Program
You can also roll up using program RSDDK_AGGREGATES_ROLLUP by scheduling it to run as a
background job or using it in an Event Collector.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 18
Aggregates Efficiency
If aggregates can help improve query performance they are can also prove detrimental to the overall system
performance due to the increase in loading times during roll-up and change runs. It always helps to
undertake an investigation that can tell you how critical an aggregate is for your queries depending on the
requirement from the users. Certain parameters to consider during this process are:
- At what frequency is the query executed? (If it is a weekly report – then aggregate roll up need not
be a daily process – it could also be done weekly)
- How critical is the query performance?
- How often are the master data / hierarchy changes done?
- Do we need the Change run to be directly associated with the master data/hierarchy change or can it
be done at a different frequency?
- If the Change run is not associated directly with master data/hierarchy changes, then how often the
transaction data uploaded? If weekly then will it helps executing the change run on a weekly basis?
- It always helps to build aggregates based on the real life feedback. Now this is possible only if your
InfoCube has the necessary aggregates which give you an insight based on the initial response from
the system – during data load and query execution.
- To optimize an InfoCube, you should repeatedly check:
o Whether aggregates are missing: Create new aggregates.
o Whether existing aggregates are no longer being used: Delete unnecessary aggregates.
Switch On/Off Aggregates
You can also switch Off a specific aggregate/s for queries of the InfoCube. This can be done by accessing
the specific aggregate/s in the Maintenance for Aggregates scree. Select the aggregate under consideration
and then from the ‘Aggregate’ menu – go to option ‘Switch On/Off for Queries’ (or select the icon Switch
On/Off)
You can see that after switching off the ‘Aggregate Version’ of the Infocube the indicator in the ‘Filled/Switch
Off’ is no longer shown Green.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 19
Delete Aggregates
To deactivate the aggregate and delete the definition of the aggregate, select the aggregate to be deleted
and select the delete function either with Delete or from the context menu of the aggregate.
Deactivate Aggregates
To delete all the data and database tables of an aggregate, select the required aggregate and choose
Deactivate.
The status display in the columns Status and Filled/switched off change back to . If you want to, you can
activate and fill the aggregate again later.
Compressing Aggregates
Aggregates can be compressed when they are filled up with data or rolled up from requests in an InfoCube.
To achieve this, select the Infocube and right click to ‘Manage’.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 20
In the Manage Data Targets screen select ‘Rollup’ tab.
You can set the same compression as show below.
When the compression is set, the aggregates are compressed automatically when they either filled with data
or rolled up from requests. However, this means that deletion of a request from the Infocube, which is
already rolled up to the aggregate, calls for deactivation and rebuilding of the aggregate.
If the compression is not switched on, then the aggregates are compressed together with the InfoCube. This
option helps if you wish to frequently delete requests from the Infocube. It is always recommended that
aggregates are compressed automatically so that they do not become larger and detrimental to the system
performance.
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 21
Related Content
Performance Tuning for Queries with Aggregates ASAP FOR BW ACCELERATOR
Infocube Aggregate Status (History)
Performance Optimization with Aggregates
For more information visit the Enterprise Data Warehousing
Maintaining Aggregates in BW
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 22
Copyright
© Copyright 2011 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9,
iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,
PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes,
BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX,
Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of
Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts
Institute of Technology.
Java is a registered trademark of Oracle Corporation.
JavaScript is a registered trademark of Oracle Corporation, used under license for technology invented and implemented by Netscape.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned
herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and
other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered
trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document
serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP
Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the
express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an
additional warranty.
Ad

More Related Content

What's hot (20)

Using idoc method in lsmw
Using idoc method in lsmwUsing idoc method in lsmw
Using idoc method in lsmw
Konstantinidis Antonis
 
User exit training
User exit trainingUser exit training
User exit training
Jen Ringel
 
Important tables for sap sd
Important tables for sap sd Important tables for sap sd
Important tables for sap sd
Roshan Prasad
 
Text determination
Text determinationText determination
Text determination
Srinivasulu Algaskhanpet
 
SAP BW - Info cube
SAP BW - Info cubeSAP BW - Info cube
SAP BW - Info cube
Yasmin Ashraf
 
SAP BW - Info objects ppt
SAP BW - Info objects pptSAP BW - Info objects ppt
SAP BW - Info objects ppt
Yasmin Ashraf
 
Credit Management in SAP SD
Credit Management in SAP SDCredit Management in SAP SD
Credit Management in SAP SD
Srinivasulu Algaskhanpet
 
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Ashish Saxena
 
Route determination
Route determinationRoute determination
Route determination
Srinivasulu Algaskhanpet
 
SAP Flexible workflows.pptx
SAP Flexible workflows.pptxSAP Flexible workflows.pptx
SAP Flexible workflows.pptx
KeshavaMurthy74
 
SAP BW - Info object (characteristics)
SAP BW - Info object (characteristics)SAP BW - Info object (characteristics)
SAP BW - Info object (characteristics)
Yasmin Ashraf
 
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infoVariant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
sapdocs. info
 
Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...
Andre Bothma
 
Revenue account determination
Revenue account determinationRevenue account determination
Revenue account determination
Srinivasulu Algaskhanpet
 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part II
Ashish Saxena
 
Ale idoc training kit sap Anilkumar chowdary
Ale idoc training kit sap Anilkumar chowdaryAle idoc training kit sap Anilkumar chowdary
Ale idoc training kit sap Anilkumar chowdary
ANILKUMARPULIPATI1
 
SAP BW - Data store objects
SAP BW - Data store objectsSAP BW - Data store objects
SAP BW - Data store objects
Yasmin Ashraf
 
SAP BW - Creation of master data texts
SAP BW - Creation of master data textsSAP BW - Creation of master data texts
SAP BW - Creation of master data texts
Yasmin Ashraf
 
Sap abap
Sap abapSap abap
Sap abap
Jugul Crasta
 
Sap sd important interview concepts
Sap sd important interview concepts Sap sd important interview concepts
Sap sd important interview concepts
Mohit Amitabh
 
User exit training
User exit trainingUser exit training
User exit training
Jen Ringel
 
Important tables for sap sd
Important tables for sap sd Important tables for sap sd
Important tables for sap sd
Roshan Prasad
 
SAP BW - Info objects ppt
SAP BW - Info objects pptSAP BW - Info objects ppt
SAP BW - Info objects ppt
Yasmin Ashraf
 
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Ashish Saxena
 
SAP Flexible workflows.pptx
SAP Flexible workflows.pptxSAP Flexible workflows.pptx
SAP Flexible workflows.pptx
KeshavaMurthy74
 
SAP BW - Info object (characteristics)
SAP BW - Info object (characteristics)SAP BW - Info object (characteristics)
SAP BW - Info object (characteristics)
Yasmin Ashraf
 
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infoVariant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
sapdocs. info
 
Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...
Andre Bothma
 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part II
Ashish Saxena
 
Ale idoc training kit sap Anilkumar chowdary
Ale idoc training kit sap Anilkumar chowdaryAle idoc training kit sap Anilkumar chowdary
Ale idoc training kit sap Anilkumar chowdary
ANILKUMARPULIPATI1
 
SAP BW - Data store objects
SAP BW - Data store objectsSAP BW - Data store objects
SAP BW - Data store objects
Yasmin Ashraf
 
SAP BW - Creation of master data texts
SAP BW - Creation of master data textsSAP BW - Creation of master data texts
SAP BW - Creation of master data texts
Yasmin Ashraf
 
Sap sd important interview concepts
Sap sd important interview concepts Sap sd important interview concepts
Sap sd important interview concepts
Mohit Amitabh
 

Viewers also liked (16)

Lp pp new
Lp pp newLp pp new
Lp pp new
yesudos1
 
Inquiry 3 semester 2
Inquiry 3 semester 2Inquiry 3 semester 2
Inquiry 3 semester 2
haley1
 
Informe agosto 2011
Informe agosto 2011Informe agosto 2011
Informe agosto 2011
carloseduber
 
Last
LastLast
Last
yahismartari
 
Banks
BanksBanks
Banks
97josbai
 
Banks
BanksBanks
Banks
97josbai
 
Banks
BanksBanks
Banks
97josbai
 
Whoami
WhoamiWhoami
Whoami
Jennifer Charles
 
Review of geotechnical aspects associated with block caving (in Russian)
 Review of geotechnical aspects associated with block caving (in Russian) Review of geotechnical aspects associated with block caving (in Russian)
Review of geotechnical aspects associated with block caving (in Russian)
Dr. Alex Vyazmensky
 
Surface subsidence associated with block caving
Surface subsidence associated with block cavingSurface subsidence associated with block caving
Surface subsidence associated with block caving
Dr. Alex Vyazmensky
 
The faerie queene
The faerie queeneThe faerie queene
The faerie queene
haley1
 
Ad

Similar to Maintaining aggregates (20)

Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0
gireesho
 
SAP Quickviewer
SAP QuickviewerSAP Quickviewer
SAP Quickviewer
otchmarz
 
Sap bw lo extraction
Sap bw lo extractionSap bw lo extraction
Sap bw lo extraction
Obaid shaikh
 
Usgage of ABAP in BI
Usgage of ABAP in BIUsgage of ABAP in BI
Usgage of ABAP in BI
Biswabrata Das
 
Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0
gireesho
 
Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creation
young moon woo
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
Phani Kumar
 
Query
QueryQuery
Query
Santosh Peddi
 
Creating new unit of measure in sap bw
Creating new unit of measure in sap bwCreating new unit of measure in sap bw
Creating new unit of measure in sap bw
Rajat Agrawal
 
SAP HANA SPS08 Administration & Monitoring
SAP HANA SPS08 Administration & MonitoringSAP HANA SPS08 Administration & Monitoring
SAP HANA SPS08 Administration & Monitoring
SAP Technology
 
Pricing Efficiency
Pricing EfficiencyPricing Efficiency
Pricing Efficiency
Daya Nadar
 
Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflows
Hicham Khallouki
 
Asset accounting
Asset accountingAsset accounting
Asset accounting
Nguyễn Kiên
 
How to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selectionHow to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selection
Valko Arbalov
 
_Using Selective Deletion in Process Chains.pdf
_Using Selective Deletion in Process Chains.pdf_Using Selective Deletion in Process Chains.pdf
_Using Selective Deletion in Process Chains.pdf
ssuserfe1f82
 
New dimensions for_reporting
New dimensions for_reportingNew dimensions for_reporting
New dimensions for_reporting
Rahul Mahajan
 
Reporting data in alternate unit of measure in bi 7.0
Reporting data in alternate unit of measure in bi 7.0Reporting data in alternate unit of measure in bi 7.0
Reporting data in alternate unit of measure in bi 7.0
Ashwin Kumar
 
Whats new BPC 10.1 NW
Whats new BPC 10.1 NWWhats new BPC 10.1 NW
Whats new BPC 10.1 NW
fernadabrum
 
SAP BOBJ Rapid Marts Overview I
SAP BOBJ Rapid Marts Overview ISAP BOBJ Rapid Marts Overview I
SAP BOBJ Rapid Marts Overview I
Ramakrishna Kamurthy
 
Planning guide sap business suite 7 2013 landscape implementation
Planning guide sap business suite 7 2013  landscape implementationPlanning guide sap business suite 7 2013  landscape implementation
Planning guide sap business suite 7 2013 landscape implementation
Leonardo Parpal Roig
 
Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0
gireesho
 
SAP Quickviewer
SAP QuickviewerSAP Quickviewer
SAP Quickviewer
otchmarz
 
Sap bw lo extraction
Sap bw lo extractionSap bw lo extraction
Sap bw lo extraction
Obaid shaikh
 
Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0
gireesho
 
Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creation
young moon woo
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
Phani Kumar
 
Creating new unit of measure in sap bw
Creating new unit of measure in sap bwCreating new unit of measure in sap bw
Creating new unit of measure in sap bw
Rajat Agrawal
 
SAP HANA SPS08 Administration & Monitoring
SAP HANA SPS08 Administration & MonitoringSAP HANA SPS08 Administration & Monitoring
SAP HANA SPS08 Administration & Monitoring
SAP Technology
 
Pricing Efficiency
Pricing EfficiencyPricing Efficiency
Pricing Efficiency
Daya Nadar
 
Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflows
Hicham Khallouki
 
How to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selectionHow to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selection
Valko Arbalov
 
_Using Selective Deletion in Process Chains.pdf
_Using Selective Deletion in Process Chains.pdf_Using Selective Deletion in Process Chains.pdf
_Using Selective Deletion in Process Chains.pdf
ssuserfe1f82
 
New dimensions for_reporting
New dimensions for_reportingNew dimensions for_reporting
New dimensions for_reporting
Rahul Mahajan
 
Reporting data in alternate unit of measure in bi 7.0
Reporting data in alternate unit of measure in bi 7.0Reporting data in alternate unit of measure in bi 7.0
Reporting data in alternate unit of measure in bi 7.0
Ashwin Kumar
 
Whats new BPC 10.1 NW
Whats new BPC 10.1 NWWhats new BPC 10.1 NW
Whats new BPC 10.1 NW
fernadabrum
 
Planning guide sap business suite 7 2013 landscape implementation
Planning guide sap business suite 7 2013  landscape implementationPlanning guide sap business suite 7 2013  landscape implementation
Planning guide sap business suite 7 2013 landscape implementation
Leonardo Parpal Roig
 
Ad

Recently uploaded (20)

Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 

Maintaining aggregates

  • 1. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1 Maintaining Aggregates in BW Applies to: SAP BI/BW 7.0 and above. For more information visit the Enterprise Data Warehousing Summary This document provides an overview of the use of aggregates in the SAP Business Information Warehouse. The document gives an overview of the aggregates features and a detailed step-by-step solution to Author: Umesh Pednekar Company: Howdens Joinery Co. Created on: 31st Oct 2011 Author Bio Umesh is working as a SAP BI/ BW Analyst in Howdens Joinery co and has techno-functional experience of over 7 years in designing, developing and implementing/upgrading SAP BW-BI solutions across various Industries in India and in the UK.
  • 2. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 2 Table of Contents Overview.............................................................................................................................................................3 Aggregates..........................................................................................................................................................3 Aggregates Roll up and Change Run.................................................................................................................3 Roll up .............................................................................................................................................................3 Change Run ....................................................................................................................................................3 Building Aggregates............................................................................................................................................4 Aggregates Roll up ...........................................................................................................................................14 Roll up Through Process Chains ..................................................................................................................14 Roll up Using a Program...............................................................................................................................17 Aggregates Efficiency.......................................................................................................................................18 Switch On/Off Aggregates.............................................................................................................................18 Delete Aggregates ........................................................................................................................................19 Deactivate Aggregates..................................................................................................................................19 Compressing Aggregates..............................................................................................................................19 Related Content................................................................................................................................................21 Copyright...........................................................................................................................................................22
  • 3. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 3 Overview This document provides an overview of the use of aggregates in the SAP Business Information Warehouse. The document gives an overview of the aggregates features and a detailed step-by-step solution to - Building the aggregates on an Info cube - Rolling up the aggregates on an Info Cube. - Maintaining aggregates efficiency on an Info cube. Aggregates An aggregate is a materialized, summarized view of the data in an InfoCube. In other words, it consolidates and stores a subset of InfoCube data into a database. This subset of data is redundant and persistent. When we execute a query on an InfoCube with appropriate aggregates, the query reads the summarized data directly from the database thus eliminating the need to perform any processing related to summarization during query runtime. Needless to mention, aggregates help access Infocube data quickly during reporting. Aggregates creation sis highly recommended when: - Query execution and navigation requires speeding up. - Navigational attributes are required to be used in the queries. - Hierarchies used in the queries need to be speed up – you can aggregate on specific hierarchy levels. There are a few disadvantages of Aggregates which need to be kept in mind. - They increase load time  through data packages uploads;  through the hierarchy/attribute change run after loading master data;  through adjusting time-dependent aggregates. Aggregates Roll up and Change Run Roll up If the InfoCube has aggregates that have aggregates already filled, then data that has been recently loaded into an InfoCube is not visible for reporting, from the InfoCube or aggregates, until an aggregate roll-up takes place. During this process you can continue to report using the data that existed prior to the recent data load. The new data is only displayed by queries that are executed after a successful roll-up. Change Run A Change Run is executed only in the event of change in the master data. As changes in the master data also trigger changes in navigational attributes or hierarchies, it is recommended that data in the aggregates is adjusted after master data load. This ensures consistency in Reporting results. The change run adjusts the data in the aggregates and turns the modified version of the navigational attributes and hierarchies into an active version. During the change run process, you can carry out Reporting on old master data and hierarchies.
  • 4. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 4 Building Aggregates This section describes to processes involving in creating, filling and activating aggregates. In the DW workbench select the InfoCube you wish to create the aggregates on in the Modeling-InfoProvider tab. Right click and select ‘Maintain Aggregates’. You are prompted to select the option to create ‘Proposals for Aggregates’. If you select ‘Generate Proposals’ that system helps us derive the proposals for various aggregates depending on the statistics data and the input provided by you.
  • 5. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 5 For the sake of this document ,we will create the aggregates manually, so we select the option ‘Create by Yourself’. In the ‘Maintenance for Aggregates’ screen, the system displays list of characteristics, navigational attributes and hierarchies. List of Objects that qualify for creating aggregates can be viewed by expanding the dimensions in the template.
  • 6. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 6 Maintenance for Aggregates screen is used to : - Define aggregates - Obtain information about the status of individual aggregates. We will manually create aggregate on the Characteristics ‘Plant’ – 0PLANT. Select 0PLANT from the template on the left hand side and drag it onto the right hand side screen. You are prompted to enter description for the aggregate. Enter the descriptions, short and long, for the aggregate and Continue. You can now see the aggregate added onto the right hand side. ‘Red’ indicators tell us that the aggregate is not active/filled up.
  • 7. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 7 You have the option of looking at the following parameters for each of the aggregates: - Status – Could be created, changed, Save and active. - Proposed action - Filled/Switched Off – On - Could be not filled / Filled with data – Switch on or off for the queries. - Selection Type - the system aggregates according to the values of the selected objects: * All characteristic values, H Hierarchy level, F Fixed value - Hierarchy – Name of the Hierarchy selected, if any. - Fixed Value – Fixed value selected, if any. - Valuation - Records - Number of records in the filled aggregate. - Records Summarized - Number of records read on average from the source to create a record in the aggregate. (This value should never be equal to 1) - Usage - Number of uses (in queries). - Last Used - Last Roll-up - When was data last entered for the aggregate? - Last Changed on From the top-menu , select ‘Aggregate’ tab which displays a list of sub-menu.
  • 8. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 8 Select ‘Activate and Fill’ . Post processing that could take a few minutes, we are now prompted to run the Aggregates filling and activation job. You can also schedule Parallel run of Initial Fill of Aggregates. Select the option from the menu at the bottom of the screen. Select the desired value as applicable (in particular for Number of parallel processes)
  • 9. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 9 Process Variant (Name) Name of the process. The configuration of a process of a specific type is static, which means it is determined for a definition time. It is described in the context of the process chain as a variant. A variant is always uniquely defined in connection with the type. Example The name of the InfoPackage displays the variants during the loading process. Maximum Number of All Parallel Processes for This type Number of processses of this process type on all permitted servers. Dependencies The default setting is 3. If you do not enter a value, the system chooses the default setting. If you enter 1 for PSAPROCESS (serial processing), background administration is not used. The system continues to use the old program process flow from before SAP NetWeaver 2004s. Save your selections . . To schedule Job for Aggregate Filling and activation – click on ‘Start’ which takes you to the option asking for either ‘Immediate’ run of the process or its scheduling at a ‘later’ date/time. We have selected ‘Immediate’. The process is now scheduled. Wish to check the Background job ? Select ‘Jobs’ from the options available in the bottom menu.
  • 10. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 10 Select ‘Execute’ on the Simple Job Selection screen. The aggregation job is completed successfully in our case. Wish to check the Log? Select the ‘Log’ option. You can analyze the application log.
  • 11. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 11 We go back to the Scheduling screen. Refresh the screen. Confirmation is provided over the consistency of the InfoCube.
  • 12. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 12 Refresh the screen a few times to get the latest Status and the Aggregate Filled indicators. Remember that we can create multiple aggregates based on our requirements and opt for simultaneous Activation and Fill up process. You can see that three aggregates are being considered for activation and fill up process. Select the desired aggregates and then click on the icon for ‘Activate and Fill’. Schedule the process for all the aggregates.
  • 13. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 13 Post process completion, we can see aggregates available on the InfoCube. Go back to the DW Workbench – Select the InfoCube under consideration. And refresh the tree structure to Obtain… The ‘Aggregate’ availability indicator next to the InfoCube
  • 14. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 14 Aggregates Roll up Although, aggregates can be rolled up manually, it is highly recommended that a process chain is used to execute this process. Using the data package roll up in a process chain helps eliminating errors during complex flows either by automating related processes and/or by ensuring that dependent processes are integrated with each other. Roll up Through Process Chains You can achieve this by selecting the Infocube under consideration and right click to ‘Manage’ the InfoCube. In the Manage Data Targets screen select ‘Rollup’ tab. The system recommends the greatest possible value for Rollup in the ‘Request ID’ . You can manually set the same.
  • 15. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 15 Now choose the option ‘Process Chain Maintenance’. You are now taken to the RSPC transaction screen and the list of associated process chains is displayed. If you do not have the relevant chain, you can create a new chain. We select the First chain from the list of chains made available. Double click on the desired chain to go to the ‘Process Chain Maintenance Screen’.
  • 16. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 16 We will add the Roll up process at the end of the chain i.e. After Index creation process for the InfoCube is completed. Select icon ‘Process Type’. Expand ‘Data Target Administration’ option and select the Roll up process as shown. Double click and the system prompts you to Create a Variant for the process. Select ‘Create’.
  • 17. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 17 In the Process Maintenance: Roll up of Filled Aggregates/BIA Index screen, select the Infocube for which you wish to add the roll up process – following the data load. Save and Go Back. Continue at the next screen. Make sure that the roll up process follows the desired dependent processes. Save, Activate and Schedule the Chain. Roll up Using a Program You can also roll up using program RSDDK_AGGREGATES_ROLLUP by scheduling it to run as a background job or using it in an Event Collector.
  • 18. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 18 Aggregates Efficiency If aggregates can help improve query performance they are can also prove detrimental to the overall system performance due to the increase in loading times during roll-up and change runs. It always helps to undertake an investigation that can tell you how critical an aggregate is for your queries depending on the requirement from the users. Certain parameters to consider during this process are: - At what frequency is the query executed? (If it is a weekly report – then aggregate roll up need not be a daily process – it could also be done weekly) - How critical is the query performance? - How often are the master data / hierarchy changes done? - Do we need the Change run to be directly associated with the master data/hierarchy change or can it be done at a different frequency? - If the Change run is not associated directly with master data/hierarchy changes, then how often the transaction data uploaded? If weekly then will it helps executing the change run on a weekly basis? - It always helps to build aggregates based on the real life feedback. Now this is possible only if your InfoCube has the necessary aggregates which give you an insight based on the initial response from the system – during data load and query execution. - To optimize an InfoCube, you should repeatedly check: o Whether aggregates are missing: Create new aggregates. o Whether existing aggregates are no longer being used: Delete unnecessary aggregates. Switch On/Off Aggregates You can also switch Off a specific aggregate/s for queries of the InfoCube. This can be done by accessing the specific aggregate/s in the Maintenance for Aggregates scree. Select the aggregate under consideration and then from the ‘Aggregate’ menu – go to option ‘Switch On/Off for Queries’ (or select the icon Switch On/Off) You can see that after switching off the ‘Aggregate Version’ of the Infocube the indicator in the ‘Filled/Switch Off’ is no longer shown Green.
  • 19. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 19 Delete Aggregates To deactivate the aggregate and delete the definition of the aggregate, select the aggregate to be deleted and select the delete function either with Delete or from the context menu of the aggregate. Deactivate Aggregates To delete all the data and database tables of an aggregate, select the required aggregate and choose Deactivate. The status display in the columns Status and Filled/switched off change back to . If you want to, you can activate and fill the aggregate again later. Compressing Aggregates Aggregates can be compressed when they are filled up with data or rolled up from requests in an InfoCube. To achieve this, select the Infocube and right click to ‘Manage’.
  • 20. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 20 In the Manage Data Targets screen select ‘Rollup’ tab. You can set the same compression as show below. When the compression is set, the aggregates are compressed automatically when they either filled with data or rolled up from requests. However, this means that deletion of a request from the Infocube, which is already rolled up to the aggregate, calls for deactivation and rebuilding of the aggregate. If the compression is not switched on, then the aggregates are compressed together with the InfoCube. This option helps if you wish to frequently delete requests from the Infocube. It is always recommended that aggregates are compressed automatically so that they do not become larger and detrimental to the system performance.
  • 21. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 21 Related Content Performance Tuning for Queries with Aggregates ASAP FOR BW ACCELERATOR Infocube Aggregate Status (History) Performance Optimization with Aggregates For more information visit the Enterprise Data Warehousing
  • 22. Maintaining Aggregates in BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 22 Copyright © Copyright 2011 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Oracle Corporation. JavaScript is a registered trademark of Oracle Corporation, used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.