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

table control

Former Member
0 Likes
506

Hi all,

1. Is it possible to give a list-box(drop-down list) in a table control?

2. if i want to display col2 value once user enters col1 value,is there any function code or should I handle 'Enter' key.

please help

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
487

sap fan,

check this example RSDEMO_TABLE_CONTROL and also go through the code.

Check this Link

http://www.allsaplinks.com/files/using_table_in_screen.pdf

Don't forget to reward if useful.

4 REPLIES 4
Read only

Former Member
0 Likes
487

Hi,

you can give the Listbox in the table control, but you need to handle the listbox in the PAI of the loop and endloop at the internal table.

for the second question, you can handle the Enter key alos, enter key will have the Ok code, so based on the ok code of the enter key, you can hnadle the second field

Regards

Sudheer

Read only

Former Member
0 Likes
487

thanks sudheer.

handle list box in PAI? i didnt quite understand this.Actually, i want to display list of values from which user can choose.then i thought i shd handle this in PBO.do you have any sample code for this

Read only

Former Member
0 Likes
488

sap fan,

check this example RSDEMO_TABLE_CONTROL and also go through the code.

Check this Link

http://www.allsaplinks.com/files/using_table_in_screen.pdf

Don't forget to reward if useful.

Read only

Former Member
0 Likes
487

hi all,

my problem is solved.i have used POV event to display the list just like other screen parameters.

But still wonder if there is any other of handling automatic display of data in second column , other than using enter key.