Hi,
Declare that variable as p with decimals 0.
Data : lv_var type p decimals 0.
Regards,
prashant
Instead of trying to convert them to numbers and then performing substraction. I think U could make use of a FM which shall give U difference between two times.
Try using FITP_GET_TIME_DIFFERENCE
or L_TO_TIME_DIFF
or LEINT_TIMECALC_DIFF
or HR_PDC_CALCULATE_TIME_DIFF
or HR_PDC_CALCULATE_TIME_DIFF.
Add a comment