cancel
Showing results for 
Search instead for 
Did you mean: 

Handling dynamic external pop ups in Web Dynpro

Former Member
0 Kudos

Hi Experts,

I am trying to access a third party system from web dynpro.

While trying to access the thrid party system, it gives a pop up for authentication.

This pop up is displayed while I run in report program, but in web Dynpro it does not appear. The further processing does not happen in web dynpro since it is not authenticated.

Any ideas on how to display dynamic external pop ups in Web Dynpro?

Thanks in advance

Regards

Shanthi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Refer this link : http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e242bf5-0901-0010-c99c-83c180163...

It explains how to handle and work with pop ups and external windows.

Former Member
0 Kudos

u can use this piece of code


* Popup
  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          = 'W_POPUP'
    message_display_mode = if_wd_window=>co_msg_display_mode_selected
    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
    ).
  DATA:  l_api TYPE REF TO if_wd_view_controller.
 
  l_api = wd_this->wd_get_api( ).
" subscribe action for Ok button
  lo_window->subscribe_to_button_event(
               button            = if_wd_window=>co_button_ok
               action_name       = 'OK_POPUP'
               action_view       = l_api
               is_default_button = abap_true ).
 
  lo_window->open( ).

Former Member
0 Kudos

Hi amit,

This code is used to create pop ups in web Dynpro, but I am facing trouble in accessing pop ups of third party system.

Regards

Shanthi

Former Member
0 Kudos

Hi,

Please be more clear.

Regards,

Lekha.

Former Member
0 Kudos

Hi lekha,

My task is to upload documents in sharepoint/ MOSS server.

I have created proxy for the Moss server and using it.

When the method of MOSS server is called, a pop up appears to authenticate the access to the MOSS server.

This pop up appears when I run in report program but it does not appear in Web Dynpro. Since the pop up is not appearing, I am

not able to upload documents to the MOSS server.

Hope this makes it clearer.

Regards

Shanthi

anand_nidamanuru
Active Participant
0 Kudos

If its a GUI popup, it will not appear in WebDynpro.

WebDynpro Cannot handle GUI objects. There is no other way, apart from bypassing this GUI popup from the server side.

Thanks,

Anand