Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Time conversion error


Im using FM 'SD_CALC_DURATION_FROM_DATETIME' to calculate time difference between two date and two time.

The output time is stored in field 'TVRO-FAHZTD' which is field type DEC with length 11.

In ALV display it gives proper result like '9.7' means 9 hours and 7 minutes.

But when I use this field for calculation the field displays

' 90700' rather than '9.7.

How can I convert ' 90700' to '9.7' means 9 hours and 7 mins



Former Member
Not what you were looking for? View more on this topic or Ask a question