2009 Jan 15 9:03 AM
Hi,
I am not expert in dialog programming so please understands why I ask this.
When I want to create a program that will have multiple items to display, I came up with 2 option.
First option is to use table control like many other SAP standard transactions.
The 2nd option that I can think of is using ALV Grid using CL_GUI_ALV_GRID class.
Is there any benefit in using table control as oppose to using ALV Grid to display or even maintain multiple items in dialog program?
I can not see any function that table control can do but ALV Grid can not.
Event handling already so advanced in ALV Grid and also editing function.
Can anyone please give me some opinion about this? Thank you.
Regards,
Abraham
2009 Jan 15 9:22 AM
Hi
Table control is old abap technic to display and manage multiple items in a screen, the ALV was created just to give a standard tool to manage the same scenario of table control.
So it's generally better to use ALV grid than table control: because it's faster to develp it and it can have a status gui with many functionalities.
In screen painter there's only a smart tool in order to generate a table control, but then it needs to implement all abap code to manage the table control by himself.
Just only in old release (like 46C) I had to use a table control instead of the grid, because it couldn't do some controls when the user inserted or changed the data of an item.
Max
2009 Jan 15 9:16 AM
Hi,
Click on the below link to view the answers;
[Table Control Vs ALV|https://www.sdn.sap.com/irj/scn/advancedsearch?query=tablecontrolvs+alv&cat=sdn_all] - SCN Search Result.
Hope this will help you.
Regards
Karthik D
2009 Jan 15 9:22 AM
Hi
Table control is old abap technic to display and manage multiple items in a screen, the ALV was created just to give a standard tool to manage the same scenario of table control.
So it's generally better to use ALV grid than table control: because it's faster to develp it and it can have a status gui with many functionalities.
In screen painter there's only a smart tool in order to generate a table control, but then it needs to implement all abap code to manage the table control by himself.
Just only in old release (like 46C) I had to use a table control instead of the grid, because it couldn't do some controls when the user inserted or changed the data of an item.
Max
2009 Jan 15 9:27 AM
hi abraham,
SEARCH IN SCN BEFORE POSTING.
you will get your answer .
thanks
Sachin
2009 Jan 15 11:03 AM
Hi,
check the following link
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm
https://forums.sdn.sap.com/click.jspa?searchID=20576590&messageID=6428426
Regards,
Madhu