Hi Gaurav,
First of all when all this is happening in UI why you need to pass the selected value to backend. I didnt get this.
I believe, this is only ui related and the old value which you got can be set in the IMPL class global variable and trigger method set_on_close_event, say here 'CONFIRM_POPUP_CLOSED' as shown below:
gr_popup->set_on_close_event( iv_event_name = 'CONFIRM_POPUP_CLOSED'
iv_view = me ).
Retrive the answer as per selection from popup in method 'CONFIRM_POPUP_CLOSED'
by using:
lv_answer = gr_popup->get_fired_outbound_plug( ).
if lv_answer is NO, then put back the globally stored old value back to dropdown attribute, using:
set_property_by_value method( iv_attr_name = 'dropdown attr' iv_value = 'old value' )
Thats it. No need to do anything.
Regards,
Bhushan