“For All Entries” – Pitfalls, Limitations, Workarounds

“For All Entries” is a useful ABAP command used in the following basic format: SELECT a b c FROM dbtab FOR ALL ENTRIES IN git_itab WHERE fld1 EQ git_itab-fld1 AND fld2 EQ git_itab-fld2. However, it has two pitfalls I have witnessed to be ignored by ABAP programmers occasionally. PITFALL 1: If git_itab is empty, the … Continue reading “For All Entries” – Pitfalls, Limitations, Workarounds