# Finding a particular value in internal table itab in ABAP

SAP HANASAPSAP Basis

you can use a READ statement in combination with TRANSPORTING NO FIELDS. This will skip the values to be transferred to the work area and avoid the loop. Here is an example:

READ TABLE itab WITH KEY FIELD = 'ABC' TRANSPORTING NO FIELDS.
IF SY-SUBRC = 0.
"Field Match.”
ENDIF.
Published on 15-Dec-2017 19:57:36
Advertisements