Best way to Loop At ‘Standard’ Internal Table in ABAP

When it comes to looping thru a standard Internal Table, almost every ABAPer normally loops like this (I_COEP is already sorted)
(1) Loop at I_COEP where kokrs = i_cobk-kokrs
and belnr = i_cobk-belnr.
……
endloop.

And this the SLOWEST method to be adopted.

Continue Reading…

Page 1 of 11