‎2007 Mar 22 6:31 AM
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
‎2007 Mar 22 7:05 AM
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.
‎2007 Mar 22 6:41 AM
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
‎2007 Mar 22 6:47 AM
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
‎2007 Mar 22 7:05 AM
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.
‎2007 Mar 22 7:37 AM
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.