jump to navigation


Posted by Ajay in Uncategorized.

I_VNAM: The variable name.
i_t_var_range: contains all the information about the other query variables available in BW.
l_s_range_low: Is the low limit value of the variable. For non-interval variable, this is the value.
l_s_range_high: Is the high limit value of the variable. Make sense only for interval type variables.
l_s_range-sign: denotes whether it’s ‘I’ inclusive, or ‘E’ exclusive. Again, make sense for interval type only.
l_s_range-opt: what type of variable, either ‘EQ’ equal-type, or ‘BT’ between-type (interval).


The SAP BW query exit RSR00001 is an Enhancement for Global Variables in Reporting. It is
called up several times during the execution of a report. The parameter I_STEP is populated
with a number from 0 to 3 to specify at what point the enhancement is being called.
i.e. If I_STEP = 1, then Call has taken place directly before any variable variable entry has been
made. This can be used to pre populate selection variables
If I_STEP = 2, then then call has taken place directly after variable entry. This step is only
started up when a variable is not input ready and could not be filled when I_STEP was equal to
If I_STEP = 3, you can check the values of the variables. Triggering an exception (RAISE)
causes the variable screen to appear once more. After which, I_STEP=2 is also called again. If
I_STEP = 0, then the enhancement is not called from the variable screen. The call can come
from the authorization check or from the Monitor.
Using Exit to populate query authorization object dynamically
Please note the article has been written from an ABAPers point of view and some knowledge of
creating BW queries will be required.
First you need to create an authorization object which references a $Variable. In this example I
am using $ZGMGRANT, which has been linked to the users authorization profile via transaction
Now Within the BW query you have created via Bex Analyser you need to create and
authorization field with the processing type of ‘customer exit’.


sap how to …






1. abhishek - November 21, 2011

hi.. Ajay this is very helpful..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: