Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

time conversion

geetha_k
Active Participant
0 Likes
734

Hi to all,

I have small requirement.In our module program we hav calculated time between 2 dates and 2 times.We r calculating this difference using function module SD_CALC_DURATION_FROM_DATETIME.

We r getting correct time,but it is showing in decimal datatype.We want in times format i.e in " hh:mm:ss ".How we can convert that decimal datatype time into times data type.Please give me any ideas...

4 REPLIES 4
Read only

former_member182354
Contributor
0 Likes
616

You can code it using Offsets ...

Raghav

Read only

Former Member
0 Likes
616

hi

Try using this FM: CONVERSION_EXIT_TSTRN_OUTPUT.

Regards,

Vishwa.

Read only

Former Member
0 Likes
616

check this thread

Read only

naveen_inuganti2
Active Contributor
0 Likes
616

Gi Geetha..,

Keep this link to get required function module name..,

https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/pointstab/viewpageversion.action&pageid=6822

Thanks,

Naveen.I