2017 Jul 12 4:02 PM
Hello All,
Need your help regarding the best way to display milliseconds in ALV. So far I have seen time display in hh:mm:ss format but I need to display time along with milliseconds in the format HH:MM:SS:mmm.
Appreciate your help,
Athreya
2017 Jul 13 6:15 AM
How is the time stored in your program? As a string HHMMSS.mmm? Or as a timestamp YYYYMMSSDDhhmmss.nnnnnnn? Or as some weird kind of numeric format? It would have been nice of you to state it.
Convert the time to a string, and then use string operations to format it as you want.
2017 Jul 13 3:33 AM
Hi,
Pls check this data element TIMESTAMPL. Might be useful.
Regards,
Priyanka.
2017 Jul 13 6:13 AM
2017 Jul 13 6:15 AM
How is the time stored in your program? As a string HHMMSS.mmm? Or as a timestamp YYYYMMSSDDhhmmss.nnnnnnn? Or as some weird kind of numeric format? It would have been nice of you to state it.
Convert the time to a string, and then use string operations to format it as you want.
2017 Jul 13 7:53 AM
Hi Matthew,
The data is stored in a field of type TIMESTAMPL (format YYYYMMDDhhmmssmmmuuun). I suppose I need to use string operations to get the format or convert the time (with milliseconds) into a NUMC type variable and display in ALV using edit mask (the sorting and other functionalities in ALV should work if the particular field is used).
Regards,
Athreya
2017 Jul 13 9:45 AM