10-15-2008 1:43 PM
hi all,
is there any function module to convert hours to minutes and seconds to minutes....if so please guided me....i hav req like this...want to convert all those to minutes[seconds and hours]....
10-15-2008 1:49 PM
Hi,
Use FM
SD_CALC_DURATION_FROM_DATETIME
Pass paramters like
I_DATE1 16.09.2008
I_TIME1 10:33:00
I_DATE2 16.09.2008
I_TIME2 19:00:00
and you will get the result as below..
E_TDIFF 8:27
8 hours and 27 minutes...
Now u can use this values of hours and minutes to get the exact wage type values... get the details from HR module and multiply it with the hours and minute and calculate it...
Use Offsets and get the hour and minute value from E_TDIFF
Hope it will solve your problem..
Thanks & Regards,
Naresh
10-15-2008 1:49 PM
Hi,
Use FM
SD_CALC_DURATION_FROM_DATETIME
Pass paramters like
I_DATE1 16.09.2008
I_TIME1 10:33:00
I_DATE2 16.09.2008
I_TIME2 19:00:00
and you will get the result as below..
E_TDIFF 8:27
8 hours and 27 minutes...
Now u can use this values of hours and minutes to get the exact wage type values... get the details from HR module and multiply it with the hours and minute and calculate it...
Use Offsets and get the hour and minute value from E_TDIFF
Hope it will solve your problem..
Thanks & Regards,
Naresh