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

Function Module to Compare Date within date Range

Former Member
0 Likes
1,259

Hi All,

Does anyone know Function Module to Compare Date within date Range...For example i need to find whether 08/02/2006 falls in between 07/15/2006 and 09/15/2006......

2 REPLIES 2
Read only

Former Member
0 Likes
629

Convert the dates to yyyymmdd and use a range or GE and LE operands.

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
629
data: datum type sy-datum value '20070802',
      datum_low type sy-datum  value '20070730',
      datum_high type sy-datum value '20070930'.

If datum between datum_low and datum_high.

Endif.

Regards,

Rich Heilman