on 09-22-2012 8:20 PM
I am trying to development a selection screen where there are select options along with with a dropdown. I want modify the view as the value in the dropdown is selected. I have already checked with the interface event handlers available in WDR_SELECT_OPTIONS. None of them can be used in my case. Please help me out. Please!!!!
Thanks & Regards
Sounak
Thank you Shivesh and Chengalarayulu for your response.
Yeah that is what i was looking for dropdown with WDR_SELECT_OPTIONS event handling. But probably not possible.
If anyone can advice on this further.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sounak,
Create DropDown on your static View.. and in onSelect action.. you can populate the SELECT-OPTIONS selection screen fields..
try this.. because as per my knowledge select options & dropdown together is not possible..
hope it helps you..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Sounak,
Refer this link for Select Option: http://saptechnical.com/Tutorials/WebDynproABAP/SelectOptions/demo.htm
For Drop-Down: UseDrop Down UI Element & tht will have a event. You can use it accordingly.
Regard's,
Shivesh Ranjan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What exactly you want to change when the value in the dropdown is selected?
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sounak,
If you want to set the value of your dropdown as selected you can try this:
* create local data variable to access context information
Data: context_node type ref to if_wd_context_node.
* create table based on context structure
Data: it_carriers type STANDARD TABLE OF if_view1=>element_DROPDOWN_CARRIERS,
wa_carriers like line of it_carriers.
select *
from scarr
into table it_carriers.
context_node = wd_context->get_child_node( name = 'DROPDOWN_CARRIERS').
context_node->BIND_TABLE( it_carriers ).
* Set displayed value of dropdown by index UI element.
index = 3. "sets dropdown value to the third entry in the drop down table
context_node->set_lead_selection_index( index = index ).
Here , this will set the third value of your dropdown as selected one. I hope you are using dropdown by index here.
Thanks,
Nsingh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please provide some suggestions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please provide some suggestions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.