Application Development 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: 

Need urgent help on ALV dropdown

Former Member
0 Kudos

Hi experts, I have posted this before but was not able to get much feedback. I urgently need some feedback about this.

I had a dropdown in one of my grid's column. It was done in OO way using fieldcatalog DRDN_FIELD.

I want to know is it possible to fire any event directly after I select a value from the dropdown list? I just want to know whether is this possible and how to code it?

I keep getting answer like DATA_CHANGED event can be fire. I know it can be fired, but I need to register some event to capture the ENTER key being pressed.

This is not I want. I want event which can be fire RIGHT AWAY after user selection an entry from the dropdown.

Many thanks in advance.

2 REPLIES 2

Former Member
0 Kudos

Hi ,

You have to register an event for entre like this .

call method grid->register_edit_event

exporting event_id = cl_gui_alv_grid=>MC_EVT_ENTER.

Please reward if useful.

Former Member
0 Kudos

Thanks, but I mentioned earlier this is not what I want. I do not want to press anything. I want the event to fire right away after I select an entry from the dropdown. Sigh... guess it's not possible then.