select into local structure

 REPORT ZFLIGHT_REPORT.


data ls_airlines type scarr.
new-line.
write'USD Accepting Airlines'.
SELECT *
  FROM SCARR
  into ls_airlines.
  if ls_airlines-currcode 'USD'.
    write/ls_airlines-carrname.
  endif.
endselect.

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%