Skip to Content
author's profile photo Former Member
Former Member

EXIT_SAPLRRS0_001 access to Customer Exit variables

Hi BW Group:

My requirement is to calculate a query variable value based on the value of 2 other variable values.

Example require to calculate "V3 = V1 + V2 ".

In this exit's include - ZXRSRU01, I coded:

CASE i_vnam.

WHEN 'V3'.

"LOOP AT i_t_var_range INTO lw_loc_var_to

WHERE vnam = 'V1'. "

=> what i assumed was that lw_loc_var_to-low will hold the actual value of the variable. But this is not the case in real scenario .

In our actual query, the var_range is coming empty:

l_s_range-low = Empty

l_s_range-high = Empty

l_s_range-sign = Empty

l_s_range-opt = Empty

I would like to know how do we can access query variable values inside the include of this exit? An example will be also appreciated.

Thanks in advance,

Best Regards

Norge

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 03, 2006 at 02:50 PM

    Hi Norge,

    You are missing the i_step value. you need to look for variables values when the variables where asked to the user (i_Step = 2).

    in your case, you should use:

    CASE i_vnam.

    WHEN 'V3'.

    if i_Step = 2.

    "LOOP AT i_t_var_range INTO lw_loc_var_to

    WHERE vnam = 'V1'. "

    YOUR CODE.

    endif.

    hope this helps.

    regards,

    Diego

    Add comment
    10|10000 characters needed characters exceeded