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: 

would you please summarize what the difference between tc and alv?

Former Member
0 Kudos

hi, experts,

would you please summarize what the difference between table control and alv base on the function and usage practice.

for example, as i know:

1.edit

tc: can edit in the same screen and save.

alv: pop up a sub screen to let user edit, so this is unconvenient.

2.functional button

alv: can have many functional button as default ,eg. sort, summary and so on

tc: developers must implements by himself.

3.color

alv: can have and change color

tc: cann't changed color

some client may required the data displayed in alv and edit in tc ,such as example BCALV_EDIT_02.

above are my idea, experts, would you give me some comments on my opinion and summarize what the difference between those two components? i should make it clear in order to consult the UI with my client.hunger for your advice, thanks!

Message was edited by:

liu shaochang

1 ACCEPTED SOLUTION

Former Member
0 Kudos

ALV Grid is basically used for display puropse. It is more user friendly. There are arious features ( such as coloring, sorting, saving to a local file, sedning by mail etc. ) These featurs make ALV Grid a very good option to display the data .

However , the table control is not only used to display data take from the database table, but also you can do operation such as deletion of data from database table, insertion of data into the database table and updation also. Yeah it has not got the various features whihc ALV has.

So table control and ALV Grid , if you are just using for display purpose, then ALV Grid is a better option due to its layout and attractive features. But if you want to do the database operations other than display, table control can be used.

As far as execution is concerned, I think ALV Grid is faster.

ALV grid control is faster when compared to Table control. But the comaprision is Negligible .

One of the major differences comes in taking of line items - ALV has an advantage over Table Control when it comes to update database from it.Table control only allows maximum of 999 records at a time where as this limitation is not there in ALV.

Also,a main feature of ALV Grid is that it contains a standard set of functions. These functions extend beyond the functions of a table control.

These two UI elements require different keyboard navigation, with ALV Grid being more user-friendly.

An application can display table data in ALV Grid or in a table control. In some applications you can choose between displaying and editing data in either ALV Grid or a table control. If a configurable button () appears in the right upper corner of the table, it is a table control.

****************************************************************

Basically ALV is a way to display the output and Table Control is designed in screen painter through which you can get entries in Table Control, can delete some records etc for further processing and its not use only for Display.

ALV is Application List viewer:-

Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.

In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.

TABLE CONTROL:-

ABAP offers two mechanisms for displaying and using table data in a screen. These mechanisms are table controls and step loops. Table controls and step loops are types of screen tables you can add to a screen in the Screen Painter.

2 REPLIES 2

Former Member
0 Kudos

alv is build by class and method.

tc build by sap codeing.

Former Member
0 Kudos

ALV Grid is basically used for display puropse. It is more user friendly. There are arious features ( such as coloring, sorting, saving to a local file, sedning by mail etc. ) These featurs make ALV Grid a very good option to display the data .

However , the table control is not only used to display data take from the database table, but also you can do operation such as deletion of data from database table, insertion of data into the database table and updation also. Yeah it has not got the various features whihc ALV has.

So table control and ALV Grid , if you are just using for display purpose, then ALV Grid is a better option due to its layout and attractive features. But if you want to do the database operations other than display, table control can be used.

As far as execution is concerned, I think ALV Grid is faster.

ALV grid control is faster when compared to Table control. But the comaprision is Negligible .

One of the major differences comes in taking of line items - ALV has an advantage over Table Control when it comes to update database from it.Table control only allows maximum of 999 records at a time where as this limitation is not there in ALV.

Also,a main feature of ALV Grid is that it contains a standard set of functions. These functions extend beyond the functions of a table control.

These two UI elements require different keyboard navigation, with ALV Grid being more user-friendly.

An application can display table data in ALV Grid or in a table control. In some applications you can choose between displaying and editing data in either ALV Grid or a table control. If a configurable button () appears in the right upper corner of the table, it is a table control.

****************************************************************

Basically ALV is a way to display the output and Table Control is designed in screen painter through which you can get entries in Table Control, can delete some records etc for further processing and its not use only for Display.

ALV is Application List viewer:-

Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.

In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.

TABLE CONTROL:-

ABAP offers two mechanisms for displaying and using table data in a screen. These mechanisms are table controls and step loops. Table controls and step loops are types of screen tables you can add to a screen in the Screen Painter.