SlideShare a Scribd company logo
1 of 22
Download to read offline
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.

More Related Content

What's hot

SAP BW - Data store objects
SAP BW - Data store objectsSAP BW - Data store objects
SAP BW - Data store objectsYasmin Ashraf
 
Lo extraction part 4 update methods
Lo extraction   part 4 update methodsLo extraction   part 4 update methods
Lo extraction part 4 update methodsJNTU University
 
Beginner's guide create a custom 'copy' planning function type
Beginner's guide  create a custom 'copy' planning function typeBeginner's guide  create a custom 'copy' planning function type
Beginner's guide create a custom 'copy' planning function typeNaveen Kumar Kotha
 
Call transaction method
Call transaction methodCall transaction method
Call transaction methodKranthi Kumar
 
SAP BW - Info object catalog
SAP BW - Info object catalogSAP BW - Info object catalog
SAP BW - Info object catalogYasmin Ashraf
 
Line item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionLine item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionPraveen Kumar
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by stepPhani Kumar
 
Using infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerUsing infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerbsm fico
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorialraonivaz
 
Planning learn step by step
Planning learn step by stepPlanning learn step by step
Planning learn step by stepksrajakumar
 
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30Sabyasachi Das
 
Lo extraction part 3 extractor logic
Lo extraction   part 3 extractor logicLo extraction   part 3 extractor logic
Lo extraction part 3 extractor logicJNTU University
 
SAP Quickviewer
SAP QuickviewerSAP Quickviewer
SAP Quickviewerotchmarz
 
SAP Fiori Interview Q& A - IQ Online Training
SAP Fiori Interview Q& A - IQ Online TrainingSAP Fiori Interview Q& A - IQ Online Training
SAP Fiori Interview Q& A - IQ Online TrainingIQ Online Training
 
LSMW Tutorial (Spanish Espanol)
LSMW Tutorial (Spanish Espanol)LSMW Tutorial (Spanish Espanol)
LSMW Tutorial (Spanish Espanol)sapdocs. info
 
Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6bluechxi
 

What's hot (20)

SAP BW - Data store objects
SAP BW - Data store objectsSAP BW - Data store objects
SAP BW - Data store objects
 
Lo extraction part 4 update methods
Lo extraction   part 4 update methodsLo extraction   part 4 update methods
Lo extraction part 4 update methods
 
Beginner's guide create a custom 'copy' planning function type
Beginner's guide  create a custom 'copy' planning function typeBeginner's guide  create a custom 'copy' planning function type
Beginner's guide create a custom 'copy' planning function type
 
Call transaction method
Call transaction methodCall transaction method
Call transaction method
 
SAP BW - Info object catalog
SAP BW - Info object catalogSAP BW - Info object catalog
SAP BW - Info object catalog
 
Usgage of ABAP in BI
Usgage of ABAP in BIUsgage of ABAP in BI
Usgage of ABAP in BI
 
Line item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionLine item dimension and high cardinality dimension
Line item dimension and high cardinality dimension
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
 
Using infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerUsing infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewer
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorial
 
Process chain
Process chainProcess chain
Process chain
 
Planning learn step by step
Planning learn step by stepPlanning learn step by step
Planning learn step by step
 
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
 
Calculation order
Calculation orderCalculation order
Calculation order
 
Lo extraction part 3 extractor logic
Lo extraction   part 3 extractor logicLo extraction   part 3 extractor logic
Lo extraction part 3 extractor logic
 
SAP Quickviewer
SAP QuickviewerSAP Quickviewer
SAP Quickviewer
 
SAP Fiori Interview Q& A - IQ Online Training
SAP Fiori Interview Q& A - IQ Online TrainingSAP Fiori Interview Q& A - IQ Online Training
SAP Fiori Interview Q& A - IQ Online Training
 
LSMW Tutorial (Spanish Espanol)
LSMW Tutorial (Spanish Espanol)LSMW Tutorial (Spanish Espanol)
LSMW Tutorial (Spanish Espanol)
 
SAP BW - Info cube
SAP BW - Info cubeSAP BW - Info cube
SAP BW - Info cube
 
Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6
 

Viewers also liked

Viewers also liked (16)

Lp pp new
Lp pp newLp pp new
Lp pp new
 
Inquiry 3 semester 2
Inquiry 3 semester 2Inquiry 3 semester 2
Inquiry 3 semester 2
 
Informe agosto 2011
Informe agosto 2011Informe agosto 2011
Informe agosto 2011
 
Lettura
LetturaLettura
Lettura
 
Lettura
LetturaLettura
Lettura
 
Last
LastLast
Last
 
Banks
BanksBanks
Banks
 
Banks
BanksBanks
Banks
 
Scuola
ScuolaScuola
Scuola
 
Banks
BanksBanks
Banks
 
Grammatica
GrammaticaGrammatica
Grammatica
 
Whoami
WhoamiWhoami
Whoami
 
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)
 
3 lingua
3 lingua3 lingua
3 lingua
 
Surface subsidence associated with block caving
Surface subsidence associated with block cavingSurface subsidence associated with block caving
Surface subsidence associated with block caving
 
The faerie queene
The faerie queeneThe faerie queene
The faerie queene
 

Similar to Maintaining aggregates

Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creationyoung moon woo
 
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 bwRajat 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 EfficiencyDaya 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 workflowsHicham 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 selectionValko 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.pdfssuserfe1f82
 
New dimensions for_reporting
New dimensions for_reportingNew dimensions for_reporting
New dimensions for_reportingRahul 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.0Ashwin Kumar
 
Whats new BPC 10.1 NW
Whats new BPC 10.1 NWWhats new BPC 10.1 NW
Whats new BPC 10.1 NWfernadabrum
 
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 implementationLeonardo Parpal Roig
 
Journals SAP BPC 7
Journals SAP BPC 7Journals SAP BPC 7
Journals SAP BPC 7khalimail
 
CO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdfCO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdfssuser878ec2
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodologyJNTU University
 
How to find_information_on_sap_eam
How to find_information_on_sap_eamHow to find_information_on_sap_eam
How to find_information_on_sap_eamNguyen Hai
 
BI4.2 SP06 and Beyond: The Future of SAP BusinessObjects Webi
BI4.2 SP06 and Beyond: The Future of SAP BusinessObjects WebiBI4.2 SP06 and Beyond: The Future of SAP BusinessObjects Webi
BI4.2 SP06 and Beyond: The Future of SAP BusinessObjects WebiWiiisdom
 
James Jara Portfolio 2014 - Enterprise datagrid - Part 3
James Jara Portfolio 2014  - Enterprise datagrid - Part 3James Jara Portfolio 2014  - Enterprise datagrid - Part 3
James Jara Portfolio 2014 - Enterprise datagrid - Part 3James Jara
 

Similar to Maintaining aggregates (20)

Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creation
 
Query
QueryQuery
Query
 
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
 
SAP HANA SPS08 Administration & Monitoring
SAP HANA SPS08 Administration & MonitoringSAP HANA SPS08 Administration & Monitoring
SAP HANA SPS08 Administration & Monitoring
 
Pricing Efficiency
Pricing EfficiencyPricing Efficiency
Pricing Efficiency
 
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
 
Asset accounting
Asset accountingAsset accounting
Asset accounting
 
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
 
_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
 
New dimensions for_reporting
New dimensions for_reportingNew dimensions for_reporting
New dimensions for_reporting
 
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
 
Whats new BPC 10.1 NW
Whats new BPC 10.1 NWWhats new BPC 10.1 NW
Whats new BPC 10.1 NW
 
SAP BOBJ Rapid Marts Overview I
SAP BOBJ Rapid Marts Overview ISAP BOBJ Rapid Marts Overview I
SAP BOBJ Rapid Marts Overview I
 
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
 
Journals SAP BPC 7
Journals SAP BPC 7Journals SAP BPC 7
Journals SAP BPC 7
 
CO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdfCO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdf
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodology
 
How to find_information_on_sap_eam
How to find_information_on_sap_eamHow to find_information_on_sap_eam
How to find_information_on_sap_eam
 
BI4.2 SP06 and Beyond: The Future of SAP BusinessObjects Webi
BI4.2 SP06 and Beyond: The Future of SAP BusinessObjects WebiBI4.2 SP06 and Beyond: The Future of SAP BusinessObjects Webi
BI4.2 SP06 and Beyond: The Future of SAP BusinessObjects Webi
 
James Jara Portfolio 2014 - Enterprise datagrid - Part 3
James Jara Portfolio 2014  - Enterprise datagrid - Part 3James Jara Portfolio 2014  - Enterprise datagrid - Part 3
James Jara Portfolio 2014 - Enterprise datagrid - Part 3
 

Recently uploaded

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 

Recently uploaded (20)

Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 

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.