Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

ABAP List View (ALV) : Simple Steps

$
0
0

ALV stands for ABAP List Viewer, used to display data as report/List. ALV is similar to classical reports but it will give additional features to the programmers.


Following are simple steps to build ALV,

  1. Data declarations
  2. Fetch the required data form the tables
  3. Prepare field catalog
  4. Build up the event table if required
  5. Display ALV output by Calling FM

 

Data Declaration

     Declare the internal tables, work area, variables & constants which are require holding the data & further processing.

 

Fetch the required data from the data base table

     Fetch & process the required data from the table & populate the data to be displayed in the final internal table.

 

Prepare Field catalog

     Field catalog defines the format & properties of the fields to be displayed in the ALV output.

 

Build Event table

     Prepare the internal tables which will hold the ALV events such as TOP_OF_PAGE, END_OF_PAGE.

 

Display ALV output

     Display data in the ALV output by invoking FM (Function Modules).

REUSE_ALV_GRID_DISPLAY, REUSE_ALV_LIST_DISPLAY, REUSE_ALV_HIER_DISPLAY etc.

 

Thanks & Regards,

Venugopal M N


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>