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

How to use time-dependent texts in query?

Hi, All!

I want to use time-dependent texts in my query.

So, I create info-object ZUSER and mark texts as time-dependent.

Load some values from csv file (for test):

User TimeTo TimeFrom Text

1 31.12.2015 01.01.1000 Name1.1

1 01.01.2016 31.12.9999 Name1.2

2 01.01.1000 31.12.9999 Name2

Made ODS with next fields:

ZUSER (key)

0CALDAY (key)

ZSALARY

And load data:

User Calday Salary

1 01.12.2015 100

1 01.02.2016 200

2 01.12.2015 120

Made simply query with 0CALDAY in filter with single value

But!

When I insert query to workbook and input 01.12.2015 or 01.02.2016 to variable on selection screen, text for 0USER always Name1.2

What I doing wrong?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 15, 2016 at 01:48 PM

    Oh, sorry, it was so easy to solve myself.

    in Query designer in General properties of Query window "Control date" where I can choose some date or variable.

    In add: variable must be not optional to input (mandatory entry).

    If variable was make as optional, it converted to mandatory automatically.

    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.