Skip to Content

Issue with OLAP variable in DTP

Hi All,

I am trying to include OLAP variable in DTP to get the values from the source which are greater than or equal to current month.

For this I have created one customer exit variable on 0CALMONTH object and written the exit in the include ZXRSRU01.

Now, when I checked in the debug the values or populating correctly, but when I triggered the display button in the DTP for OLAP variable it is saying that "Error for variable in customer enhancement".

I didn't understand the issue, below is my code.

if i_step = 0

and i_iobjnm eq '0CALMONTH'.

DATA: i_date like sy-datum,


CASE i_vnam.





i_date = sy-datum.

month = i_date+0(6).

l_s_range-low = month.

APPEND L_S_RANGE TO e_t_range.



Could you please advice me if there is anything wrong in the code and error screen shot has been attached.

Thanks & Regards


error.JPG (65.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2015 at 09:55 AM

    Hi Venkat,

    Can you please check if the variable you have defined is checked or not as ready for input. The setting should be unchecked.

    Hope it 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.