Adding inbound and outbound plugs to your ABAP WebDynpro
Below are the steps for adding inbound and outbound plugs to your ABAP WebDynpro view.
Create new ABAP Web Dynpro component!
Create two views within you WDp (VIEW1 & VIEW2)
Select the Inbound Plugs tab of the first view and enter a name for your inbound plug (VIEW1_INBOUND)
Now select the Outbound Plugs tab of the first view and enter a name for your inbound plug (VIEW1_OUTBOUND)
Now do the same for the second view and enter an inbound and outbound plug name
Save and active you WDp! Now go to the Window section and embed your views into the window.
You should now see your two views and their corresponding plugs within the window section
You now need to join your plugs together. To do this simply drag the outboundplug onto the correspoonding inbound plug. i.e. Drag VIEW1_OUTBOUND on VIEW2_INBOUND
Now do the same from view2 to view1 i.e. Drag VIEW2_OUTBOUND on VIEW1_INBOUND
You should now have a chain icon on each outbout plug
The next stage is to trigger these inbound and outbound plugs from some kind of user interaction. I will now show you how to trigger these plugs from a UI button on each page!
Trigger inbound and outbound plugs from a UI button