Skip to Content
0
Former Member
Jan 26, 2009 at 07:39 PM

Converstion Exit for TIME

1892 Views

Hello,

I am reading txt file format (open dataset) for date and time data. After getting the data I have to run through the FM - SD_CALC_DURATION_FROM_DATETIME and when done I am again pusing the data to flat file. In the process I found that when I upload/download the time field is loosing its format and also there is loss of some information. e.g. if the time is 08:42:15 then the program is loosing the seconds data and the field becomes 08:42:. I want to know why this is happeneing and why its not loosing the data from last ':' rather than only last 2 digits. I checked SDN and searched through google but I could not find the solution also I tried using conversion exits CONVERSION_EXIT_TIMEA_OUTPUT and CONVERSION_EXIT_TIMEA_INPUT. But these are not working properly. Any inputs are appriciated.

Thanks in advance