Global and Local Variants
Global and Local Variants
Applies to:
SAP BI 2004s or SAP BI 7.x.. For more information, visit the Business Intelligence Homepage.
Summary
This page helps in finding all the properties of a Query. Author: Aparna Duvvuri
Author Bio
Aparna is currently working with Cognizant as BW Consultant. She has more than 4 years of experience in BI/BW with ABAP and BO Knowledge.
Table of Contents
Variant ............................................................................................................................................................... 3 Variant Types ...................................................................................................................................................... 3 Creation of a Variant ........................................................................................................................................... 3 Using RSRT Transaction .................................................................................................................................... 3 Using BEx Analyzer ............................................................................................................................................ 5 Using Web Analyzer ........................................................................................................................................... 7 Tables for Variant information............................................................................................................................. 9 Authorizations ..................................................................................................................................................... 9 Related Content ................................................................................................................................................ 10 Disclaimer and Liability Notice .......................................................................................................................... 11
Variant
A query variant is a query for which the variable values have already been selected. The variants can also be used for opening the query in the online display and for background processing. The variants are especially useful when the number of input values for a Query is more.
Variant Types
Variants are two types, 1. Local Variants 2. Global Variants Local Variants are one available only to the user who created the variant. Global Variants are available to all the users who can access the Query irrespective of Variant creation.
Creation of a Variant
Variant can be created in 3 ways. 1. Using RSRT Transaction. 2. Using BEx Analyzer. 3. Using Web Analyzer.
Next screen shows the list of variants if any (Epic Local in this scenario). Click on create icon and give the Variant name and Long description of the Variant.
Enter the Variable values and save the values to see the Variant created.
Variant can be selected through Load Variant icon while executing the query. The Variant created now is a Local Variant, which is available only to the user who created the variant. Variant can be deleted by loading the variant and clicking on delete icon.
A new window will pop up for providing the description. Technical Name field will be disabled as it is a Local Variant.
If you want to make the Variant available to all the users accessing the Query, make it Global by un-checking the Save as User Variant, which will enable the Technical Name field as well. Use as Default Variant can be selected if the query is executed most of the times with same input.
An available variant can be selected from the drop down list. Variant can be deleted by selecting the variant and then clicking on the delete icon.
An available variant can be selected from the Drop down list. Variant can be deleted by selecting the required Variant and hitting the Delete button.
RSRVARIANT -- Variant Values This table provides the values of the variant.
Authorizations
Global variants need below authorizations For 3.x -- S_RS_GVAR, Business Explorer - Global variables. For BI7 -- S_RS_PARAM, Business Explorer - Variants in Variable Screen.
Related Content
Saving Query Variants Global query variants in BEx 7.x - user authorizations -- Forum thread SAP Community Network