Professional Documents
Culture Documents
SAP BEx Query Designer Tutorial
SAP BEx Query Designer Tutorial
SAP BEx Query Designer Tutorial
Elements
1. The key to making informed decisions is having the right data in the right
place at the right time. Executives and line managers rely on business
intelligence (BI) and reporting tools to deliver timely accurate and relevant
data for both operational and strategic decisions.
2. The Business Explorer (BEx) is a component of SAP BI that provides flexible
reporting and analysis tools that we can use for strategic analysis and
supporting the decision-making process in an organization. These tools
include query, reporting, and analysis functions.
3. SAP NetWeaver 7.0 provides the following tools:
BEx Broadcaster
BEx Analyzer
4. The BEx tool can be used to display past and present data differing in the
level of their details and from different perspective.
5. It can be used to create planning projections using BI Integrated Planning.
6. The BEx Information Broadcasting can be used to distribute business
intelligence content by e-mail, either as pre-calculated documents with
historical data, or as links with live data.
Query Designer:
As the name suggests, it is used to define queries to retrieve data from SAP BW.
Query Designer acts as the bridge between SAP BW InfoProviders and the reporting
front-end tools (SAP BW / SAP BO). It limits the field list displayed, which is based
on their requirements. It also defines the default placement of these report objects
within a report Query Designer and adds value by allowing users to define filters,
selection screen variables (a.k.a. Prompts), Calculations, Unit Conversions, etc. that
are not available in InfoProviders.
Step 1)
Step 2)
Query Panel:
1. InfoProvider Details are available here.
2. Tabs to view various report components.
3. Properties Box which shows the properties of each component selected in the
query.
4. System Messages such as any error or warning messages during the Query
check is displayed here.
5. Shows the Where-Used List of any component selected within the query.
Query Panel Standard Toolbar:
The Standard tool bar in the Query Designer has the following buttons.
Query Elements:
1. Key Figures : Key Figures represent the numerical data or the KPIs(Key
Performance Indicator). They are further divided into Calculated Key Figures
(CKF) and Restricted Key Figures (RKF).
2. Characteristics : A characteristic provides the criteria according to which
objects are classified. e.g. Material,Period, Location, etc.
3. Navigational attributes appear as characteristics in Query designer.
OTHER Query Elements:
1. Dimensions : Similar characteristics are grouped together in a dimension.
e.g. Time dimension consistsof Year, Month, Week, etc.
2. Attributes : Attributes define the additional properties of a characteristic. E.g.
Material may have size,length or width. It is not possible to add a display
attribute to a query unless the related characteristics are also added to the
query. However, it is possible to set the property of characteristic as No
Display.
Query Properties:
1. Select the Tab Variable Sequence. The tab Variable Sequence is used to
control the order in which selection screen variables are displayed to users.
2. List the variables used in the Query. There can be multiple variables present
here. These variables can be sequenced as per our need.
Variables:
Variables are query parameters that we define in the Query Designer and are filled
with values only when you execute the query. Variables are reusable objects. The
variables defined in the Query Designer are available in all InfoProviders. They do
not depend on the InfoProvider, but rather on the InfoObject for which they were
created.
Types of Variables
Characteristic values
Hierarchies
Hierarchy Nodes
Texts
Formula elements
Step 1)
Step 2)
Step 3)
1. Click the Default values tab.
2. We can specify the default filter applied to the report. This value can be over-
written by user at run-time.
1. Click on Properties
2. Select the General tab
3. Enter Description
Posted values is used to show only records that have got some transactions
associated with them
Master Data displays all master data records irrespective of whether a
transaction exists for them or not. It is ineffective if used with zero
suppression.
Only Posted Values for Navigation: The system displays only posted values
from the current navigational state.
Only Values in InfoProvider: The system displays only values contained in the
InfoProvider.
Values in Master Data Table: It is faster, but may result in zero records
matching selection criteria.
1. Click on Properties
2. Select the General tab
3. Enter Description
Key Figure Settings Display Properties:
1. Select the Display tab of the properties window of the selected Key Figure.
2. Hide:
The options Always Show and Always Hide are self explanatory.
Hide (Can be Shown) option is used to keep a key figure hidden in default
output of the report. However, the user can later display this field by using
filters.
Click on the edit button of properties box to create / edit a local formula
Step 3)
Once defined, it can be dragged into a query like any other key figure. The biggest
advantage of this approach is that it facilitates global definitions of common
calculated KPIs.
Step 1)
Step 2)
In the subsequent screen, at least one key figure and one characteristic must be
entered to make a meaningful RKF.