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


Add a comment
10|10000 characters needed characters exceeded

Related questions

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'. "



    hope this helps.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.