Skip to Content
author's profile photo Former Member
Former Member

What is Inbound & outbound plug

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 10:18 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 10:14 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 22, 2007 at 06:39 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 07:37 PM

    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)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 07:14 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.