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

Selection variables (table TVARV)

When scheduling background jobs I was recommended to use selection variables for the fields reffering to different dates. However, some of the fields in reports I want to schedule does not have the DATE format (instead they have e.g. period and year) and I am restricted to selection variables in table TVARV. So my question:

Is there any way to have the values of the variant variables in table TVARV change automatically (e.g. have one field that holds the current month).

Many thanks in advance

/Martin

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 14, 2004 at 05:08 PM

    The easiest way to achieve this is to write a program which you either schedule as the first step of any job which should be using your selection variables or schedule on another basis (but regularly) which directly updates TVARV.

    I have worked on a couple of sites where this approach has been used, and it is a very simple matter to write the appropriate code and test it.

    Kind Regards

    Rosie Brent

    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.