SlideShare uma empresa Scribd logo
1 de 22
Baixar para ler 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.

Mais conteúdo relacionado

Mais procurados

LSMW Tutorial (Spanish Espanol)
LSMW Tutorial (Spanish Espanol)LSMW Tutorial (Spanish Espanol)
LSMW Tutorial (Spanish Espanol)sapdocs. info
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorialraonivaz
 
08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overviewsapdocs. info
 
Ecc plan & edd plan in Oracle ASCP
Ecc plan & edd plan in Oracle ASCPEcc plan & edd plan in Oracle ASCP
Ecc plan & edd plan in Oracle ASCPFrank Peng彭成奎
 
Workbench and customising request
Workbench and customising requestWorkbench and customising request
Workbench and customising requestlakshmi rajkumar
 
How to add new Object Link in SAP DMS
How to add new Object Link in SAP DMSHow to add new Object Link in SAP DMS
How to add new Object Link in SAP DMSAssaf Sheinrok
 
Lsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishnaLsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishnaHari Krishna
 
Kp26 plan activity output on cost center
Kp26 plan activity output on cost centerKp26 plan activity output on cost center
Kp26 plan activity output on cost centerZakir Chowdhury
 
Oracle Forms Creation-List of Values (LOV)
Oracle Forms Creation-List of Values (LOV)Oracle Forms Creation-List of Values (LOV)
Oracle Forms Creation-List of Values (LOV)Sekhar Byna
 
Sap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantSap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantAnkit Sharma
 
Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Ahmed Elshayeb
 
0104 abap dictionary
0104 abap dictionary0104 abap dictionary
0104 abap dictionaryvkyecc1
 
Customizig sap - img do material ledger
Customizig sap - img do material ledgerCustomizig sap - img do material ledger
Customizig sap - img do material ledgerrenata villela
 
Oracle EBS: P2P with EBS Payables and Non-EBS Procurement
Oracle EBS: P2P with EBS Payables and Non-EBS ProcurementOracle EBS: P2P with EBS Payables and Non-EBS Procurement
Oracle EBS: P2P with EBS Payables and Non-EBS ProcurementEric Guether
 

Mais procurados (20)

Wip back flush
Wip back flushWip back flush
Wip back flush
 
LSMW Tutorial (Spanish Espanol)
LSMW Tutorial (Spanish Espanol)LSMW Tutorial (Spanish Espanol)
LSMW Tutorial (Spanish Espanol)
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorial
 
Sap edi idoc
Sap edi idocSap edi idoc
Sap edi idoc
 
08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview
 
Ecc plan & edd plan in Oracle ASCP
Ecc plan & edd plan in Oracle ASCPEcc plan & edd plan in Oracle ASCP
Ecc plan & edd plan in Oracle ASCP
 
Sap query for task list data extraction
Sap query for task list data extractionSap query for task list data extraction
Sap query for task list data extraction
 
Sla and cost acctg
Sla and cost acctgSla and cost acctg
Sla and cost acctg
 
Workbench and customising request
Workbench and customising requestWorkbench and customising request
Workbench and customising request
 
How to add new Object Link in SAP DMS
How to add new Object Link in SAP DMSHow to add new Object Link in SAP DMS
How to add new Object Link in SAP DMS
 
Lsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishnaLsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishna
 
Encumbrance Accounting
Encumbrance AccountingEncumbrance Accounting
Encumbrance Accounting
 
Kp26 plan activity output on cost center
Kp26 plan activity output on cost centerKp26 plan activity output on cost center
Kp26 plan activity output on cost center
 
Oracle Forms Creation-List of Values (LOV)
Oracle Forms Creation-List of Values (LOV)Oracle Forms Creation-List of Values (LOV)
Oracle Forms Creation-List of Values (LOV)
 
Sap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantSap User Exit for Functional Consultant
Sap User Exit for Functional Consultant
 
Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12
 
0104 abap dictionary
0104 abap dictionary0104 abap dictionary
0104 abap dictionary
 
Business Area in SAP FI
Business Area in SAP FIBusiness Area in SAP FI
Business Area in SAP FI
 
Customizig sap - img do material ledger
Customizig sap - img do material ledgerCustomizig sap - img do material ledger
Customizig sap - img do material ledger
 
Oracle EBS: P2P with EBS Payables and Non-EBS Procurement
Oracle EBS: P2P with EBS Payables and Non-EBS ProcurementOracle EBS: P2P with EBS Payables and Non-EBS Procurement
Oracle EBS: P2P with EBS Payables and Non-EBS Procurement
 

Destaque

Destaque (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
 

Semelhante a Maintaining aggregates

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.0gireesho
 
Sap bw lo extraction
Sap bw lo extractionSap bw lo extraction
Sap bw lo extractionObaid 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.0gireesho
 
Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creationyoung moon woo
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by stepPhani 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 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
 

Semelhante a 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
 
Sap bw lo extraction
Sap bw lo extractionSap bw lo extraction
Sap bw lo extraction
 
Usgage of ABAP in BI
Usgage of ABAP in BIUsgage of ABAP in BI
Usgage of ABAP in BI
 
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
 
Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creation
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
 
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
 

Último

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"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
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
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
 

Último (20)

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"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...
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
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
 

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.