cancel
Showing results for 
Search instead for 
Did you mean: 

Logoff is not working Communicating bet'n WDA Components

Former Member
0 Kudos

Hi All,

I am working on WDA.I have two WDA components. WDA1,Main View calls WDA2,WDA2,Main View calls WDA1,Main View.

WDA1-->WDA2 and reverse navigation WDA2-->WDA1 is possible, and Both components have Logoff button.Logoff button code was written as per below link.

http://scn.sap.com/people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-app...

Logoff is working correctly when calls WDA1 and WDA2 in Web Browser separately.

Logoff is not working when navigating WDA1-->WDA2-->WDA1-->Logoff Button.

Logoff OnAction Events was triggered and executed the code.

 

DATA lo_z_notif_create TYPE REF TO ig_z_notif_create .
lo_z_notif_create =   wd_this->get_z_notif_create_ctr( ).

  lo_z_notif_create->fire_o_main_exit_plg(
    close_window = abap_true                   ).

Logoff Button is not working when navigating between WDA components.

Please suggest suitable solution to solve.

Thanks,

Somi Reddy Satti

Accepted Solutions (1)

Accepted Solutions (1)

vickyokrm
Participant
0 Kudos

Hi Somi,

It seems to be the error with the plugs used for linking the two diff wed dynpro component.


Thanks,

Vignesh.

Former Member
0 Kudos

Hi All,

The problem is solved.and solution is added URL as imported parameter in Window outbound Exit Plug.

WD2 url is assigned to URL importing parameter while calling from WD1 component.

Thank you all,

Somi

Answers (2)

Answers (2)

manigandan_d2
Explorer
0 Kudos

HI Somi,

I have one question, you are calling WD1 and WD2 in seperate window or in Same window.

Best Regards,

Mani

Former Member
0 Kudos

Hi Mani,

WD1 and WD2 are calling in same Window.I would like to give more inputs. WD1 is creation and Change of transaction.WD1 and WD2 are two independent applications and which can independently and communicate between.WD1-->Main View Embedded into WD2 and Vice Versa using View Container UI element.

Thanks,

Somi

former_member186491
Contributor
0 Kudos

Hi Somi,

The error inidcates that you have not defined the usage of the window controller in the view controller.

Please check.

Thanks.

Kumar Saurav.