Could some one hlep on this.
How to write routine for this below logic
[Age (days)] ZKF = IF ZCLEARINGDATE is not empty then ZCLEARINGDATE ELSE ZLASTDATE - ZNETDUDATE.
I will create age days as new key figure type as DATE & donu2019t know the logic for abap routine.
Please help me with routine logic