Application Development and Automation 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: 
Read only

alv grids

Former Member
0 Likes
552

HI

what is the difference between DISPLAY_BASIC_LIST and REUSE_ALV_GRID_DISPLAY and which one is better .

thx

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
522

Hi Chaaya,

Please check the documentation of the function Module....

DISPLAY_BASIC_LIST

This function module allows you to display single-line lists. There are

two possible display modes for displaying the lists.

The data can be formatted either in a table control (default value) or

in a GUI display. You can switch from the table control display to the

GUI display.

REUSE_ALV_GRID_DISPLAY

The function module outputs an internal table with whatever structure in

the form of a formatted single- oder multi-line list.

Best regards,

raam

3 REPLIES 3
Read only

Former Member
0 Likes
523

Hi Chaaya,

Please check the documentation of the function Module....

DISPLAY_BASIC_LIST

This function module allows you to display single-line lists. There are

two possible display modes for displaying the lists.

The data can be formatted either in a table control (default value) or

in a GUI display. You can switch from the table control display to the

GUI display.

REUSE_ALV_GRID_DISPLAY

The function module outputs an internal table with whatever structure in

the form of a formatted single- oder multi-line list.

Best regards,

raam

Read only

former_member188827
Active Contributor
0 Likes
522

DISPLAY_BASIC_LIST

Functionality

This function module allows you to display single-line lists. There are two possible display modes for displaying the lists.

The data can be formatted either in a table control (default value) or in a GUI display. You can switch from the table control display to the GUI display.

Function overview:

Data transfer to MS Word 6.0

Data transfer an MS Excel 5.0

Saving data in a PC file

Sending data as a confidential mail

Printing the table control list (rearranged column order and changes to column width are taken into account).

Switching between GUI and table control display.

Batch capability (the GUI display is used here)

Depending on your system environment, you have the opportunity in table control display to transfer the table data displayed to the PC system. You can transfer the data either to MS Excel or MS Word. If these applications are not active, they are started by the function module. You can select various options when calling these Microsoft products. You can also store the data in various forms on the hard disk of your PC (ASCII, TEXT and DBASE formats are supported).

You can assign up to six user-defined pushbuttons. If one of these is pushed, the function module is exited and an appropriate return code returned. The pushbuttons are available both in Table control and GUI display modes.

Any lines which are selected in a table control are recorded in table SELECT_TAB when you exit the function module. If the table is already full when you call the function module, the corresponding lines in the table control are highlighted.

Line selection in the GUI list:

You may select one line at a time. If lines have already been selected in the table control display, this selection is completely deleted.

In the GUI display, the maximum column width is limited to 60 characters. In table control, a column can be extended beyond 60 characters. Since the internal column width is 60 characters, the GUI display only supports column widths of up to this limit.

You can define a standard display for the current display in table control. If szch a setting exists, this is also used for the GUI display or in batch mode. The setting is user-dependent.

Further information

The link to MS Word is effected with the function module WORD_OLE_FORMLETTER. The link to MS Excel is effected with the function module EXCEL_OLE_STANDARD.

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.

Notes

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.

WHICH ONE IS BETTER DEPENDS ON UR EXACT REQUIREMENT..but mostly reuse_alv_grid_display is used

plz reward points if dis helps

Read only

satsrockford
Active Participant
0 Likes
522

DISPLAY_BASIC_LIST

Printing the table control list (rearranged column order and changes to column width are taken into account).

Switching between GUI and table control display.

Batch capability (the GUI display is used here)

REUSE_ALV_GRID_DISPLAY

Short Text

Output of a simple list (single-line)

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