Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

simple date range logic

naveenvishal
Contributor
0 Likes
563

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

2 REPLIES 2
Read only

Former Member
0 Likes
404

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.

Read only

naveenvishal
Contributor
0 Likes
404

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