Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: delete data from a internal table that is not in another internal table

$
0
0

Hello Michel,

 

If you could get a range table for the second internal table, then you can use the below delete statement.

 

delete itab_1 where <field> not in range_tab.

 

In case of comparisons of more than 1 field,

 

delete itab_1 where <field1> [not] in range_tab1

                           [AND] [OR] <field2> [not] in range_tab2 and so on.

 

 

Regards,


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>