Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: Unable to get Popup view within the customcomponent

$
0
0

Hi Ravi

 

  One of the way to call popup as your requirement follow below mentioned steps

 

  • Create Component Usage CU_POPUP of Payment Details window in runtime repository.
  • Add below code in your event handler

 

   IF gr_popup IS NOT BOUND.
     lv_title = 'My Popup'.
     gr_popup = comp_controller->window_manager->create_popup(
                 iv_interface_view_name = '<component name>'
                 iv_usage_name          = 'CU_POPUP'
                 iv_title               = lv_title
                 ).

     gr_popup->set_window_height( iv_height = 400 ).
     gr_popup->set_window_width( iv_width = 400 ).

   ENDIF.
   gr_popup->open( ).


Please Reward points if useful.

 

Regards

Abhishek


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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