Skip to Content

simple date range logic

how to find that my date range not falls in between the specified date ranges, is there any function module for that..

A B C

<----


>

<----


>

<----


>

Myrange |<------>|

Since it falls in c, it should show that...

thanx

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 07, 2008 at 11:13 AM

    Build a range table for dates R_DATE (if it is not specified as a select-option).

    Use uthe following code.

    if date not in R_DATE

    endif.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 04, 2008 at 07:17 AM

    well, the date ranges r not fixed in range as well in numbers, so i cant create a date range.

    the solution to wht i implemented is that i have to loop throgh each date range to check if that required date range falls in any of that ranges.

    Thanx for replay anyways...

    Naveen Vishal

    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.