select into local table

 REPORT ZFLIGHT_REPORT.


data lt_airlines type table of scarr.
data ls_airlines type scarr.

SELECT *
  FROM SCARR
  into table lt_airlines
  where currcode 'USD'.

  LOOP AT lt_airlines into ls_airlines..
    write:/ls_airlines-carrname.
  ENDLOOP.

Comments

Popular posts from this blog

sap abap import from excell to table (transparent table)

sap abap Import from excell to internal table that works 100%