on 06-20-2011 2:27 PM
Hi,
I have created an ALV in abap web dynpro and two columns in ALV have been been created as drop down by key.
The drop down by key is created in the ALV and one of the drop down field A has some values in drop down.(code written in wdinit method and it fills data fine)
Now my requirement is on selection of value from column A should populate the value in Column B-which is also a drop down.
I have tried different event handler with event as (ON_CLICK,on_cell_action,on_data_check,on_function) but its not showing any drop down value in field B.
Please suggest how can this be achieved.
Regards
Shakti
Hello Shakti,
you can't achieve this via two DDBK (Drop Down by Key) fields. You need to create the first one as DDBK and other one as DDBI (Drop Down by Index).
And whenever the first DDBK value is selected, you need to populate the context node value for DDBI.
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Create an On_Select event on dropdown A. Go to the method and read the attributes for DrpDown A and set Drpdown B with the help of code wizard. Hope to help, leme know if any issues.
Cheers
Gaurav
Edited by: GauravKaneria on Jul 14, 2011 8:20 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.