Hi
The rule to convert is easy:
GDATU = '99999999' - DATE (YYYYMMDD)
Try to run this report:
parameters: p1 type sy-datum,
p2 type sy-datum.
data date_c(8) type c.
data p1_int(8) type c.
data p2_int(8) type c.
move p1 to date_c.
p1_int = '99999999' - date_c.
write: p1, p1_int.
move p2 to date_c.
p2_int = '99999999' - date_c.
skip.
write: p2, p2_int.
if P1 is greater than P2 => P2 (converted) will be greater than P1 converted
Max