21
[ Implementing Aggregate Awareness in SAP BusinessObjects 3.1 Michael Ward Creative Technology and Training Solutions, LLC

5004 implementing aggregate_awareness_in_sap_business_objects

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: 5004 implementing aggregate_awareness_in_sap_business_objects

[ Implementing Aggregate Awareness in SAP BusinessObjects 3.1 Michael WardCreative Technology and Training Solutions, LLC

Page 2: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Presentation Objectives/Agenda The importance of Aggregate Awareness, which takes

advantage of database summary tables, speeding up report queries

Summary tables and adding them to the universe The @Aggregate Aware Function, how it works, and how

query efficiency is improved through its use Redefining objects: How to apply @Aggregate Aware to

the Select statement SQL Detecting Incompatibility and setting objects to be

compatible with the Summary tables Testing Aggregate Awareness with the report tool

© 2011– Creative Technology and Training Solutions, LLC 1 - 2Real Experience. Real Advantage.

Page 3: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Aggregate Awareness

What Is Aggregate Awareness?Summary TablesUse @Aggregate_Aware FunctionDetect IncompatibilityAggregate Awareness Testing

© 2011– Creative Technology and Training Solutions, LLC 1 - 3Real Experience. Real Advantage.

Page 4: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Aggregate Awareness

Process That Incorporates Higher Level Aggregation (Summary Tables) into UniverseSpeeds up Queries That Contain

Statistics Reported at Higher Levels (i.e. Year)

© 2011– Creative Technology and Training Solutions, LLC 1 - 4Real Experience. Real Advantage.

Page 5: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Aggregate AwarenessSummary TablesMay or May Not Actually Be Joined to

Detail Tables in Universe

Table Containing Summary

(Aggregated) Amounts

© 2011– Creative Technology and Training Solutions, LLC 1 - 5Real Experience. Real Advantage.

Page 6: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Summary Tables

Store Data at Higher Level Than Detail (Fact) Tables Increase Processing EfficiencyFewer Rows RetrievedFew If Any Calculations RequiredFew or No Joins

© 2011– Creative Technology and Training Solutions, LLC 1 - 6Real Experience. Real Advantage.

Page 7: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Apply Aggregate Awareness

Insert Summary Tables into UniverseAdd Joins, Set Cardinality (If Needed)Redefine or Create Objects Using

@Aggregate_AwareDefine Compatible/Incompatible

Objects Using Aggregate Navigation

© 2011– Creative Technology and Training Solutions, LLC 1 - 7Real Experience. Real Advantage.

Page 8: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

@Aggregate_Aware

Can Be Used with Aggregates (Measures) and DimensionsSelects Information from Most

Aggregated to Least Aggregated (Summary to Detailed)

© 2011– Creative Technology and Training Solutions, LLC 1 - 8Real Experience. Real Advantage.

Page 9: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Apply Aggregate Awareness

Redefine Objects

1. Edit Object to Redefine

4. Click OK

Last Definition for @Aggregate_Aware Function Must Be Valid for All Queries

2. Redefine Select Statement Using

@Aggregate_Aware Function, Summary Column First, Detail

Column Second

3. Parse to Check Syntax

5. Click OK

© 2011– Creative Technology and Training Solutions, LLC 1 - 9Real Experience. Real Advantage.

Page 10: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Apply Aggregate Awareness

Defining Compatible Objects

1. Select Tools Aggregate Navigation

Note: Summary Table Not Joined, All Other Tables Incompatible

3. Click Detect Incompatibility (Only

Once)

2. Select Summary Table

4. Incompatible Objects Are

Displayed With Check Mark

Next To Them

6. Click OK, Save Universe

5. Uncheck Objects if Necessary

© 2011– Creative Technology and Training Solutions, LLC 1 - 10Real Experience. Real Advantage.

Page 11: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Detect Incompatibility

Checks SQL Statement for Columns from Selected TableCheck Incompatible Settings at least

onceSet On or Off Manually as NecessaryCheck All Necessary Tables

© 2011– Creative Technology and Training Solutions, LLC 1 - 11Real Experience. Real Advantage.

Page 12: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Aggregate Awareness

Testing Using Desktop Intelligence™

Only Revenue Selected, Business Objects™ Uses

Summary Table

Resort and Revenue Selected, Business Objects™ Uses

Detail Tables

© 2011– Creative Technology and Training Solutions, LLC 1 - 12Real Experience. Real Advantage.

Page 13: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Aggregate AwarenessDerived TablesSQL Used to Create View Like Table

1. Right Mouse Click In Structure Window and Select Derived

Tables

© 2011– Creative Technology and Training Solutions, LLC 1 - 13Real Experience. Real Advantage.

Page 14: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Aggregate AwarenessDerived Tables

2. Name the Table

3. Enter the SQL or Copy SQL From File Using

Copy/Paste

5. Click OK

4. Check Syntax

© 2011– Creative Technology and Training Solutions, LLC 1 - 14Real Experience. Real Advantage.

Page 15: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Aggregate AwarenessAdding to Aggregate Awareness

6. New Derived Table Created

© 2011– Creative Technology and Training Solutions, LLC 1 - 15Real Experience. Real Advantage.

Page 16: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Aggregate AwarenessAdding to Aggregate Awareness

7. New Column from New Table added to

@Aggregate Aware Objects

© 2011– Creative Technology and Training Solutions, LLC 1 - 16Real Experience. Real Advantage.

Page 17: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Aggregate AwarenessSetting Aggregate Navigation

8. Select Tools / Aggregate Navigation

9. Select New Derived Table

10. Click Detect Incompatibility (Only

Once)

11. Uncheck Columns if Necessary

12 Click OK

© 2011– Creative Technology and Training Solutions, LLC 1 - 17Real Experience. Real Advantage.

Page 18: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Aggregate AwarenessTest Using Desktop Intelligence

Objects Coming From Derived Table

Note: Test Done After Invoice Month had been Made Aggregate Aware Using the New Derived Table

Addition of Invoice Date Causes Aggregate Aware

Objects to Use Fact Based Columns

© 2011– Creative Technology and Training Solutions, LLC 1 - 18Real Experience. Real Advantage.

Page 19: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Presentation Objectives/Agenda The importance of Aggregate Awareness, which takes

advantage of database summary tables, speeding up report queries

Summary tables and adding them to the universe The @Aggregate Aware Function, how it works, and how

query efficiency is improved through its use Redefining objects: How to apply @Aggregate Aware to

the Select statement SQL Detecting Incompatibility and setting objects to be

compatible with the Summary tables Testing Aggregate Awareness with the report tool

© 2011– Creative Technology and Training Solutions, LLC 1 - 19Real Experience. Real Advantage.

Page 20: 5004 implementing aggregate_awareness_in_sap_business_objects

Aggregate Awareness 3.1

Contact Information:

Real Experience. Real Advantage. © 2011– Creative Technology and Training Solutions, LLC 1 - 20Real Experience. Real Advantage.

Michael WardCreative Technology and Training Solutions, LLC56132 ParkviewShelby Twp., MI 48316

(586) 677-8300 Office(586) 677-8301 Fax(586) 484-5523 Cell

www.cttsbi.com

Email: [email protected]

Page 21: 5004 implementing aggregate_awareness_in_sap_business_objects

Real Experience. Real Advantage.

[

21

[

] Thank you for participating.

SESSION CODE: 5004

Please remember to complete and return your evaluation form following this session.

For ongoing education on this area of focus, visit the Year-Round Community page at www.asug.com/yrc