SAP introduced Filters in ABAP 7.4

The filter can be used in place of nested loop

types : begin of lty_vbrk,
vbeln type vbrk-vbeln,
fkart type vbrk-fkart,
end of lty_vbrk.

data : lt_vbrk type standard table of lty_vbrk with non-unique sorted key fkart
components fkarts.

Select vbeln fkart from vbrk into table lt_vbrk upto 20000 rows.

data(LT_FLT) = fliter #( lt_vbrk using key fkart where fkart = ‘ZSSI’ ).

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *