Question: how to calculate time difference in abap?
Answer: diff = t2 - t1. seconds = diff MOD 86400. hours = seconds / 3600. The number of hours between 02:00:00 and 20:00:00 is calculated.