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

Synchronizing 2 select-options

former_member636500
Participant
0 Likes
464

Hi all. How are you?

I would like to find someway to load a select-option using as parameter the value selected by the user in another select option.

For example:

There are 2 companies. The company A sells the books 1, 2 and 3. The company B sells the books 4, 5 and 6. When the user to select the Company B in the first selection-option, only the values 4, 5 and 6 shall be loaded in the second select-options.

Does somebody have a hint or a example about how to make this?

Thanks in advance.

Tiago.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
426

You have to do this in AT SELECTION-SCREEN ON VALUE-REQUEST FOR <param> event. In there you read the current value of the other select-option or parameter using the function module DYNP_VALUES_READ. Once you get the current value of that parameter, you can then select the corresponding entries for select option 2 and show them using 'F4IF_INT_TABLE_VALUE_REQUEST'.

2 REPLIES 2
Read only

Former Member
0 Likes
427

You have to do this in AT SELECTION-SCREEN ON VALUE-REQUEST FOR <param> event. In there you read the current value of the other select-option or parameter using the function module DYNP_VALUES_READ. Once you get the current value of that parameter, you can then select the corresponding entries for select option 2 and show them using 'F4IF_INT_TABLE_VALUE_REQUEST'.

Read only

0 Likes
426

Hi Srinivas.

I've been found lots of sample codes in this forum from keywords you provided.

Thus I succeed in solving this issue.

Thank you very much.

Tiago.