Top Banner
BEx Query Designer Unit 2: First Steps in the BEx Query Designer 7/17/2007
16
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: BI L3 BEx Query Designer Unit 2

BEx Query DesignerBEx Query Designer

Unit 2: First Steps in the BEx Query Designer

7/17/2007

Page 2: BI L3 BEx Query Designer Unit 2

Slide 2

What is Business Explorer (BEx) Query Designer?What is Business Explorer (BEx) Query Designer?

BEx Query Designer is an independent tool for defining queries that are based on a selection of characteristics and key figures (InfoObjects) or on reusable InfoProvider structures in SAP Business Information Warehouse (BW).

In BEx Query Designer, you can parameterize queries by defining variables for characteristic values, hierarchies, hierarchy nodes, texts or formulas.

You can specify the selection of InfoObjects more precisely by:– Restricting characteristics and key figures by characteristic

values, characteristic value intervals, and hierarchy nodes– Defining calculated and restricted key figures for reuse– Defining structures for reuse– Defining exceptions– Defining conditions– Defining exception cells

Page 3: BI L3 BEx Query Designer Unit 2

Slide 3

Opening BEx Query DesignerOpening BEx Query Designer

From your desktop, click Start | All Programs | Business Explorer | Business Explorer (SAP BW 3.x) | Query Designer (SAP BW 3.x).

From within BEx Analyzer, click on Tools and select Query Designer from the BEx toolbar, or if you wish to modify the currently opened query, click on Change query and select Change query (global definition).

Page 4: BI L3 BEx Query Designer Unit 2

Slide 4

BEx Query Designer ToolbarBEx Query Designer Toolbar

Page 5: BI L3 BEx Query Designer Unit 2

Slide 5

Creating a QueryCreating a Query

To define a new query, open Query Designer and click the New Query button.

In the New Query: Select InfoProvider dialog box, select the required InfoProvider.

Page 6: BI L3 BEx Query Designer Unit 2

Slide 6

Creating a QueryCreating a Query

1. Directory tree of the selected InfoProviderAll available objects (dimensions, key figures, structures) for the selected InfoProvider.

2. ColumnsYou define the columns of your report in this area.

3. RowsYou define the rows of your report in this area.

4. Free CharacteristicsFree characteristics are initially displayed in the navigation block when you execute the query in BEx Analyzer or on the Web. You can then integrate these characteristics through navigation steps or for selecting filter values in the report.

5. FilterThese characteristics are only used as global filters on the cube data and are not displayed in the report.

6. PreviewProvides a preview of the query results area.

Page 7: BI L3 BEx Query Designer Unit 2

Slide 7

Creating a QueryCreating a Query

Page 8: BI L3 BEx Query Designer Unit 2

Slide 8

Creating a QueryCreating a Query

Once you have defined a query, choose Save Query or Save Query As...

Save the query to your Favorites using the IP naming convention AHQ_ + Author’s Initials_ + Query Technical Name_ + Q001, Q002, …

Page 9: BI L3 BEx Query Designer Unit 2

Slide 9

Creating a QueryCreating a Query

Click Display Query on the Webto execute the query in your Webbrowser.

If you opened the query from within Bex Analyzer, click Quit and Use Query to execute the changed query in BEx Analyzer.

Page 10: BI L3 BEx Query Designer Unit 2

Slide 10

Finding a QueryFinding a Query

From within the Open Query dialog box, click Find.

Search by query technical name, description, or both.

Search only for a specific InfoProvider.

Search by user and/or created/modified date.

Page 11: BI L3 BEx Query Designer Unit 2

Slide 11

Changing a QueryChanging a Query

From within Query Designer, click Open Query and choose a query to open.

You will only be able to modify queries that you created using the IP naming convention AHQ_ + Author’s Initials_ + Query Technical Name_ + Q001, Q002, …

From within Bex Analyzer, click Change query and choose Change Query (Global Definition) to change the global query definition.

Click Change query and choose Change Query (Local View) to change navigation in the report only.

Page 12: BI L3 BEx Query Designer Unit 2

Slide 12

Filtering Data in the Query Definition Filtering Data in the Query Definition

You can restrict (filter) the characteristic values of a characteristic in the Rows, Columns, Free characteristics, and in the Filter.

Right-click on the characteristicin the query definitions and choose Restrict.

A restriction on a free characteristic affects the entire query, even if the free characteristic is not in the drilldown.

Characteristics in the global filter appear neither in the drilldown nor as free characteristics in the analysis.

Heads Up!

Page 13: BI L3 BEx Query Designer Unit 2

Slide 13

InfoProviders in SAP BW ReportingInfoProviders in SAP BW Reporting

InfoCubeCentral evaluation object for reports about aggregated (compressed) data.

ODS ObjectStore consolidated and cleansed data on a detailed (atomic) level in flat database tables.

Characteristic InfoObjectCan have tables into which the master data information (attributes, texts, hierarchies) is loaded from the source system.

Remote CubeInfoCube whose transaction data is not physically managed in SAP BW, but stored externally in the source system.

BW InfoSetDo not have a data store of their own, but instead connect flat tables using joins and, therefore, provide an additional semantic layer (reporting-relevant view) for BEx reporting.

MultiProviderCombines data from several InfoProviders and makes it available for use in reporting.

Page 14: BI L3 BEx Query Designer Unit 2

Slide 14

InfoProviders in Query Designer InfoProviders in Query Designer

InfoCube Elements

– Key Figures• Calculated Key Figures• Restricted Key Figures

– Dimensions• Characteristics

– Attributes

– Characteristic Value Variables

– Values

Page 15: BI L3 BEx Query Designer Unit 2

Slide 15

InfoProviders in Query Designer InfoProviders in Query Designer

Characteristic InfoProvider and ODS Object Elements

– Key Figures• Number of Records (1ROWCOUNT)

– Dimensions• Characteristic InfoProviders

– Attributes

– Key Part

• ODS Objects– Data Part

– Key Part

Page 16: BI L3 BEx Query Designer Unit 2

Slide 16

InfoProviders in Query Designer InfoProviders in Query Designer

InfoSet Elements– Key Figures

• Number of Records (1ROWCOUNT)

– Dimensions• Attributes• Key Part

MultiProvider Elements– Key Figures

• Number of Records (1ROWCOUNT)(if one of the InfoProviders included already contains this key figure, for example, in ODS objects)

– Dimensions• Data Package

– InfoProvider (0INFOPROV)