ABAP program for Reading database tables using select

Requirement:
Write the a report with a select statement.

ABAP Source Code:

report zselect1 no standard page heading.
tables: lfa1.
select * from lfa1 order by name1.
write: / lfa1-name1, ‘ ‘, lfa1-lifnr.

endselect