Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in Time Comparison

Hi All,

I have a problem where i have to calculate based on the time slots.The time slots are divided in 4 parts i.e from 6 to 12,from 12 to 18,from 18 to 24 and from 0 to 6.

My problem is in table time is stored as 00:00:00.But in my internal table it is coming as 000000.

I have written the code taking colon in consideration.But it is not coming inside the if block.

e.g

IF wa_jcds3-utime between '00:06:00' and '00:12:00'.

l_flag_time2 = 'X'.

qty_time2 = qty_time2 + 1.

ENDIF.

Can someone please resove this.

Thanks in advance,

Saket.

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question