01-12-2017 7:23 AM
Hi All.
I have to find the total time in ALV which column is displayed as HH:MM.DO_SUM does not work hence field has content as HH:MM.Could you please help me to find total time or any other suggestion .
Regards.
Jay.
01-12-2017 8:48 AM
Nagarajan,
Kindly go through the code in the FM TIMECALC_DIFF. It is doing subtraction,you can follow the same for addition.
Not at the level of ALV GRID but internally in the program you can process the data with a similar logic and get the sum of hours.
Also you can explore the existing SAP FMs in SE37 with the keyword search *add*time*.
(or)
Refer to the below link
Kindly share if you got any other better solution to this.
K.Kiran.