Subtracting from a date
I am writing a start routine in BI in which i dont want any records which are older than 2 days.
So what i am doing is this
DATA lv_date type d.
loop at SOURCE_PACKAGE assigning <source_fields>.
lv_date = <source_fields>-CHANGED_AT - 2.
if <source_fields>-CREATED_AT <> lv_date.
Now i have checked that the format of the <source_fields>-CHANGED_AT is dd.mm.yyyy. this doesnt seem to work. Please can someone suggest me something