Skip to Content
0
Former Member
Feb 15, 2012 at 06:32 AM

pop up issue

45 Views

Hi Team,

If i enter data in one of the field like empnum on web ui ,then it has to display a simple pop up with some text on the web ui.

i have written below code

lv_title = text-003.

zitem_save_popup = comp_controller->window_manager->create_popup(

iv_interface_view_name = 'MainWindow'

iv_usage_name = if_bsp_wd_window_manager=>co_own_window

iv_title = lv_title ).

zitem_save_popup->set_on_close_event( iv_view = me iv_event_name = '' ).

  • Open Popup

zitem_save_popup->open( ).

But the pop up is displaying several times along with when i close the pop up it is showing a exception that "Assert Condition Violated"

Tha abap call stack was

method :IF_BSP_WD_POPUP~CLOSE() OF pgm CL_BSP_WD_CONTROLLER=====CP.

PLEASE HELP IN THIS REGARD,as it is very urgent .

please suggest me in this regard.

Regards,

Sak