Outbound plug of a view_container_uielement

Dear Developers,
Is there any kind of "outbound plug" for a view_container_uielement ?
Actually I would like to detect when a view contained in a view_container_uielement has reached an outbound plug. This would then me allow to jump out of the view containing the container.
Does it sound reasonable? Possible?
Sincerely,
Olivier MATT

Hi Sascha,
The prepare_dynamic_navigation is made to put any view at runtime in the <i>view_container_ui_element</i>.
Here is my schema:
<b>V1  -
outboung plug -
> V3
|---- VIEW_CONTAINER_UI_ELEMENT
####|---- V2 ( this V2 is determined at runtime)</b>
Now V2 raises an event which is caught by V1. V1 fires its outboung plug to V3.
V3 WDDOINIT is loaded but the content of my browser is not refreshed, and I am still in V1 (with V2 still displayed in the view_container_ui_element and the other UIElements).
Here is the coding for th embedding of V2 in the VIEW_CONTAINER_UI_ELEMENT ( sorry but the names used in the coding do not match with the previous definitions in the schema ).
data: l_ref_cmp_usage type ref to if_wd_component_usage,
      L_VIEW_CONTROLLER_API type ref to IF_WD_VIEW_CONTROLLER.
* we get the taskselection component
l_ref_cmp_usage =   wd_This->wd_CpUse_Usage_Taskselection( ).
* we embbed the component in the viewcontainerUIelement
L_VIEW_CONTROLLER_API = WD_THIS->WD_GET_API( ).
L_VIEW_CONTROLLER_API->PREPARE_DYNAMIC_NAVIGATION(
              source_window_name          = 'MAINWINDOW'
              source_vusage_name          = 'TASKSELECTIONVIEW_USAGE_1'
              source_plug_name            = 'PLUGOUT'
              target_component_name       = 'ZWD_TASKSELECTIONCOMP'
              target_component_usage      = 'USAGE_TASKSELECTION'
              target_view_name            = 'SELECTIONWINDOW'
              target_plug_name            = 'DEFAULT'
              target_embedding_position   = 'TASKSELECTIONVIEW/VIEW_CONTAINER_UIELEMENT' ).
Again, I do not want to fire the V2 outbound plug but V1 outboung plug in order to jump to V3.
So if you have, as usual a great idea Sascha, let me know
Regards,
Olivier MATT
Message was edited by:
        Olivier Matt
Message was edited by:
        Olivier Matt

Similar Messages

  • How to fire outbound plugs of a window?

    I have a component which I want to re-use in applications. The component should have 2 outbound (interface) plugs which can be wired into parent applications. When the user clicks buttonA in the component it should fire outboundPlugA, likewise for buttonB we have outboundPlugB. My problem is that I can only seem to fire outbound plugs of the view and not of the window.
    Until now, we've solved this by firing interface events of the component controllers but it seems plugs would be more elegant.
    How does one fire outbound plugs of the window?

    OK, I've done what you said and have the following in the event handler (action of a button) in my view:
      DATA:l_ref_test TYPE REF TO ig_comp1_window.
      l_ref_test = wd_this->get_comp1_window_CTR( ).
    The compiler error message is:
    Method "GET_COMP1_WINDOW_CTR" is unknown or PROTECTED or PRIVATE.
    This method does not exist as far as I can see.

  • Error while trying to create a outbound plug

    Hi ,
    I am getting an error message while trying to add an outbound plug to a component .any suggestions

    Hi Vaibhav,
    The best thing to do is to create the desired outbound plug manually.  We do it many times when this error comes, it will not take much time and easy to do, just replicate the exact steps for creating op which is already there in your system or component.
    I strongly suggest you not to delete any existing enhancement. Please let me know if you want me to explain the process of creating op manually.
    Regards
    Bhushan

  • ABAP webdynpro app not redirecting using Outbound plug in portal

    Scenario-
    There is one Abap webdynpro application APP1 calling another abap webdynpro component Comp 2 through outbound plug on a button click. This is working fine if service is tested independantly.
    SAP ECC system is having a webispatcher and the application should be accessed using webdipatcher only i.e. ECC should not be called directly.
    SSL has been configured b/w ECC and webdipatcher.
    The Abap webdynpro application APP1 is integrated into portal using Abap webdynpro iview.
    Setting in Portal system are reffering to Webdipatcher for ECC system instead of ECC system directly.
    Issue-
    App1 is loading successfully into portal and all the data is coming properly but when trying to navigate to second component on button click it is not navigating. iview is getting refreshed but not redirecting to required component and is still on the same application.
    Please suggest the reasons and solutions if anyone has clue about it.
    Regards
    Deepak

    Hi,
    Please refer to these links -
    How to secure WDA over an external facing portal
    WebDynpro ABAP and Portal Navigation
    WebDynpro ABAP and Portal Navigation problem
    Please check for the portal eventing between the applications.
    Regards,
    Lekha

  • Not defined outbound plug in Window or View but exists in NavigationLink

    Hi Experts,
    In  NavigationlLink of  standard component 'BSPWD_ADVSEARCH'  contains the outbound plug  'SavedSearchEdit'.
    But I am not able to find where the outbound plug is defined since it is not defined in its window or view.
    Please explain me where the OUTBOUND plug is defined.
    Thanks in Advance

    Hi Raj,
    The Outbound plug is defined for the bsp component - BSPWD_ADVSEARCH.
    You can check the same in SPRO settings by following the path:-
    SPRO->CRM->UI FRAMEWORK->TECHNICAL ROLE DEFINITION -> DEFINE WORKAREA COMPONENT REPOSITORY.
    Here select the BSP component - BSPWD_ADVSEARCH  & select INBOUND PLUG DEFINITION option on the left side.
    You'll see 2 IPs defined along with their Target IDs.
    - Dedeepya

  • Trigger GP process by giving  process URL in Interface View outbound plug

    Hi,
    My Requirement is,
    I have 1 GP process implemented in webdynpro.
    From 1 of my view I am calling the process completeion(executionContext.processingComplete();) code, written in interface controller.
    After this code I need to start the same process once again, without clicking any link.
    For this I have created 1 outbound plug in the interface view of my window(out blug for WebDynproCOInterfaceView with parameter "Url").
    Then after calling executionContext.processingComplete();, I gave
    wdThis.wdGetWebDynproCOInterfaceViewController().wdFirePlugGotoUrl("Process Instantiation URL"); in my view.
    but it is giving error,"WDRuntimeException: Cannot navigate from view WebDynproCOInterfaceView via non-existent outbound "
    Also I tried to start the gp process througn coding also
    what I tried is,
    IWDClientUser wdUser = WDClientUser.getCurrentUser();
    IUser user1 = wdUser.getSAPUser();
    IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(user1);
    IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate("EB0B28E08B6011DB0145EB416E0",userContext);
    EB0B28E08B6011DB0145EB416E0 is the process ID.
    This code I have tried by giving before and after the completion of the previous process(process9executionContext.processingComplete();)
    But this also didn't work..No error came. But process didn't start again after thecompleted once.
    Please help me out.
    Thanks
    smitha

    Hi Rupam,
    thanks for the reply
    I have given EXIT type of  outbound plug only. But it won't work if the view is  in portal.
    When I tried to create the process using GP API the process is creating in Background. For me , after the completion of one process , automatically next should trigger and the corresponding view should be visible for the user.
    Process is triggering using GP API but, the view is not visible to user.
    Please help me
    Thanks
    Smitha

  • View controller active after navigating via outbound plug, is this normal

    Hallo,
    I have two components (comp_a,comp_b).
    comp_a->grid_view_a : fires a event.
    comp_b->grid_view_b : subscribe to the above event.
    My observation is that
    When comp_a->grid_view_a fires a event and comp_b->grid_view_b listen to that event and the Grid is filled accordingly.
    Now i navigate from comp_b->grid_view_b to comp_b->display_view_b  firing a outbound plug.
    Now if i change the selection in comp_a->grid_view_a and it fires a event. I was expecting that nothing happens in comp_b as the subscribed comp_b->grid_view_b is not in the assembly. But to my surprise, the event handler is called and processed while the user still watching/working on the comp_b->display_view_b.
    Has anyone encountered with this problem ?. I was not having this problem a month ago. Could have been introduced in one of our Kernel/Sp updates.
    Your reply is highly appreciated.

    Hallo,
    I have two components (comp_a,comp_b).
    comp_a->grid_view_a : fires a event.
    comp_b->grid_view_b : subscribe to the above event.
    My observation is that
    When comp_a->grid_view_a fires a event and comp_b->grid_view_b listen to that event and the Grid is filled accordingly.
    Now i navigate from comp_b->grid_view_b to comp_b->display_view_b  firing a outbound plug.
    Now if i change the selection in comp_a->grid_view_a and it fires a event. I was expecting that nothing happens in comp_b as the subscribed comp_b->grid_view_b is not in the assembly. But to my surprise, the event handler is called and processed while the user still watching/working on the comp_b->display_view_b.
    Has anyone encountered with this problem ?. I was not having this problem a month ago. Could have been introduced in one of our Kernel/Sp updates.
    Your reply is highly appreciated.

  • Problem in construct_url and firing outbound plug data passing

    Fnds,
    I have been posting this but no one was able to help me specifically.
    I am calling other WDA2 from WDA1.. i used construct_url, and called the outbound plug which is type suspend.
    so wda2 is opening in same browser. .good.
    but i want to send a value to the URL .. basically i can see parameter in outbound plug as url..
    but how to pass the value to URL..
    and in WDA2, how to read this value... pls plsssssss..
    i know its simple, but i need some sampel code or example which reads this value of URL.
    kindly help me..
    Niraja

    Hi Nirja,
    You must have done this coding to call WDA2.
      DATA lv_url TYPE string.
      CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = 'ZWDA2'
        IMPORTING
          out_absolute_url = lv_url.
      CONCATENATE lv_url '?sap-client=' sy-mandt '&sap-language=' sy-langu '&PARAM1=' <P1> '&PARAM2=X'
      INTO        lv_url.
      wd_this->fire_out_plg( url = lv_url ).
    here out is suspend plug of WDA1.
    now here is the code u need to do the coding in HANDLEDEFAULT method of default window of WDA2 to get the parameter passed by WDA1.
      DATA ls_url TYPE LINE OF tihttpnvp.
      DATA lt_url TYPE tihttpnvp.
      wdevent->get_data(
      EXPORTING
        name = if_wd_application=>all_url_parameters
      IMPORTING
        value = lt_url ).
      LOOP AT lt_url INTO ls_url .
        CASE ls_url-name.
          WHEN 'PARAM1'.
            <your logic to handle value of param1
          WHEN 'PARAM2'.
            <your logic to handle value of param2
          WHEN OTHERS.
        ENDCASE.
      ENDLOOP.
    moreover you need to fire simpel exit plug in WDA2 to get back to WDA1. And obviously you will have to define resume plug in WDA1.
    Hope you will be having enough clarification.
    -Haresh
    Edited by: Khandal Haresh on Nov 7, 2008 5:00 AM

  • Outbound plug Firing

    Hi Friends,
    I am New to WebDynpro  programming. In My component I am using Select-options Component,My Component also has out bound plug TO_V1.
    after the selection-screen is created, the out bound plug is fired.( WD_THIS->FIRE_TO_V1_PLG( ).)
    in window, it is not configured to any inbound plug.
    When I checked in Debugger, it is calling the view WND_SELECTION_SCREEN.
    But i am confused where it could be configured?
    Could,you please provide me your Valuble Inputs?
    Regards,
    Xavier.P

    i xavier,
    For example:
    In the main view their selection screen and search button when you enter the made the selection for
    this selection-screen and enterd the search button..it should go to the next view i.e(view1) displaying
    data in table format..
    for the main view it is outbound plug and for view1 it is inbound plug
    main to view1( OB_main)...outbound plug.
    view1 to main(ib1_view1)...inbound plug.
    Incase after this you want to get back to the main view then from view1 it would the outbound plug and
    for the main view you should create the inbound plug.
    View1 to main(ob1_view1)...outbound plug.
    Regards,
    Sravanthi

  • Outbound plug, confusing error message: no navigational link attached

    Hello,
    I just finished the WebDynpro Quiz tutorial and deployed the application. Unfortunately when pressing the start button the application dumps and I get a stack trace
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException:
    Cannot navigate via outbound plug StartQuizOut of view WelcomeView
    because there is no navigational link attached to it
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:349)
    indicating that there was no navigational link attached to my plug StartQuizOut. However the link is definitly there.
    As sources are not provided I cannot debug into the class named in the trace.
    Could someone please give me a hint. I think I did everything according to the tutorial, but I am stuck now.
    Regards,
    Sebastian Kamp
    P.S. I searched this forum for "no navigational link attached"; there are some threads with a similar problem description, but no solution is provided.

    Hi Zita,
    thanks for your answer. I kind of solved the problem. When following the Tutorial I ended up for some reason with two versions of/references on (?) the WelcomeView - one was embedded in the QuizViewSet, the other directly in the Quiz-Window - don't ask me how that happend. Anyway, both were identical except the navigation links. The embedded view had all the navigation links required, the other didn't. So eventually in despair I deleted this view.. and now it works fine.
    Regards,
    Sebastian

  • Multiple inbound and outbound plugs

    Hi Experts,
    Can anybody give an example scenario where we compulsorily need multiple inbound and outbound plugs for a view??

    Hi snakar rao  ,
                           Suppose we have three views, a , b, c. Suppose we have a requirement like we need a button move_to_b on a, a button back in b which will move back to a, a button move_to_c on b and a button move_to_initial screen on c.
    in this case
    we need one out bound plug in a which will be connected to inbound of b
    one out bound plug in b which will be connected to inbound of c.
    in this case a needs two inbound plugs, one is for navigating from b and the other is for navigating from c
    if there is a requirement like we need to navigate from a to c directly also, in this case c need one more inbound plug thats to connect the inbound plug from a.
    Regards
    Sarath

  • Web Dynpro: several navigation links connect to one outbound plug of a view

    Hi,
    I have two questions in general Web Dynpro. (I have not found precise answer for the question yet)
    1) What should happen in the following case?
    We have three views in a component. The outbound plug of the first view is connected to the inbound plug of the second and third view via navigation links. Which view should appear, if i fire the outbound plug of the first view?
    Some documentation says, this case is not allowed, some documentation says it is allowed...
    2) If the previous case is allowed, what should happen in the following case?
    In a child component, a window outbound plug is connected to a view inbound plug. Beside this, I implement an inbound plug of the window, where i fire this outbound plug of the window.
    Now, the interface view is embedded into a parent component window. In the parrent component I connect the outbound plug of the interface component to an inbound plug of a parent view (which is also embedded into the window). I also connect an outbound plug of the parent view to the interface view inbound plug.
    What will happen if I fire the parent view outbound plug? Will the parent view or child view appear?

    Hi Huszar,
    I'm a newbie and found your question interesting. So I played a little with this issue and hope I found something to help you.
    But  I wonder in why you want to use such a constellation the first place. What is your purpose? For me the idea itself doesn't make much sense... Did you by chance actually think of one of the following purposes:
    You want two different action elements (e.g. 2 buttons) to fire different conenctions. Then you should use different outbound plugs. Connect the two buttons and the two links to different methods so that the corrsponding plug and button have the same method.
    You want to decide by value or state which view to show. Then you should use two different outbound plugs as well and decide in the button's event handler mehtod which plug to fire , e.g.: if <condition> then <firePlugA> else <firePlugB>.
    Generally, if you connect two views in a window via link you must chose a method to use or create a button. If you chose a method (event handler) the effect in the Java file is that the  method (onActionButtonX()) will call the corresponding firePlugOut-method.
    Unfortunately in the firePlug-method itself there was no hint about the plug's destination. As I connected the same method for button and two plug targets, Web Dypro for no obvious reason always chose the same target. I did not find a possibility to directly chose the target from one outbound plug, so I guess this information is stored somewhere in the background logic.
    Did I get the point or did you think of something completely different? Or maybe you just asked theoretically? In that case I don't seem to get the idea.
    Kind regards,
    Jana

  • Why do we need mention explicitly for Outbound plugs?

    Hello
    When i see a existing custom WD component's my_view's method code (action is APPROVE), i  see the below code
      wd_this->fire_tomain_plg( ).
    I also saw that MAIN view is the outbound plug for my_ view.
    1) Is this code is telling to the system that, it should navighate to MAIN view?
    2) if so, already we put this (TOMAIN) in OUTBOUND tab righ? why again having this piece of code EXPLICITLY in our method?
    3) is we (developers) need to put this manually? or or systme will put it at the bottom of the method automatically?
    4) but i did not see any such code for INBOUND PLUGs? why?
    Thank you

    ABAP_SAP_ABAP wrote:
    Hello
    >
    > When i see a existing custom WD component's my_view's method code (action is APPROVE), i  see the below code
    >
      wd_this->fire_tomain_plg( ).
    >
    > I also saw that MAIN view is the outbound plug for my_ view.
    >
    > 1) Is this code is telling to the system that, it should navighate to MAIN view?
    >  YES.
    > 2) if so, already we put this (TOMAIN) in OUTBOUND tab righ? why again having this piece of code EXPLICITLY in our method?
    >  In the outbound tab, you are specifying list of outbound plugs which can be used. however you need to fire the correct outbound plug via coding.
    > 3) is we (developers) need to put this manually? or or systme will put it at the bottom of the method automatically?
    >  You need to fire outbound plug for navigation. You can use WDA wizard to do that.
    > 4) but i did not see any such code for INBOUND PLUGs? why?
    >   We maintain navigation link b/w outbound and inbound plug at Window. This will automatically fire inbound plug corresponding to outbound plug.
    > Thank you

  • Why do we use inbound and outbound plugs in abap webdynpro?

    hi all,
    why do we use inbound and outbound plugs in abap webdynpro?
    Thanks

    Actually we have 2 types of plugs
    1.View plugs
    2.Window plugs/Interface Plugs
    plugs are for navigating one view to the other and also you can pass the parameters along with the plugs.
    Outbound plug is to navigate from one view to other view,also we can pass parameters along with the plug.
    Inbound plug is like event handler/receiver of the outbound plug.
    Using window plugs we can call other Web Dynpro applications.for more information check this link.
    http://help.sap.com/SAPHELP_NW04S/helpdata/EN/45/19bf8c16f25d7ae10000000a11466f/frameset.htm
    Thanks
    Suman

  • CRM 2006s Transaction Launcher via Outbound plug

    Hi,
    I'm using CRM 2006s and want to launch a URL from a button in a toolbar (not the navigation bar).
    In CRM 2005 you would created a transaction launcher and via navigational links call IC_BASE\ABoxExecution and set the id using cl_crm_ic_cucoaction_impl=>set_action_id_no_formatting.
    However in CRM 2006s, IC_BASE is not the frame work BSP so therefore this call will not work. 
    Can anyone please assist on however to fire a URL via a outbound plug?
    cheers and greatly appreciated.
    Joe

    Thought I found the answer but still no luck.  Anyone help...

Maybe you are looking for

  • Brand new Ipod mini won't charge

    HI, Apologies if this has been covered before - I'm posting for a friend who's just bought a brand new 4Gb ipod mini, and having synced her music and having had 1 week of good tunes on the go, it now won't charge. If you plug the usb 2.0 cable into t

  • IPod touch 5th gen back camera won't work

    Whenever i open the camera app the shutter stays on but on FaceTime, the front camera works perfectly. (I already tried resetting it and backing it up) I really don't want to go to the apple store to fix it. Thanks!

  • Creation  of components in dinamic way. Problem with threads....?

    hi, I am trying to add components (JTextFields) to a JPanel in dynamic way. I would like that the user decides the number of the components, to be created, for executing a function by clicking a button. But clicking on the button, the elaboration doe

  • Error- DBMS_STANDARD package must be created before using PL/SQL

    HI I am trying to run a very small and simple program on my Oracle81 personal edition on Win98. I get this error when i want to execute the program " package DBMS_STANDARD must be created before using PL/SQL " What should i do to create the package??

  • Udisks2 sees usb storage as internal

    Since some days my MP3 player is seen by KDE as an internal storage device rather than external. This is quite annoying since device notifier doesn't show it and, most of all, my music doesn't show up in amarok anymore. I think that the problem is wi