* Read table
READ TABLE t_mara ASSIGNING <lfs_mara>
  WITH KEY matnr = '123456'.
IF sy-subrc EQ 0.
  WRITE: <lfs_mara>-matnr.
ENDIF.
*
* Access via Loop
LOOP AT t_mara ASSIGNING <lfs_mara>.
  WRITE: <lfs_mara>-matnr.
ENDLOOP.
 
 
Serkan AKKAVAK
Computer Engineer
serkurumsal@yandex.com