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

Drop down handler in a table control - query on having varying values

tabraiz_khan
Participant
0 Likes
466

Hi,

I've created a dropdown handler and attached an internal table to a column in the table control in the field catalog to display values available in the internal table. Now, I have a necessity to change the values in the drop down based on the value in the row. For example, for the first row, i need values X, Y and Z in the drop down based on a certain check and in the second row i need X and Y only. Is this possible?

Hi,

I've created a dropdown handler and attached an internal table to a column in the table control in the field catalog to display values available in the internal table. Now, I have a necessity to change the values in the drop down based on the value in the row. For example, for the first row, i need values X, Y and Z in the drop down based on a certain check and in the second row i need X and Y only. Is this possible?

2 REPLIES 2
Read only

Kiran_Valluru
Active Contributor
0 Likes
435

Hi tabraiz.,

Check this [Drop Down in table control|;

hope this helps u,.

Thanks & Regards

Kiran

Read only

rahul_mb
Active Participant
0 Likes
435

Hi Tabraiz,

You can assign a user command to the drop down box. And then check the user command in the LAI and write the code for displaying the drop down list.

You can use statement GET CURSOR and get the current line and then using this current line number you can read the corresponding line from the internal table sing the statement READ TABLE.

Regards,

Rahul Muraleedharan.