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

Variable offsets

Hi everbody,

I need some advise about specifying variable offset as a variable. I have 0Calday in my query, and I need to show the results from Calday - N to Today where N should be a user entry. The users does not want to enter a range but only enter N.

This is a little urgent, so please heeeelp

Thanks in advance

Yasemin...

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2007 at 07:47 AM

    Hi,

    You can try creating a user exit variable for populating 0calday-N (e.g - YCALN)and then restrict 0calday by an interval [YCALN; 0DAT].

    hope this helps.

    Regards

    rajesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2007 at 08:08 AM

    HI,

    all you need to do is take input from the user in an input variable VAR1...and create another vairbale which always gives you system date...this you can put by making value VAR2= SY-DATUM and then restrict the key figure with the range VAR1 and VAR2.

    you need to write this code in CMOD.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ajeet,

      I think the same problem with what J S says is still going on. The users do not want to enter a date, they want a numeric value to enter and it will show them from N days before to Today's data.

      Thank you very much for the information but still I need to solve this problem...

      Yasemin KILINC

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 08:11 AM

    Thanks for all comments. Users will enter a date and I will use your suggestions. Thanks again.

    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.