Skip to Content
0
Former Member
Dec 03, 2008 at 04:23 PM

Dynamic values in Events

33 Views

Hi All..

am developing a transaction where users will place an order..but..my question is..

i have one input box and one button on the screen form...these 2 are created dynamically..

I have event handlers like this..

class cl_my_event_handler definition.

public section.

methods:

input_enter for event entered of cl_dd_input_element importing sender,

click_button for event clicked of cl_dd_button_element importing sender,

..

I have these 2 events..when hit enter this is fetching the value in the input box..which is fine..because it will give the sender->name and sender->value.

but i wanted to get the value in the input box as well with the button name when i click the button.

as there are events associated to these at runtime.how can i get the value in the input box when i click the button..

Please help..

Thanks in advance..

Suresh.