09-24-2008 11:46 AM
Hi,
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
Thanks
RR
09-24-2008 11:55 AM
Hi,
Use 'CONVERSION_EXIT_TSTRN_OUTPUT' and get the converted value.
If you give input as '90700', it will return '9:07'.
try this.
Regards,
R.Nagarajan.
09-24-2008 11:57 AM
Convertion exits are attached with this field.
So to convert the internal format to external format use the FM CONVERSION_EXIT_TSTRN_OUTPUT.