Application Development 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: 

Function Module to Compare Date within date Range

Former Member
0 Kudos

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

Former Member
0 Kudos

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

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
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