Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

difference between ALV List & ALV Grid

Former Member
0 Kudos

Dear gurus,

What is the difference between ALV LIST & ALV GRID

Regards

R.Rajendran

1 ACCEPTED SOLUTION
4 REPLIES 4

Former Member
0 Kudos

Former Member
0 Kudos

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.

uwe_schieferstein
Active Contributor
0 Kudos

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