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

Dynamic values in Events

Former Member
0 Likes
420

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.

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.

1 REPLY 1
Read only

Former Member
0 Likes
387

posted in abap objects