Best practices
Thou shalt use TRANSPORTING NO FIELDS
2015-03-09

Many times we do READ TABLE itbl or LOOP AT itbl just to do a CHECK SY-SUBRC = 0. In these cases, the actual data read is not needed. For these cases always use TRANSPORTING NO FIELDS. This way is faster and avoids having to declare a target structure.
18 de March de 2015 às 04:34 AM
Isso no monotono mundo pre ABAP 740. No mundo modernno usaras line_exist
IF line_exists( lt_vbak[ vbeln = ‘0002000001’ ] ).
ENDIF.
Abraco!