0% found this document useful (0 votes)
966 views

Bex Query Designer Variables

This document discusses different types of variables that can be used in BEx query designer including characteristic value variables, text and formula variables, hierarchy variables, hierarchy node variables, and business content variables. It explains how variables act as placeholders that are filled when a query is executed and allow a single query definition to generate multiple queries. It also covers variable processing types and using variable offsets.

Uploaded by

Nivas Sri
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
966 views

Bex Query Designer Variables

This document discusses different types of variables that can be used in BEx query designer including characteristic value variables, text and formula variables, hierarchy variables, hierarchy node variables, and business content variables. It explains how variables act as placeholders that are filled when a query is executed and allow a single query definition to generate multiple queries. It also covers variable processing types and using variable offsets.

Uploaded by

Nivas Sri
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Bex Query Designer Variables | http://sapdocs.

info -
Presentation Transcript
1. BEx Query Designer Unit 5: Variables 7/17/2007
2. Using Variables
o Variables are query parameters that you define in Query Designer and that are
filled with values only when you execute the query or Web application.
o Variables act as placeholders for:
 Characteristic values
 Hierarchies
 Hierarchy nodes
 Texts
 Formula elements
o If you use variables, a query definition can then serve as the basis for many
different queries.
3. Characteristic Value Variables
o Selecting Single Value Variables
 Single Values
o Selecting Single Value Variables as Variable Value Area Limits
 Value Range
 Between, Greater than, Less than, Greater than or equal to, Less than or
equal to
o Selecting Variables with Several Single Values or Value Ranges
 Depending on how they have been defined, you can not only select single
values for variables, but also several single values, intervals, or selection
options.
4. Text and Formula Variables Formula variables represent numerical values. You can use
formula variables in formulas and for calculating exceptions and conditions. Text
variables represent a text. You can use text variables in query descriptions, calculated key
figures and structural components. This appears with its technical name, enclosed by
ampersands (&), in the description.
5. Hierarchy Variables Hierarchy variables represent hierarchies. You can use them
wherever hierarchies can be selected. Note that the fields for Version and Key Date are
only input-enabled if the characteristic can contain version or time-dependent hierarchies.
Note
6. Hierarchy Node Variables
o If you use a hierarchy node variable , you can make selections by hierarchy node
when you come to use the query.
o Variable hierarchy node with a fixed hierarchy
 a report about any department ( variable hierarchy node ) for the hierarchy
valid for 2002 ( fixed hierarchy )
o Variable hierarchy node with a variable hierarchy
 a report about any department ( variable hierarchy node ) for the hierarchy
valid for the current calendar year ( variable hierarchy )
7. Variable Processing Types
o User Entry / Default Value Enables you to enter the required value for the
variable manually in a dialog box when you execute the query
o Replacement Path Enables you to specify the value that automatically replaces the
variable when the query or Web application is executed
o Authorization Enables you to fill the variables automatically with the values from
the authorization of a user
o Customer Exit Enables you to determine values for variables by means of a
function module exit
o SAP Exit Contained in variables that are delivered with SAP BW Business
Content
8. Using the Variable Offset
o To analyze key figures that have a fixed time-relationship to one another, you can
use the variable offset .
o In your report definition, you can use the same variable several times to restrict
the key figures and determine a difference from the input value.
o You can also use the variable offset to select an interval as a restriction with upper
and lower limits that refer to the same variable.
o Example:
o Use the variable offset to compare the sales volume from the current time period
with that of the same time period in the previous year.
9. Business Content Variables
o Business Content variables are delivered for all types of variables to enable you to
create complex queries quickly and easily.
o For time characteristics, a range of variables are delivered that replace frequently-
used time periods or specific times.
o Examples:
 current month
 comparable month of the previous year

You might also like