How to link Inbound plug between 2 windows

Dear All,
I create a linktoaction link,
and I want come out when I click this link then windows.open a new view in other windows,
by the way have some data transfer between 2 views,
if 2 viewes in one windows is easy ,but my task is in  2 different windows !!
I don't know  how to use Inbound plug or Outbound plug ?
can you help me  ?

Doke,
In a Web Dynpro project, only applications can be addressed by a URL. So, trying to get a URL for your new Window may not be possible. There are 2 ways to get past this issue though.
1. Use the approach suggested by Satyajit in [this Blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7143].
or go this way. I tested this and it works.
2(a). In your popup window, 'Win_Popup' embed an 'Interface View' say"Popup_InterfaceView".
2(b). Assign a plug of type 'Startup' to this Interface View and to embedding Window too if you are using CE 7.1.
2(b). Create a new Application say "Popup_App"and assign your newly created Interface View "Popup_InterfaceView" as its target.
2(c). Get URL for this new application like this.
             String deployableObjectName = wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
               try {
                        WDDeployableObjectPart deployableObjectPart = WDDeployableObject.getDeployableObjectPart(
                        deployableObjectName,"Popup_App",WDDeployableObjectPartType.APPLICATION);
                        String urlToTargetApp = WDURLGenerator.getApplicationURL(deployableObjectPart);
               catch (WDURLException e)
                      messageMgr.reportException(e.getLocalizedMessage(), false);
2(d) Use the generated URL for navigation.
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(urlToTargetApp ,"title");
wdContext.currentContextElement().setWindowRef(window);
     window.setWindowSize(300, 300);
     window.setWindowPosition(50, 50);
     window.setTitle("Title Name");
     window.open();
This works.
Hope this helps.
Vishwas.

Similar Messages

  • Calling Inbound Plug of one Window of one Component in another WD Component

    Hi All,
        Can anyone please tell me how to call a Window's Inbound Plug of one WD Component in another WD Component.
    Thanks in advance!
    Best Regards,
    Devyani

    Hi Devyani,
        are you calling the view (embeded in a window ) of a component 1 in component 2. If so,
    1. Define the used component(Component 1) in the using component (Component 2)
    Component Use : Comp1
    Component        : Component 1(Name of the component)
    2. On action: using component usage window, window of component can be called as a pop up window in component 2
    If this is not your requirement, let me know. i will try to help
    Regards,
    Sankar

  • Calling parent's view inbound plug from modal window?

    Hi,
    I have a window A with a view ("the parent") that calls another window B as a modal one. This window B uses own buttons for actions, no standard ones (OK, Yes, No ...). The problem is that the actions in window B are changing the content in window A. I want  that after closing the modal window B a specific inbound plug of the view of the other window A is called (where a refreshing mechanism is available). How to do that? I tried with the - at other posts - suggested method of exit-plugs, but that didn't work (because outbound and requested inbound plug belong to different windows ???).
    Thanks for your help,
    Alexander

    Hi,
    thanks for your reply. My problem was that in my popup window no standard buttons are available, so that the SET_ON_CLOSE_ACTION can't be used (cf. documentation it only works with the CANCEL-Button). But with this hint I was able to find another solution (which was by the way explained in another thread answered by you 8-) ): I have to create an event in the component controller and fire this event from my window B. Then I have to subscribe a method of window/view A to that event which does the required refreshing. [trigger event from "child" webdynpro;.
    Best regards,
    Alexander

  • 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.

  • How to link to file in new window?

    I'm building a portfolio site. Right now, I know that I can open a new window when linking to an external page or even one of my own pages. However, I want to link to files that will open a new window instead of reloading the current page. For example, I want to link to an HTML file that references a .SWF. The .SWF and HTML file are in the same folder, so it plays just fine, but I need it in a new window. Any ideas?

    In the Inspector, Link to external page, and open in new window.

  • RMAN/NETBACKUP Issue : how to link netbackup with rman in windows?

    Hi friends,
    Please let me know what are steps needed to link netbackup 6.0 with rman 8.1.0.7 and 9.2.0.1 in windows 2003 (32bit) server ?
    Thanks, Muhammed.

    Install your netbackup. After that you will have samples given by netbackup which will give a basic structure for backup scripts. <install_folder>\ext\db_ext\oracle\samples\rman.
    You'll have to link your netbackup with oracle. It is just a script that you'll run. It will be in <install_folder>\openv\netbackup\bin\oracle_link. This will create the necessary softlinks.

  • How do I link my Plug In to PS CC

    I just installed Photoshop CC for the first time and I need to know how to link my plug ins to it

    Install them from scratch from fresh, updated plug-ins from the developer's website.

  • Inbound Plug in standard SAP (create as an interface)

    Hi All- I have a standard SAP component that I create an Inbound PLUG at the window level, I'm using that component (standard SAP) in another component (custom) but I don't have access to the inbound plug that I just create in the standard SAP because the check-box for interface is not "CHECKED".
    When I try to enhanced the standard SAP the interface check-box disappear, how can I check that check-box interface box?
    How I can make my custom inbound plug accessible globally?
    thanks!
    Jason PV

    You Can not enhance that.( creating interface  inbound plug) according to the sap enhancement documentation.

  • How to fire a plug when opening a comp as a popup

    I am opening a WD component as a popup using cl_wdr_runtime_services=>display_view_in_popup().
    Unfortunately, the default inbound plugs of the window or the view are not called when I go this wy.
    Is there anything I can do? How can I make sure that the inbound plug handler(s) are called when opening the comp. in a popup?

    Hi Daniel,
         You can make it Inbound Plug as Default. then system automcatically will call that inbound plug handler method when you open this window.
    Step:
          In Window, Just right click on the Inbound plug and you will get a small popup , in that pop up select  Set as Default .
    Regards,
    Vijay

  • HT5628 How do I read OSX partition from Windows?

    I am thinking of installing Windows 8 on my Macbook Pro using Boot Camp to create a dual boot system.
    If I do this, how can I access my current Mac OSX partition from within Windows? Does boot camp mount the Mac OSX partition automatically?
    If not, how can I share data between my Windows partition and Mac OSX partition?
    (Apologies if this is an elementary question, but I couldn't see an obvious answer anywhere.)
    Thanks.

    If I do this, how can I access my current Mac OSX partition from within Windows? Does boot camp mount the Mac OSX partition automatically?
    You can't access the Mac because it isn't running when you dual boot. You can purchase third-party software such as MediaFour's DriveOne to access the OS X partition. From OS X you will need a utility such as NTFS for Mac 10.0.2 or Tuxera NTFS 2012.3.6 to write to the Windows partition.

  • File not found in Link Between Projects Window - test no edit rights to other file

    Hi,
    I am doing a test to see if i can create a link by typing the link path (f.i. <>\plan2\1) in the predecessor column without having edit rights to the other plan.
    I expect this to be possible as the edit in the other plan (creation of link) is only done after the change is accepted through the LBP (link between projects) window. Besides, when i do it to both my own plans, in this LBP window i get 'create external
    link' as difference to accept.
    When I do it on Project Server 2010 to a plan I do not own or having edit rights on, I got the message 'file not found'.
    Is this message related to what I am trying or does it have another cause?
    Does someone know if what I want can be done?
    Rgds
    Sander

    Hi Sander,
    I confirm that for creating a link between projects, you need to have access in read-write to both files.
    Indeed creating such a link will write in both files information about successors (in the source file) and predecessors (in the destination file).
    Note that if you only need to update the successor, you don't need anymore to open in read-write mode the source file, since you won't write any more information in it.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • How can I switch between multiple windows of the same application (e.g. Safari) over several desktops ?

    Hi All,
    I have one application, for example safari, open and running with multiple windows (with or without tabs) spread over several desktops.
    How can I switch between the windows only via keyboard? CMD+> and CMD+< let me only swicht between windows open on the one desktop I am currently looking at.
    thanks for your replies,
    equi

    Barney,
    many thanks for your efforts and your time (preparing and posting the screenshot, answering to this question,...).
    Unfortunately, moving the focus to the next window only works with windows on the same desktop.
    btw, using a german keyboard layout and german language settings the shortcut is "cmd+<".
    I can switch with this shortcut between different windows of my Safari which reside on the same desktop, but I cannot swith between different safari windows distributed over several desktops.
    Thanks,
    equi    

  • How to link Icloud calendar and contacts with windows 8

    How to link Icloud Calendar and contacts with windows8

    Hi ATarakdjian,
    If you are having issues configuring iCloud Calendar on your Windows 8 machine, you may find the following article helpful:
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/ts3999
    Cheers,
    - Brenden

  • How do I transfer iTunes music from iPad to nano without a computer ? Can I lighting plug between the two?

    How can I transfer iTunes music from iPad to Nano without the use of a computer? Can it be done with Lightning plugs between the two?

    There is no way to do that.

  • How can we navigate between two windows of same component in webdynpro ABAP

    Hi
    how can we navigate between two windows( not views ) of same component in webdynpro ABAP. its an urgent requirement
    Thanks in advance.
    Regards
    Laeeq

    Hi Laeeq,
    You cannot navigate between windows of one component. You can only call a dialog box showing the contents of a second window, or you can embed the contents of a window of a different component.
    Just add all the views you need to the one and only main window of the component.
    Ciao, Regina

Maybe you are looking for

  • Problem with number fields using ASP

    Hello all, I am running IIS 5.0 on Windows 2000 SP 2. I have Oracle 8.1.5 installed on this machine. I am currently only using the sample database that with Oracle. When I run a simple select statement from the ASP page, I see everything correctly, e

  • How CMS replication works in Lync 2013.

    Hi can you anyone tell how CMS replication works in LYnc 2013 2 FE servers in pool scenario and Lync 2013 3 FE servers in pool scenario. Please give me the useful article if you have related to this topic? Thanks Thanks

  • HT1212 how do I disabled my iphone  i have a message say iphone is disabled connet to itunes

    what can I do to disabled my iphone

  • Auditing a transaction used by user

    hello, i have a question concerned to how i can know what transactions were used or executed by a user in a date, or for example the previous month, this is in a was or a R/3 environment. thanks Robinson

  • Line and shape controls

    Where can I can the line and shape tools that are missing from my list of controls. Using Google and Microsoft site, I see there are "Power Packs". I found and downloaded the PowerPack 3, and the next time I start VS 2013 I get a long list of files f