jump to navigation

BW USER EXIT EXPLAINED May 26, 2009

Posted by Ajay in Uncategorized.
trackback

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
1.
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
PFCG.
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 …

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9f923f3d-0a01-0010-9da7-f56e5cc963b7

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60a7dc10-c8a8-2b10-cc97-e667a38aa91a

http://www.biportal.org/Default.aspx?pageId=90410&pg=2

Advertisements

Comments»

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: