Hi There,
Just wondering if anyone can explain to me how i capture what button a user pressed when using the method 'cl_wd_popup_factory=>popup' and how I perfor different methods/ functionality depending on what they pressed.
At the moment i can create the popup using the code below but it is not displayed untill the current method has been completed, at this point it seems too late to allow me to control of the code.
call method cl_wd_popup_factory=>popup
EXPORTING
component = lr_component_api
view_name = 'VIEW2'
button_kind = if_wd_window=>CO_BUTTONS_YESNO
message_type = if_wd_window=>CO_MSG_TYPE_QUESTION
IMPORTING
POPUP_WINDOW = window
COMPONENT_USAGE = comp_usage.
Any ideas would be much appreciated
Regards
Martin