cancel
Showing results for 
Search instead for 
Did you mean: 

Fire Plug (Web Dynpro for ABAP)

Former Member
0 Kudos

Is it possible to fire window outbound plug from a view mehotd in a same WD component?

If it is possible,

How can I get the reference of window controller which the view is embeded?

addtionally. the window outbound is checked as interface.

Humm...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Etnaya,

It is possible.

Go to "Properties" of view controller and add as "Required Controller" InterfaceViewController of corresponding window. Then in code:

wdThis.wdGet<WindowName>InterfaceController.wdFire<PlugName>Plug();

VS

former_member182372
Active Contributor
0 Kudos

Valery, do we have window plugs in WDJ at all ;-)?

According to <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/99/ab034105d0f223e10000000a155106/frameset.htm">this</a> - not.

<i>The concept of the window controller and window plug is not implemented for Web Dynpro Java in SAP NetWeaver 2004s.</i>

Former Member
0 Kudos

Maksim,

I told about InterfaceViewController, not Window.

There are plugs in InterfaceViewController and they are accessible.

VS

Former Member
0 Kudos

Ooops!

Just noticed word "ABAP" in title

Sure, I where talking about WD Java. Not sure whether or not the same is possible with WD ABAP.

VS

Answers (1)

Answers (1)

thomas_szcs
Active Contributor
0 Kudos

Hi Etnaya,

From the perspective of having a good architecture, the best way to solve you problem is to fire an outbound plug at your view and connect it to an inbound plug of your window. Inside of your window, fire the desired outbound plug of that window.

Best regards,

Thomas