cancel
Showing results for 
Search instead for 
Did you mean: 

What is Inbound & outbound plug

Former Member
0 Kudos

Hi,

I am very new to webdynpro. I wants to know what is the use of inbound plug & outbound plug??

How can i move to one screen from another screen??

While clicking on the button how can i save that data's into the table??

Where i want to write the code??

please help me...

Thanks

Shyja

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi shyja........

inbound plug is used for recieving and outbound plug for connecting to another view.

consider you are having 2 views v1 and v2.

create an outbound plug in v1 and an inbound plug in v2.

consider you are having a button in v1 to navigate to v2.

in the coding part of the "onaction" for the button, click the code wizard and it will give an option to fire an out bound plug.

just select the outbound plug that has been created.

so when the button is clicked the outbound plug gets triggered.

now to make the link,

go to the window in which you have the 2 views.

expand v1 and right click on the outbound plug that you created and

select create nagigation link.

it will give the option for selecting the inbound plug of v2.

just select it and run your application.

so there will be navigation between view1 and view2.

--regards,

alex b justin

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Shyja

a)InboundPlug means that specific view's incoming parameters,,ie it is getting something from some other view

b)OutboundPlug means that specific view's outgoing parameters.ie this view is sending something to other views

c)In case of forward navigation use only OUTBOUNDPLUG ( Say A and B are two views give outbound plug for A and inboundplug for B )

d)In case of backward navigation use only INBOUNDPLUG ( Say C and D are two views give outbound plug for D and inboundplug for C )

Best Regards

Chaitanya.A

Former Member
0 Kudos

Hi Shyja,

Inbound & outbound plugs are used to navigate between one view to another view, or one window to another window. The outbound plug will tell which inbound plug to trigger.

You have to views. A & B.

to move from View A to view B, these plugs will use.

Outbound plug of A will be navigated with the inbound plug of B.

A view can act as a screen. so you can use this to move from one screen to another.

You have to write the coding in the methods.(You should have knowledge in ABAP objects)

Madhu2004
Active Contributor
0 Kudos

Hi,

Inbound plugs will be on the receiving end and outbound plugs will be on the sending end.

V1 and V2 are 2 views and you want to navigate between these 2 views

create FROM_V2 as inbound plug and TO_V2 as outbound plug in View V!. and same way create FROM_V1 and TO_V1 in view V2.

<u>To move from one view to other:</u>

Suppose you want to go from v1 to v2 view. On the action of the button ui elemnt in v1 view, just fire the outbound plug as follows:

wd_this->fire_to_v2_plg(

).

And in the window create a navigation link, by rightclicking on the outbound plug.

<u>While clicking on the button how can i save that data's into the table??</u>

Just declare a table on the component controller and use in both the view.when u click some button,before firing the outbound plug,bind the tables values to the respective node and when u read the node in the next view you can get the value.

Regards,

Madhu

Former Member
0 Kudos

Hi,

see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/99/ab034105d0f223e10000000a155106/frameset.htm">documentation</a>

Regards, Heidi