Skip to Content
Former Member
Dec 14, 2006 at 12:03 PM

Using variable values form parametrized URL in Customer Exit in i_step = 1


Hello BW experts,

I call a parametrized URL to a Web Template that has a Query with the variable VAR1:


Then I try to access the value of VAR1 in i_step = 1 in the Customer Exit for BEx variables in order to determine the value for a customer exit variable VAR2:


IF i_step = 1.

READ TABLE i_t_var_range INTO var_range

WITH KEY vnam = 'VAR1'.

fl_var_range-sign = 'I'.

fl_var_range-opt = 'EQ'.

fl_var_range-low = *some operation with var_range

APPEND fl_var_range TO e_t_range.


The problem is that VAR1 contains either the default values (if the variable is set to have default variables) or is empty (if there are no default variables defined). It does not retrieve the value in the URL in the Customer Exit, but displays it correctly in the variable screen.

Is there any way I can acces the URL parameter in the Customer Exit?

Thanks for any answers in advance.