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

How to keep the default values of the query in the selection screen of workbook?

Hello,

I have queries with default values but when I open the workbook (refresh on workbook on open is checked) there are the last data after save. For exemple the query take the date of today but when I save the workbook I save with yesterday. So when I open the workbook today, the data are filtered on yesterday.

How to keep the default values of the query in the selection screen of workbook?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Aug 22, 2013 at 03:19 AM

    Hi

    Check the workbook settings as shown in below screenshot, "Uncheck the option Process Variables On Refresh". It should solve your problem.

    Let us know if not solved.

    Thanks,

    Umashankar


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 21, 2013 at 05:58 PM

    Hi TECSAP,

    When "Refresh on workbook on open is checked" is checked the Workbook when opened and REFRESHED should take you to the selection screen.I hope you have also checked "Allow Refresh on individual Queries".

    Else you can also create a variant and then try.

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d032116a-1ba6-2e10-8db6-d84e7dcc9975?overridelayout=true

    Rgds

    SVU

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 21, 2013 at 08:09 PM

    Hi

    I guess that what you call "default values" are for variables.

    In your case, how did you force the default value of the day variable to be "today", as this default value depends on the day ?

    The last time I had to do that, I had to do a custom exit variable to populate the default value. If I remember correctly, I also had to change the default value in the Variables tab in the workbook properties to check (or uncheck) the first option to manage variable values...

    Play with those options, and the variable screen should appear before you get the result updated.

    Otherwise, as mentionned by SVU, try yo use variants to get the default values correctly populated

    Thanks

    PY

    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.