Application Development 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: 

Summing time in ABAP

former_member196601
Active Participant
0 Kudos

Hi Everyone,

My requirement is something like this...

Consider an employee is entering his time schedule on an hourly basis, I am fetching these into an internal table but when iam fetching i need to sum all the time and display total time he has worked....

How to sum it...

I tried to sum in select query but its summing only the first part (hours) and not summing the minutes....

Can anyone help me on this......

Regards

Naveen

1 ACCEPTED SOLUTION

former_member223537
Active Contributor
0 Kudos

Hi Naveen,

Use FM 'C14B_ADD_TIME'.

Best regards,

Prashant

2 REPLIES 2

former_member223537
Active Contributor
0 Kudos

Hi Naveen,

Use FM 'C14B_ADD_TIME'.

Best regards,

Prashant

Former Member
0 Kudos

try to convert hours and minutes into minutes and then sum it minutes, then again convert the minutes into hours and minutes