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

List Selection in Listbox

Former Member
0 Likes
403

I have got a list box by name 'TDD' and it accepts values from Program 'A' and not from ABAP Dictionary.

I have filled the list box in PBO with values 350,450,550 and 750.

Now my query is when i select a value from the list, the selected value should be displayed on a text field.

What i have done is, i have appended the above values in a list box thru' vrm_values. The key and text which are of character datatypes store the above values in list. Now i have to access the above list items with the help of its key and store it in an integer variable for further process.

Complication is key and text both are character format and my content is numeric format and i want to process operation with the help of its key. How can i do that?And i want the operation to be processed on selection of list item and not on pressing enter button or losing the focus from list. The entire operation has to be processed on selection of list item only.

Please help it out.

I have got a list box by name 'TDD' and it accepts values from Program 'A' and not from ABAP Dictionary.

I have filled the list box in PBO with values 350,450,550 and 750.

Now my query is when i select a value from the list, the selected value should be displayed on a text field.

What i have done is, i have appended the above values in a list box thru' vrm_values. The key and text which are of character datatypes store the above values in list. Now i have to access the above list items with the help of its key and store it in an integer variable for further process.

Complication is key and text both are character format and my content is numeric format and i want to process operation with the help of its key. How can i do that?And i want the operation to be processed on selection of list item and not on pressing enter button or losing the focus from list. The entire operation has to be processed on selection of list item only.

Please help it out.

1 REPLY 1
Read only

anversha_s
Active Contributor
0 Likes
375

hi,

Check the link to know how to populate values as a LIST(drop down list)

rgds

Anver