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

developing table control...

Former Member
0 Likes
745

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
714

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..

6 REPLIES 6
Read only

Former Member
0 Likes
714

Check out the below sample demo programs

RSDEMO_TABLE_CONTROL

DEMO_DYNPRO_TABLE_CONTROL_1

DEMO_DYNPRO_TABLE_CONTROL_2

RSDEMO02

Read only

Former Member
0 Likes
715

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..

Read only

0 Likes
714

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

Read only

0 Likes
714

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

Read only

0 Likes
714

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

Read only

0 Likes
714

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.