BEx Query Designer |


Published on

Download this slide from

Want to get more SAP Documents ? Visit

Published in: Technology
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

BEx Query Designer |

  1. 1. BEx Query Designer Unit 2: First Steps in the BEx Query Designer 7/17/2007
  2. 2. What is Business Explorer (BEx) Query Designer? <ul><li>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). </li></ul><ul><li>In BEx Query Designer , you can parameterize queries by defining variables for characteristic values, hierarchies, hierarchy nodes, texts or formulas. </li></ul><ul><li>You can specify the selection of InfoObjects more precisely by: </li></ul><ul><ul><li>Restricting characteristics and key figures by characteristic values, characteristic value intervals, and hierarchy nodes </li></ul></ul><ul><ul><li>Defining calculated and restricted key figures for reuse </li></ul></ul><ul><ul><li>Defining structures for reuse </li></ul></ul><ul><ul><li>Defining exceptions </li></ul></ul><ul><ul><li>Defining conditions </li></ul></ul><ul><ul><li>Defining exception cells </li></ul></ul>
  3. 3. Opening BEx Query Designer <ul><li>From your desktop, click Start | All Programs | Business Explorer | Business Explorer (SAP BW 3.x) | Query Designer (SAP BW 3.x) . </li></ul>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) .
  4. 4. BEx Query Designer Toolbar
  5. 5. Creating a Query <ul><li>To define a new query, open Query Designer and click the New Query button. </li></ul><ul><li>In the New Query: Select InfoProvider dialog box, select the required InfoProvider. </li></ul>
  6. 6. Creating a Query <ul><li>Directory tree of the selected InfoProvider All available objects (dimensions, key figures, structures) for the selected InfoProvider. </li></ul><ul><li>Columns You define the columns of your report in this area. </li></ul><ul><li>Rows You define the rows of your report in this area. </li></ul><ul><li>Free Characteristics Free 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. </li></ul><ul><li>Filter These characteristics are only used as global filters on the cube data and are not displayed in the report. </li></ul><ul><li>Preview Provides a preview of the query results area. </li></ul>
  7. 7. Creating a Query
  8. 8. Creating a Query <ul><li>Once you have defined a query, choose Save Query or Save Query As... </li></ul><ul><li>Save the query to your Favorites using the IP naming convention AHQ_ + Author’s Initials_ + Query Technical Name_ + Q001 , Q002 , … </li></ul>
  9. 9. Creating a Query <ul><li>Click Display Query on the Web to execute the query in your Web browser. </li></ul>If you opened the query from within Bex Analyzer, click Quit and Use Query to execute the changed query in BEx Analyzer.
  10. 10. Finding a Query <ul><li>From within the Open Query dialog box, click Find . </li></ul>Search by query technical name, description, or both. Search only for a specific InfoProvider. Search by user and/or created/modified date.
  11. 11. Changing a Query <ul><li>From within Query Designer, click Open Query and choose a query to open. </li></ul><ul><li>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 , … </li></ul>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.
  12. 12. Filtering Data in the Query Definition <ul><li>You can restrict (filter) the characteristic values of a characteristic in the Rows , Columns , Free characteristics , and in the Filter . </li></ul><ul><li>Right-click on the characteristic in the query definitions and choose Restrict . </li></ul><ul><ul><li>A restriction on a free characteristic affects the entire query, even if the free characteristic is not in the drilldown. </li></ul></ul><ul><ul><li>Characteristics in the global filter appear neither in the drilldown nor as free characteristics in the analysis. </li></ul></ul>Heads Up!
  13. 13. InfoProviders in SAP BW Reporting InfoCube Central evaluation object for reports about aggregated (compressed) data. ODS Object Store consolidated and cleansed data on a detailed (atomic) level in flat database tables. Characteristic InfoObject Can have tables into which the master data information (attributes, texts, hierarchies) is loaded from the source system . Remote Cube InfoCube whose transaction data is not physically managed in SAP BW, but stored externally in the source system . BW InfoSet Do 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. MultiProvider Combines data from several InfoProviders and makes it available for use in reporting.
  14. 14. InfoProviders in Query Designer <ul><li>InfoCube Elements </li></ul><ul><ul><li>Key Figures </li></ul></ul><ul><ul><ul><li>Calculated Key Figures </li></ul></ul></ul><ul><ul><ul><li>Restricted Key Figures </li></ul></ul></ul><ul><ul><li>Dimensions </li></ul></ul><ul><ul><ul><li>Characteristics </li></ul></ul></ul><ul><ul><ul><ul><li>Attributes </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Characteristic Value Variables </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Values </li></ul></ul></ul></ul>
  15. 15. InfoProviders in Query Designer <ul><li>Characteristic InfoProvider and ODS Object Elements </li></ul><ul><ul><li>Key Figures </li></ul></ul><ul><ul><ul><li>Number of Records (1ROWCOUNT) </li></ul></ul></ul><ul><ul><li>Dimensions </li></ul></ul><ul><ul><ul><li>Characteristic InfoProviders </li></ul></ul></ul><ul><ul><ul><ul><li>Attributes </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Key Part </li></ul></ul></ul></ul><ul><ul><ul><li>ODS Objects </li></ul></ul></ul><ul><ul><ul><ul><li>Data Part </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Key Part </li></ul></ul></ul></ul>
  16. 16. InfoProviders in Query Designer <ul><li>InfoSet Elements </li></ul><ul><ul><li>Key Figures </li></ul></ul><ul><ul><ul><li>Number of Records (1ROWCOUNT) </li></ul></ul></ul><ul><ul><li>Dimensions </li></ul></ul><ul><ul><ul><li>Attributes </li></ul></ul></ul><ul><ul><ul><li>Key Part </li></ul></ul></ul><ul><li>MultiProvider Elements </li></ul><ul><ul><li>Key Figures </li></ul></ul><ul><ul><ul><li>Number of Records (1ROWCOUNT) (if one of the InfoProviders included already contains this key figure, for example, in ODS objects) </li></ul></ul></ul><ul><ul><li>Dimensions </li></ul></ul><ul><ul><ul><li>Data Package </li></ul></ul></ul><ul><ul><ul><ul><li>InfoProvider (0INFOPROV ) </li></ul></ul></ul></ul>