cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while calling nevigation link from wddomodifyview

Former Member
0 Kudos

hi ,

I am trying to call navigation link using reference from WDDOMODIFYVIEW. I need to call previous view from current view. I cannot do that using outbound plug because it would'nt fire in wddomoifyview.

Accepted Solutions (0)

Answers (3)

Answers (3)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You simply can't do navigation within the WDDOMODIFYVIEW directly or by calling another method. It is too late in the Web Dynpro Phase Model. You must trigger navigation earlier in the processing stream.

arjun_thakur
Active Contributor
0 Kudos

sorry.....

Edited by: Arjun on Jan 22, 2009 9:11 PM

pranav_nagpal2
Contributor
0 Kudos

Hi,

Use the code below...

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_EXTERNAL_WINDOW(
                   URL =
'http://<server_name>/sap/bc/webdynpro/sap/ztesttab' " here give url of ur application
*                  title                  =
*                  close_in_any_case      = abap_true
                   ).
 
lo_window->open( ).

regards

Pranav

Edited by: Pranav Nagpal on Jan 22, 2009 4:34 PM