07-15-2008 6:11 AM
Dear gurus,
What is the difference between ALV LIST & ALV GRID
Regards
R.Rajendran
07-15-2008 6:14 AM
07-15-2008 6:12 AM
hi,
Plz refer to this link.
For ALV LIST
http://www.sapdevelopment.co.uk/reporting/alv/alvlist.htm
For ALV GRID
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid.htm
Regards
Sumit Agarwal
07-15-2008 6:14 AM
07-15-2008 6:17 AM
Hi,
Differeces.
REUSE_ALV_LIST_DISPLAY
____________________________________________________
Short Text
Output a simple list (single line or several lines)
Functionality
This module outputs an internal table with any structure as a formatted one-line or multiple-line list.
Principle:
Pass an internal table with the set of output information
Pass a structure with general list layout details
Pass a field catalog as an internal table
The field catalog describes the fields to be output in the list.
Details:
All actions on the list refer directly to the internal output table, e.g. sorting the list also sorts the passed internal output table (passed by reference).
An important consideration for the use of the tools and certain generic functions (totals, subtotals) is the expected amount of data to be displayed.
The application must take this consideration into account.
REUSE_ALV_GRID_DISPLAY
____________________________________________________
Short Text
Output of a simple list (single-line)
Functionality
The function module outputs an internal table with whatever structure in the form of a formatted single- oder multi-line list.
Process:
Passing an internal table with the set of information to be output
Passing a structure with general layout specifications for list layout
Passing a field catalog in the form of an internal table
The field catalog describes the fields to be output in the list.
Details:
All interactions performed on the list refer directly to the internal output table. Sorting the list, for example, also involves a resorting of the internal output table passed (since it was passed by reference).
An important factor determining the usability of the tool or of various generic functions (totals, subtotals) is the expected amount of data to be displayed.
The application is responsible for critically testing this aspect and consider it when it comes to decision-making.
Reward points if it is helpful to you.
with regards,
sharmista.
07-16-2008 4:53 AM
Hello
When you display the contents of a table in SE16 you usually have the "SE16 standard" display. You can change the display to either "ALV list" (corresponding to REUSE_ALV_LIST_DISPLAY) or to "Grid list" (corresponding to REUSE_ALV_GRID_DISPLAY_LVC).
Each ALV toolbar has a button to switch between Grid and List display (for print output).
Technically REUSE_ALV_LIST_DISPLAY is the old-fashioned SLIS-based ALV list whereas REUSE_ALV_GRID_DISPLAY_LVC is more closely to OO-based ALV lists.
Regards
Uwe