Hello,
I have two variables that I’m using to populate time confirmation in t-code IW41. The variables are working fine for recording the actual start and finish times. I would also like to record actual work. That requires entering either hours or minutes in decimal format.
I am getting some very hard to understand results when I subtract the start time from the finish time. Can anyone provide some guidance as to what I should be seeing here, and how to interpret the results? I am setting a variable with the following syntax:
Set V[z_iw41_work_s] "&V[z_iw41_endtime]" - "&V[z_iw41_start_time]"
I should also mention that my variables are in the format h:m:s. At first it appeared that the result was simply seconds plus 40, but that doesn’t hold up when the duration is higher. I then thought it was minutes in the hundreds column and seconds + 40 following, but then I got a result of 4436 for a duration of 4:36. Should I be formatting the difference variable somehow? Any suggestions would be appreciated. Thanks in advance!
Thanks,