Code: Alles auswählen.
DATA: TIME1 TYPE D VALUE '21062007',
TIME2 TYPE D VALUE '19062007',
TIME3 TYPE D.
TIME3 = TIME1 - TIME2.
WRITE / TIME3.
Code: Alles auswählen.
DATA: time1 TYPE d VALUE '20070621',
time2 TYPE d VALUE '20070619',
time3 TYPE i.
time3 = time1 - time2.
WRITE / time3.