Read statement is used to read a single row of internal table. Using this statement alters the value of sy-subrc and sy-tabix.

Syntax : read <internal_table> into <workarea> <condition>.

Ex:  read it_mara into wa_mara with key matnr = 100 binary search.
        read it_mara into wa_mara index 2.
After read statement , sy-tabix value will be the row number read and sy-subrc will be 0 if fetching is done. Index 2 means read the 2nd row of internal table it_mara.


Serkan AKKAVAK
Computer Engineer
ABAP Developer & SAP MM SD Consultant