I have two field-symbols internal tables <itab>, <items>. I want to delete all records in <itab> if they are existing in <items>. I can complete it by doing LOOP but it's time-consuming. Is there any better way to do it?
If you do a binary search on the second table, it won't take as much time. If there are multiple records in the second table for records in the first table you can use an indexed read to get rid of those.
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
Add a comment