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

Related SAP Tutorials & References
  1. Reading logical database using ABAP programRequirement: Read a logical database (you must have data in those tables, now LFA1), fill...
  2. ABAP program to load a database table from a UNIX fileRequirement: Write a program to load a database table from a UNIX file. ABAP Source...
  3. ABAP program for Creating Extract DatasetRequirement: Write a program that lists the Vendors and their Accounting documents. Create extract dataset...
  4. ABAP SQL Examples – Select QueryRequirement: Select those MM tables which are language dependant (For example you want to translate...
  5. SELECT ( SAP ABAP Keyword)SELECT is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax...
  6. TOP-OF-PAGE ( SAP ABAP Keyword)TOP-OF-PAGE is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax...
  7. ABAP program for Mass Purchase Order History DisplayThis is a customized ABAP report for mass Purchase Order history display instead of checking...
  8. SELECT clause ( SAP ABAP Keyword)SELECT clause is a keyword used in SAP ABAP programming.This tutorial covers its introduction &...
  9. ABAP program for find the user-exits of a SAP transaction code*Sample ABAP program for Find the user-exits of a particular SAP transaction code (Tcode) *...
  10. NEW-PAGE (ABAP Keyword)NEW-PAGE is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax...
Google: Facebook:

Submit your tip or response