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

Same variable "used in more then one InfoObject"

I want to use the same user entered value as part of the definition of two different restricted key figures, restricting on two different characteristics. Basically the user will enter a date, and one key figure includes only those with a "Calendar date" < the entered date, the other will have "Date1" less then the entered date and "Date2" greater the entered date. When I try that, I get the error "Variable Select Date used in more then one infoObject". How can I either use the same variable for more then one characteristic, or create a new variable that takes the value of the "Select Date" variable without prompting the user to enter the same date multiple times.

thanks

Val

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 14, 2006 at 02:11 PM

    Hi Val,

    Welcome to SDN.

    Can you detail the design of rows and column and give some more details please?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 14, 2006 at 02:17 PM

    Hi Val,

    You can use the same variable for the same IO with the value ranges and offsets to determine greater than and less than, so you can substitute the two different IO with only one IO and use value ranges and offsets.

    You can also use user exit in CMOD for variable to derive the vale of one or more variables from the values of another variable inserted by the user.

    Ciao.

    Riccardo.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Does this look fundamentally flawed?

      (The DATA statements already exist in the program)

      Thanks!

      DATA: l_s_range TYPE rsr_s_rangesid.

      DATA: date TYPE sydatum.

      CASE i_vnam.

      WHEN 'PICK_GI'.

      IF i_step = 2.

      CLEAR l_s_range.

      CLEAR date.

      READ TABLE i_t_var_range INTO date WITH KEY vnam = 'PICKADAY'.

      l_s_range-low = date.

      l_s_range-sign = 'I'.

      l_s_range-opt = 'EQ'.

      APPEND l_s_range TO e_t_range.

      ENDIF.

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.