Topics: |
The adapter can report against several types of SAP BW objects, some of which represent views or subsets of the actual data. Using the Business Explorer (BEx) provided by SAP as its reporting and analysis tool, you can create queries (methods for extracting data) and reference them in WebFOCUS report requests.
A query is a subcube created by selecting characteristics and key figures. Using queries, the data can be quickly targeted and evaluated. The more precisely the query is defined, the smaller the subcube and the quicker the query can be navigated and refreshed. Selecting certain characteristics means that they can be more closely analyzed while others remain unspecified. The resulting key figures are aggregated across all characteristic values for the unspecified characteristics.
A default navigational state is also established in the query definition when you arrange the characteristics and key figures in the rows and columns of the query.
Only the data that is currently requested is transferred to the query. The OLAP processor builds the query from the data and provides methods for navigating through the data in several dimensions. Since a query preselects information, the same data can yield dramatically different results depending on the query used to view its contents.
The Business Explorer (BEx) is the SAP BW component that provides reporting and analysis tools. BEx queries filter the data to create reporting objects or views called InfoProviders. Some InfoProviders contain actual data. Others provide views of data stored in elsewhere.
The basic elements used to define InfoProviders are called InfoObjects. An InfoObject is a business evaluation object, such as customer or sales revenue, relevant to your analysis of business performance. InfoObjects can be characteristics (dimensions), key figures (measures or facts), units, time characteristics, or technical characteristics (for example, request number).
The following InfoProviders can be used for WebFOCUS reporting:
An InfoObject catalog is an application-specific organization of InfoObjects, either characteristics or key figures.
To report against a cube, you must create a BW synonym that describes it to the adapter. To create a synonym for a query cube, you first create the BEx query. In the query properties, set the Extended Query Properties to Allow external access to this Query.
The basic building blocks of a query cube are:
How to: |
You must define an SAP Business Explorer query before reporting from an SAP BW InfoProvider. This query serves as a template for data extraction from the cube.
Note: The information that follows is based on SAP BW Business Explorer documentation. SAP BW BEx documentation is available from http://help.sap.com.
You will see the selection screen for all existing workbooks.
The selection screen displays all available queries.
You will see the selection screen for all InfoProviders for which you can define a new query or queries.
The available objects in the InfoProvider you have selected are displayed as a directory tree in the left part of the screen.
Next, you will select the objects for the query and drag them to the appropriate boxes to build the query.
The right area of the BEx screen contains selection boxes for the filter selection, the rows, the columns, and the free characteristics of the query.
Perform the following steps to create a query:
The object list will expand and display a list of all the available Key Figures or characteristics.
These may be filters, rows, columns, and free characteristics.
You can filter queries in order to place restrictions on them. Filter selection restricts the entire query. To select fields you want to use to filter the query, complete the following:
Note: Since they are used in definitions, fields selected as filters are not displayed in the Adapter for SAP BW metadata. They are used to screen the data and thus contain no information to be reported on. If you wish to screen data and report from it, see Restricting Query Characteristics or Restricting and Calculating Key Figures.
How to: |
When defining a query, you may restrict characteristics to a single characteristic value, a value interval, a hierarchy node, or a characteristic value variable.
Tip: You can enter the characteristic values or hierarchy nodes you want to use, or you can display a list of all possible values by clicking the magnifying glass to the right of the input field.
How to: |
You can restrict Key Figures to characteristic values, characteristic value intervals, or hierarchy nodes. For example, a restricted key figure would be Sales revenue in 1st quarter.
You can also restrict the Key Figures of the InfoProvider for the query definition, or, using a formula, you can calculate new Key Figures from the (basic) Key Figures:
Note: The entry field for the formula is underneath the text fields. In the bottom left of the screen are all of the operands available for the formula definition. These are the Key Figures that you have already defined in the structure, and all of the formula variables in the Variables directory that have been created in the variable maintenance.
The functions available as operators are on the right-hand side of the screen. These are symbols for the basic arithmetic operations and directories with calculation functions such as percentage or trigonometric functions. To the right of the operators is a number block.
If you want to use a variable that is not contained in the operands, you must create the variable first.
This enables the query to be displayed as a QUERY_CUBE for reporting purposes. The query elements (hierarchy levels, measures, variable, and properties) will be mapped to corresponding OLAP elements to create a synonym.
WebFOCUS | |
Feedback |