.................... Defining Jump Targets ... Using Text Elements ......... Business Explorer ( BEx ) Tools ....2 3.......7 3...................3 Overview ............11 Auto-Refreshing Workbooks ...................................................3 6..12 2.................. Query Designer Layout ..................9 Inserting Additional DataProviders ..................... Creating Custom Templates ............ 4 2 The BEx Query Designer 2...........3 4.......6 3......14 11 11 12 Creating Web Applications 4....... Overview of the BEx Query Designer ............................3 2............ Summary ........ ........................................4 Basics of Data Warehousing ...................................11 2.......... 3 Creating High Impact Workbooks 3.....1 4. Basics of BW Design ........6 4... BEx Report Designer ......8 2....... ...7 2.SAP Business Explorer (BEx) Tools Peter Scott Contents Acknowledgements 1 .......3 1.. Creating a Basic Query Definition . ............................... Designer ( WAD ) ...1 3....5 Changes to the Web Application Overview of the BEx Analyzer ........ 5 Report-Report Interfacing ( RRI ) 5.... Summary ............. Executing a Query ................................... SAP Protection ................ Creating a Web Template ............... Integration with Microsoft Excel .............4 3................ BEx Web Analyzer Context Menu .....1 6...8 4........ .....5 2......2 5........................ Saving and Distributing Workbooks .... Using the BEx Query Designer Toolbar .................................................. Printing Web Applications .......... Manual Access .......................................................1 5............................6 2...... 2 3 3 3 5 9 3.....2 1.. Using Characteristic Variables .....sap-press............... Restricted and Calculated Key Figures .................................. Summary ....... Advanced Calculations .... Summary ..................2 6.... Accessing InfoProviders .5 4..2 4....................................2 2......... Changes to the BEx Query Designer ............................. Overview of the Web Application Designer ............... Query Properties . Publishing Web Templates ......................................................9 2..............................................7 4... 33 34 36 37 37 38 39 39 43 44 44 48 48 49 49 50 51 52 52 53 53 53 56 57 57 58 60 62 64 Fundamentals of BW Reporting 1................10 2.....3 3............ ........................13 2.1 2......................... Creating Exceptions ........1 1..... Deleting and Detaching Results ......................................... Creating Conditions . Summary ................................5 6 NetWeaver 2004s BI Overview 6.................4 BEx Web Analyzer ......8 3...4 6..............com 1 .. Using Structures ......4 2... Creating a Workbook with Multiple Reports ........... Creating Fixed Query Dimensions ... Changes to the BEx Broadcaster .............. ................................10 3............. Creating a Web Template ......9 3.... www... 16 20 20 21 22 24 25 26 27 29 29 29 29 30 33 13 14 15 4.............. Changes to the BEx Analyzer .................................................... Web Application Designer Layout .. Wizard Access ........................

....... I love you............9 The BI Accelerator ( BIA ) .. ..... Don and Valorie........ Remodeling InfoCubes . 2 © Galileo Press 2006........... Looking Ahead .....................6....... Visual Composer ....................... All rights reserved........... who inspires me each and every day of my life... 64 65 65 66 Glossary Index ..................7 6.......................8 6................. 67 69 ................... Acknowledgements This book is dedicated to my parents...............................6 6........................... Bobbi. who have always been there to support and motivate me at every turn and to my lovely wife....

com 3 . or another SAP BW environment. Operational Data Stores ( ODS ). where BW users can access them. This three-tier configuration separates development work from a live system.1 Basics of Data Warehousing What are my year-to-date sales figures? How will my year-end look? For many reasons. Transformation. A data warehouse is also commonly referred to as a: Data Mart Corporate Information Factory ( CIF ) Decision Support System ( DSS ) Business Intelligence ( BI ) Business Warehouse ( BW ) One of the largest sources of data is typically an Enterprise Resource Planning ( ERP ) system.sap-press. Database layer Consists of InfoCubes. MultiCubes. information was once nearly impossible to extract from applications. which enables DW users to analyze data trends. and then from DEV to PROD. ODS. SAP BW has a three-tiered architecture. whereby users can easily extract and analyze information for management decisions. The process of migrating data from an ERP system to a data warehouse is usually referred to as Extraction. little historical information could be stored. transforming. and allows for sufficient testing with real data in the QA system. and Master Data Objects that can be reported on. This layer also includes the Administrator Workbench. and Master Data. which request data from the BW database. and storing data from disparate systems into one common location. and the data that was stored was often inaccessible. and Production ( PROD ) server. These difficulties led to the concept of a Data Warehouse ( DW ). Typical OLAP is used to answer questions such as: What was my best selling product in January? What was the total company revenue for 2005? Why was I over my budget in March? All SAP BW queries are constructed via using BEx tools. www. migrating. text files.1 Fundamentals of BW Reporting 1. which consists of the following layers. The layers of the architecture are seen below: Presentation layer Consists of the SAP Business Explorer ( BEx ) tools such as BEx Analyzer and BEx Browser. Corporate systems were unconnected. exceptions. legacy systems. QA ). 1. Data warehousing is the process of choosing. Figure 1. Enhancements are transported through a well-defined process that moves from DEV to QA for testing. Put simply. Test ( Quality Assurance.2 Basics of BW Design SAP Business Information Warehouse ( SAP BW ) is an end-to-end data warehousing solution that is usually built on a three-tier environment that consists of a Development ( DEV ).1 summarizes the architecture. The multidimensional analysis offered by a data warehouse. The BW database follows an ETL process to populate InfoCubes. Source Systems layer Consists of ERP systems. and variances of interest is called Online Analytical Processing ( OLAP ). cleaning. and Loading ( ETL ). MultiCubes. a data warehouse serves as a decision support environment where corporate data can be quickly summarized at different operational levels.

Query Definition. All rights reserved. which allow users to report on many things simultaneously.2 Relationship Among InfoProvider. An InfoCube. Figure 1. which is a type of InfoProvider. You can format and store query results with many different views. Formatted Results Formatted Reports Info Cube Crystal Query Result Web Browser Formatted Web Page Web Report Formatted Workbook # 1 Query Definition Query Result Workbook Workbook Formatted Workbook # 2 Workbook Figure 1. is a subset or collection of data from the BW database that has relationships. and Formatted Query Results 4 © Galileo Press 2006.2 displays these relationships. or view them within a Microsoft Excel Workbook with the BEx Analyzer. The query results from a query definition are displayed on a web page. A single query definition has a one-to-one relationship with its InfoProvider. or in the BEx Analyzer. BW Query Designer Tool Query Results Many queries can be built from a single InfoProvider. You can display them as a BW web report using a web browser.1 High-Level BW Architecture Objects for which queries can be created against or executed on using BEx tools are collectively referred to as InfoProviders.1 Fundamentals of BW Reporting Business Objects Web Query BEx Analyzer BEx Browser BEx Browser BEx Tools OLAP Processor OLAP Processor Master Master Data Data ODS Info Cubes Business Information Warehouse Database R/3 R/3 Files Files Legacy Legacy Systems SAP SAP BW BW Source Systems Figure 1. which can result in a many-to-one relationship between a query definition and the formatted query results. . You define queries with the BEx Query Designer.

from where you can launch queries and workbooks and categorize them into Roles.com 5 .4 BEx Browser Toolbar You create content within the BEx Browser on the right side of the screen.3 Linking BW Content with Other Business Tools in the BEx Browser www. You Figure 1.4 ) contains the following icons: Exit Save Refresh Start Business Explorer Analyzer Find New Folder Delete About SAP BW Browser Help SAP BEx reporting tools allow users to create. The BEx Browser is a graphical desktop-like tool. Windows applications. view.3 Business Explorer ( BEx ) Tools 1. Figure 1. format. Right-clicking on a blank part of the screen displays a context menu with several options.3 Business Explorer ( BEx ) Tools trates how BW content can be linked with other business tools in the BEx Browser. schedule and precalculate reports.3 illus- Figure 1. The BEx Browser also incorporates standard shortcut functionality. manage. locate.sap-press. The BEx Browser toolbar ( shown in Figure 1. Favorites.1. execute. The BEx Browser allows users to create folders to organize their content. and Folders. The primary BEx tools include: BEx Browser BEx Analyzer BEx Query Designer BEx Web Application Designer Reporting Agent Download Scheduler All the BEx tools in SAP BW are installed on a client workstation using the SAP GUI installation disc. which enables you to access documents. Internet URLs. and SAP R/3 transactions from a single interface.

which appear to be translucent.6. right-click on the name of the query and choose New Setting ( see Figure 1. you can precalculate all web templates created with the WAD. PowerPoint ) Shortcut ( to other applications on a local PC ) ating a package of reports. Figure 1. To customize folder options. The graphical options are displayed in Figure 1.8 ). Each folder created for a role or user Favorites can be further customized by assigning a background symbol and color. The Reporting Agent’s most commonly used functions are: Execute and Analyze Exception Reports Print Reports Precalculate Web Templates The Reporting Agent is divided into three panes: Functions pane Settings pane Scheduling pane You use the same process for all functions. each of which has a nature theme.6 Folders Customized with Background Symbol and Color The BEx Analyzer is the primary reporting environment for SAP BW.1 Fundamentals of BW Reporting can create the following links within a folder ( Figure 1. notes. or from the BEx Analyzer. You’ll find the Reporting Agent within the Administrator Workbench. The advantage here is that it shortens the wait time for users and reduces the workload on the servers. you must enter specific settings that pertain to the highlighted function ( e. You can add Excel calculations. from which to choose. There are eight backgrounds and colors. The Settings pane is used to navigate through a folder structure to find a query definition. .5 Adding New Content to a Folder all enable you to use a WYSIWYG environment when launching a website. the BEx Web Application Designer.. The Reporting Agent allows you to schedule various reporting functions in the background during non-peak times. The BEx Analyzer combines the power of OLAP with all the Excel functionality.7. along with standard HTML code and web design application programming interfaces ( APIs ). thereby cre- 6 © Galileo Press 2006.g. Printing ). All subsequent BW reporting and analysis is based on query definitions. You can also use Visual Basic for Applications ( VBA ). right-click on a folder on the right side of the BEx Browser window and select Choose symbol and color. Once located. For example. are alike in that they Figure 1. To establish new settings for a query. All rights reserved. BEx WAD and Microsoft FrontPage. charts and graphics to a single worksheet and insert multiple reports into a workbook. as well as Dreamweaver. The BEx Query Designer can be launched from the Start menu of a Windows PC. Furthermore. The BEx Web Application Designer ( WAD ) is a desktop application that is very similar to other web page authoring tools. The BEx Query Designer is a standalone application that enables users to build complex query definitions without using programming. You can access it directly using the RSREP Transaction. The BEx Query Designer is displayed in Figure 1. or Crystal Reports.5 displays the available options ): Folder Workbook Internet Address ( URL ) SAP Transaction Document ( Word. Most users find it very intuitive because it is integrated with Microsoft Excel. One unique feature of the WAD is that it enables you to incorporate BW data and predefined BW objects.

com 7 .3 Business Explorer ( BEx ) Tools Figure 1.sap-press.1.7 Creating Complex Queries Without Programming Figure 1.8 Creating New Settings with the Reporting Agent www.

and page footer.9 Customizing and Formatting Printouts with the Reporting Agent Each new setting requires a Technical name and a Description.10 Scheduling a Package with Specific Settings for a Query Definition 8 © Galileo Press 2006. Depending on the function selected. these options vary. You attach a Reporting Agent setting for a particular query to a scheduling package by dragging and dropping the setting from the Settings pane to the package in the Scheduling pane. Monthly. A technical name and description are required for each new scheduling package. The Scheduling pane is used to generate a scheduling package that will contain the details of the query setting created earlier.1 Fundamentals of BW Reporting Figure 1. Choosing a start condition that will trigger the package to be executed completes the scheduling process.9. they must be saved and activated. All rights reserved. The keyboard shortcut to save changes is Ctrl+S and the shortcut to activate changes is Ctrl+F3. right-click on the name of the package and select Schedule ( see Figure 1. Once the settings are specified. the Print function allows a user to build a cover sheet. To schedule a package. and design a layout template for the printed data. A green status light will confirm that a Reporting Agent setting has been saved and is now executable. Weekly ) After a particular system event After a particular job Figure 1. . You can schedule a package to run: Immediately At a specific date and time On a periodic schedule ( Daily.10 ). For example. Settings also allow for some layout and distribution options. The printing options are shown in Figure 1. page header.

To do this. Highend formatting can be achieved by leveraging the Reporting Agent. An alternative or complimentary reporting strategy to just using the BEx Analyzer is to use webbased reporting. or via integration with Crystal Reports. precalculated HTML pages. With web reporting. The overall workflow for using all the various BEx tools is shown in Figure 1. The most basic reporting is accomplished by using the BEx Query Designer and the BEx Analyzer. The next chapter will look at the BEx Query Designer in detail. use the Process Chain Maintenance transaction code RSPC. Scheduled packages can be monitored from the Job Overview screen.4 Summary Create a Query Definition with the Query Designer Create a web application using the Web Application Designer and an existing Query Definition Execute the Query and view the results in either a Web Browser or the BEx Analyzer Schedule or pre-calculate your web application using the Reporting Agent Download the results of your query to your PC using the Download Scheduler Figure 1.11. Query designers can publish formatted. you must ensure that the packages created with the Reporting Agent are monitored periodically for performance reasons. A strategy that limits development work in the Reporting Agent to a handful of power users is preferable. the package is saved.4 Summary SAP BW has evolved into a full-fledged Data Warehouse. The Download Scheduler wizard helps users to find packages assigned to their user ID. Queries are defined using the BEx Query Designer and analyzed within the BEx Analyzer or BEx Web Applications. and places the results of these packages into designated folders on the users’ PCs. The BEx tools allow users with diverse backgrounds to effectively access data in a timely manner. or schedules a time for the download. Additional formatting can be achieved with the BEx Web Application Designer or via BW’s integration with Crystal Reports. or Excel workbooks to a local PC. The output of the report can also be formatted for a PDA device. You should also make certain that scheduling packages are inserted into process chains.sap-press. 1.com 9 . you don’t have to install any software on a user’s PC. Furthermore. The BEx Download Scheduler is a desktop application that downloads. which is why this alternative is known as a “zero-footprint” solution. Because the Reporting Agent is part of the Administrator Workbench. Download Scheduler. The BEx Download Scheduler tool is typically accessed from the Windows Start menu under Programs · Business Explorer · Download Scheduler. you should ensure that it is not deployed to all BW users. graphical reports using the BEx Web Application Designer and distribute these reports via URLs or a pre-existing intranet portal. especially since an incorrectly defined package can run for a long time and therefore monopolize valuable system resources. www.1.11 BEx Tools Workflow Once the start condition is specified. These pages are precalculated using the Reporting Agent.

40 Context menu 60 Cost Center 55 Crystal Reports 6. 37. 9 Default values 57 Delete results 36 Design wizard 45 Detach 36 Download Scheduler Wizard 5 Dreamweaver 6 Drilldown 43 H Hierarchy support 62 High Performance Analytics 64 HTML 44.Index A Ad-Hoc Query Designer 62 Administrator Workbench 6. 49 Enterprise Reporting 57 Enterprise Resource Planning 3 ERP 3 ETL 3 Excel 29 Exception 16. 34. 46 CKF 20 F Favorites 6. 12. 9. 22. 43 D DataProvider 49. 22. 40. 9. 33 Data trends 3 Data Warehouse 3. 57. 25. 41 J Java connectors 65 JavaScript 44 Jump Targets 37. 39. 17 InfoProvider 4. 40. 40 Excluding values 18 Export 40. 13. 43 Function 20 B BEx Analyzer 4. 21. 9. 13. 16. 53. 25. 18 Characteristic Value Variables 22.com 69 . 46 BEx Web Application Designer 5. 43 K Key Figure 15. 38. 43. 54 Filter 42. 36. 42 InfoSet 54 Integrated Planning 57. 62 CSS 47 CSV 40. 33. 12. 35. 9. 24 Chart 41. 41. 48. 42 InfoProviders 65 Information Broadcasting 40. 9. 17. 14. 11. 22. 16. 65 InfoObject 13.sap-press. 6. 26. 15. 20 Cascading Style Sheets 46. 49 BEx Web Applications 9 BEx Web Report 55 BEx Workbook 30 BI Accelerator 64 Bookmark 40. 30. 60 E E-Mail 43 Enterprise Portal. 16. 43 Business applications 66 BW Browser 5 BW query analysis 57 G Global Reference 15 Global view 37 Goto 37. 34. 54 InfoCube 3. 21. 43 BEx Browser 5 BEx Download Scheduler 9 BEx Queries 54 BEx Query Designer 4. 22. 32. 50 Datasets 12. 26. 14. 41 Customize folder options 6 Fixed ranges 25 Formatting 44 Formula 20 Formula Syntax 20 Free Characteristics 12. 24. 26. 14. 55 C Calculated Key Figures 15. 17. 65 Alert Framework 64 Alert levels 25 Architecture 3 Comma-separated values 41 Command wizard 60 Condition 16. 48 I InfoAreas 14. 29. 46 Knowledge Management 64 www. 57 BEx Query Designer toolbar 57 BEx Report Designer 62 BEx WAD 57 BEx Web Analyzer 39. 26. 6. 16. 16. 25. 60 BEx Broadcaster 42. 47 Characteristic Properties 18 Characteristics 15. 18.

. 50 NetWeaver 2004s 57 NetWeaver Portal 65 New queries 21 Non-SAP data 66 V Variable 22. 50. 39. 47. 60 MS Excel integration 57 MultiCubes 12. 20. 46. 38. 54 RRI 53 RSBBS 53 RSRT 54 U Unicode-compliant 57 N Navigational Block 30. 19 Results area 39 RFK 19 RKF 19. 33. 44.NET 57 Visual Composer 65 Visual modeling 66 O ODS 3. 35 Q Query Definition 13. 39. 45. 14 OLAP 3.Index M Master Data 3 Mathematical functions 20 Math functions 20 Microsoft Excel 38. 31. 42 Variable Offsets 24 Variances of interest 3 VBA 29 Visual Basic . 43 Query views 43 T Tabular Data 41 Technical Names 19 Template 30. 43. 18 Query Properties 26. 34. 37. 30. 22 W WAD 6. 59 Web report 4 Web Template 6. 46. 50 Workbook 29. 34. All rights reserved. 36. 47. 12. 53 Reporting Agent 5. 61 Process Chain 9 Processing speed 57 Properties 17. 24. 34. 32. 32. 29. 46 Properties pane 57 70 © Galileo Press 2006. 34 Report-Report Interface 43. 41. 33 Text Elements 30. 40 R Receiver 53. 35. 36. 55 Refresh 33. 49. 35. 6. 50 Web Application Designer 44 Web Applications 39 Web Browser 39 Web design 60 Web Items 45. 35. 20 Role 16. 33. 44. 16. 8. 23. 21. 48. 55 Standard formatting 62 Standardized interface 65 Status of Data 30. 40. 15. 46. 49. 42 Structure 15. 39 Worksheet 35 P PDF based printing 57 Presentation layer 3 Printing 38. 27. 46. 35. 48. 36. 47 Operand 20 S SAP BW Variables Wizard 23 SAP Financials 33 SAP GUI 44 SAP HR 33 SAP Protection 37. 38 Save 37 Scheduling 8 Selection 18 Sender 53. 9 Restricted Key Figures 15. 26. 44. 17.