Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 1726

Close Popup window in webdynpro abap.

$
0
0

Hi,

Can anyone tell me ...how to close the popup window through the action in webdynpro abap . In my popup window there is a button(i.e 'UPDATE') apart from that  default 'OK' button , I want that when 'UPDATE' button is pressed, along with the action window should be closed. I dont want to close the window by pressing 'OK' button at the botton

 

I have used following code to open the popup window.

 

data lo_window_manager type ref to if_wd_window_manager.

data lo_api_component  type ref to if_wd_component.

data lo_window         type ref to if_wd_window.

 

lo_api_component  = wd_comp_controller->wd_get_api( ).

lo_window_manager = lo_api_component->get_window_manager( ).

lo_window         = lo_window_manager->create_window(

                   window_name            = 'POP_UP  WINDOW'

                   title                  = ''

  •                   close_in_any_case      = abap_true

                   message_display_mode   = if_wd_window=>co_msg_display_mode_selected

  •                  close_button           = abap_true

                   button_kind            = if_wd_window=>co_buttons_ok

                   message_type           = if_wd_window=>co_msg_type_none

                   default_button         = if_wd_window=>co_button_ok

                   ).

 

lo_window->open( ).


Viewing all articles
Browse latest Browse all 1726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>