hI,
I'm having issue with create_popup_2_confirm method.I'm using yes no option in my popup.But when I click on yes button in the popup though OP_YES outbound plug is getting triggered of component GS_PTC, but not able to get any fired outbound plug in the closing event of popup i.e. event handler Save. CAn anybody help me on this?
My code is as follows:
popup = me->comp_controller->window_manager->create_popup_2_confirm(
iv_title = lv_title
iv_text = lv_text
iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesno ).
Then set a close event and open the popup :
popup->set_on_close_event( iv_view = me
iv_event_name = 'SAVE' ).
popup->open( ).
Code written in Save event handler
CHECK POPUP IS BOUND.
lv_confirm_result = POPUP->get_fired_outbound_plug( ).
CHECK lv_confirm_result = 'YES'.
Thanks & Regards,
Anirban