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

Convert time Format

Former Member
0 Likes
380

HI,

I have the time in format 2,980000000000000+04. Could you pls let me know how to convert this to normal time like hours for the same. Is there any BAPI to convert the above format to normal time.

Regards,

Ram

2 REPLIES 2
Read only

Former Member
0 Likes
348

hi,

can u just give what datatype the variable is delcared as.

is it declared as <b>TYPE F</b>.

if it is possible, take variable LIKE SY-DATUM.

reward if useful....

Read only

Former Member
0 Likes
348

hi ,

try out this , but not sure

data: number type f value '2,980000000000000+04',
      time type syuzeit.
 
move number to time.
write time.