Skip to Content
Mar 26, 2010 at 10:50 AM

Popup Window in same component


Hi All

I have created a component that displays graph information.

The users require a print verion of the view that shows the graph data. I have created a new viewset and view in my component but i cannot display it in a popup.

Here is the code.

data: lr_popup type ref to IF_BSP_WD_POPUP.

IF lr_popup IS NOT BOUND.

lr_popup = me->comp_controller->window_manager->create_popup(

iv_interface_view_name = 'ZAGRI_MILK_REPS/MainWindow'

iv_usage_name = 'printFriendlyPopup'

iv_title = 'Popup' ).

lr_popup->set_window_width( iv_width = 600 ).


lr_popup->set_on_close_event( iv_view = me iv_event_name = 'EH_ONRETURN').

lr_popup->open( 'OPEN_PRINT_POPUP' ).

Has anyone done this

any help would be great