‎2008 Jul 30 7:35 PM
hi,
i have read posts on creating the table control by program rather than using the wizard. i want to try that.. can anyone point me to some good material or let me know the steps or sampl code ??
all i need is
1. a table control to display data from my internal table.
2. user must be able to select/deselect multiple rows
3. there can be a button to sort in ascending and descending order, but then which column ?? can he choose the column ?
4. i need scrollbars in that table control.
5. provision to validate those selected lines. if they dont match the criteria then they must be allowed to select to deselect the rows again !!
pretty much a simple expectation...any help ? thks
‎2008 Jul 30 7:39 PM
You can use the program RSDEMO02
and also RSDEMO_TABLE_CONTROL
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
They are very small and simple programs. you can check those..
‎2008 Jul 30 7:37 PM
Check out the below sample demo programs
RSDEMO_TABLE_CONTROL
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
RSDEMO02
‎2008 Jul 30 7:39 PM
You can use the program RSDEMO02
and also RSDEMO_TABLE_CONTROL
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
They are very small and simple programs. you can check those..
‎2008 Jul 30 7:44 PM
ok i will..also how can i define a table control to be associated with a tab strip's subscreen ??
like i have a tab strip and it's first tab must contain the table control that i define !! thks
‎2008 Jul 30 7:49 PM
You have define the table control as subscreen and then call the subscreen in tabstrip subscreen area.
How to use Tabstrip check the program DEMO_DYNPRO_TABSTRIP_LOCAL
‎2008 Jul 30 8:12 PM
hey,
one question..how are the table control's columns built ??
i have dragged a table control on my screen. how do i speciy the columns it has to display ??
i am not able to follow the logic to populate the table. any help ?
in table control wizard we will have a link between the ITAB and the table control automatically. here how do i do that manually ?
thks
‎2008 Jul 30 8:31 PM
here also you can get the attributes from program or dictionary.
Now select the attributes which you want to show on the control, then place one after the other . they will be aligned properly. then save and activate.