Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

technique to find time overlapping...

Former Member
0 Kudos

Hi,

I am having a internal table with date & time and another ITAB which also have date & time. Is there any FM or method

to find whether they overlap or not?

Please help.

Thanks in advance.

1 REPLY 1

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

Am not sure baout the FM but it's quite easy .

Loop at the first table.

read second table with key date = first-date

time = first-time.

if sy-subrc eq 0.

either delete from first or second table or append these records to another table.

endif.

endloop.

Regards,

Sandeep