How to fire resume plug?

hi experts,
        when we make suspend plug in window in componet X  and call another application of component Y through URL of that application. If i have already made resume plug of component X.  So after switching over to Y application how should i come back to application X through resume plug.
Please revert back.
Thanks,
Saurin.

1. create a event EXIT_EVENT in Component controller
2. create a method CALL_EXIT_EVENT in component controller.
3. write code in CALL_EXIT_EVENT to fire event EXIT_EVENT.
4. create a event handler method CALL_EXIT_PLUG in window of application Y which will fire on event EXIT_EVENT.
5. write code in CALL_EXIT_PLUG to fire exit plug of Y.
now you can call CALL_EXIT_EVENT to exit from application Y and to resume to X.
there is no need to pass url of X in exit plug.
that's it. u r done...

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.

  • 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

  • On Resume Plug another iview ?

    Hi Webdynpro Java guru's ;
    I have an suspendable application and it has 3 iviews (iview a , ivew b , iview c).
    my application starts with iview a then plugs iview b. In iview b application navigates another application.
    After some process it returns back and my first application resumes. When resume plug called. i want my
    application plug iview a .
    How i can do this ?
    Pls help

    Hi,
    When u click resume plug u want application plug iview a right ?
    String Url = "application iview a url";
        wdThis.wdGetSusResWindowInterfaceViewController().wdFirePlugResumePlug(Url);
    u store iview a url in Url variable and pass that variable to resume plug.
    Regards,
    sunaina Reddy T

  • Resume plug in EP

    Once I have a RESUME PLUG (interface) in my WDA window, the EP keeps a single session open for each WDA.
    While this is a performance boost it is a memory waste. So in my application I'd like to programmatically switch it on / off (as per configuration).
    Is there any chance to do so. Possible solutions:
    - Dynamically create the plug (Dynamically Created Outbound Plug), but how?
    - change the type of the plug programmatically (Standard / Resume)?
    - change the state in WDDOAPPLICATIONSTATECHANGE, but I have no idea how.
    Any idea on how to attack this?

    This seems to work, I just want to keep an eye on that:
    In the WDDOAPPLICATIONSTATECHANGE I do check for Suspend state and in this case I can set the dirty flag (of course, in the real implementation this will be configurable)
    ELSEIF state_change->state_change_reason = state_change->co_reason_suspend.
        r = 'SUSPEND'.
    CALL METHOD lo_portal_manager->set_application_dirty_flag
      EXPORTING
        dirty_flag = TRUE
    I'd really like not know what a SAP WDA developer would say this is, a trick or very bad hacking because of..?

  • Resume Plug POST Parameter

    Hi,
    Can we read the resumeURL before calling suspend ? If yes how ?
    On application resume, Can we read the POST parameter value immediately on resume, returned by external application and on which method we can read them ?
    Vinit

    Now i understud you.
    To get the post parameters from resume plug... you need to create in this plug a few parameters with the same name of the post parameters.
    regards,
    Angelo

  • Suspend and Resume Plug

    Hi all,
    Here: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm</a>
    is written about Suspend and Resume Plugs, and how to use them.
    I have one question about it:
    "<b><i>To be able to put a Web Dynpro application into the suspend state and resume it later on, you must set the Suspensibility (sap.suspendable.application) application property to true.</i></b>"
    Is this <b>SelfDefined</b> property for the webdynpro application? if- no, what have to be done, so to be set?
    Thank you in advance.
    BR

    Hi Diana,
    the only way to define a Web Dynpro application explicitly as suspendable is to define a specific application property named sap.suspendable.application. Possible values are true or false. Not defining this parameter means that the application is not suspendable.
    Check the document <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/102ed591-62a6-2910-94ac-e6038ef7b76e">How to realize suspendable Web Dynpro Java applications within the SAP NetWeaver Portal</a>. There you will find detailed instrcutions how to set the property.
    Best regards,
    Martin

  • How come whenever i plug my iPhone 5 into the computer the device will not show up on my itunes.  This is the first time that i have done it since i updated to iOS7 and before i had no problem but now it just wont work.

    How come whenever i plug my iPhone 5 into the computer the device will not show up on my itunes.  This is the first time that i have done it since i updated to iOS7 and before i had no problem but now it just wont work.

    Hi Celia51510,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Click on the link to see more details and screenshots. 
    I can't tell from your post if you are using a Windows or a Mac Computer.
    Try deleting the iTunes application and redownloading the version you need below:
    iTunes 11.1 Download for Mac
    http://support.apple.com/kb/DL1614
    iTunes 11.1 for Windows (64-bit)
    http://support.apple.com/kb/DL1615
    Cheers,
    - Judy

  • How to install the plug-in for SQLServer 2000

    Hello, All,
    I am installing Oracle Migration workbench (10.1.0.4.0), want to migration data from SQL Server 2000 to Oracle. I downloaded omwb.zip file and sqlserver2k.zip plug-in. I put the plug-in in “plugins” folder during the installation, renamed it as SQLSERVER2K.JAR, and unzip it there, the unzip process generated two folders: META-INF and Oracle. There is a MANIFEST.MF file in META-INF folder, and in oracle folder, several small folders folder with a lot of .class files. I started the OMWB.BAT file in bin folder, I still get the error information: “No okugubs are installed. Please install…. “.
    I tried many times, including rebooted the machine and restarted the OMWB.bat ifle, but still got the same error message. It should be a simple problem, but I just can't install OMWB becasue of the plug-ins problem.
    Could anyone who installed the OMWB before and know how to solved the plug-in problems help me?
    I am thinking: do I need to put all of the .class files in the folders into the “plugins” folder directly?
    Thank you very much for your help.

    you should
    1- Download Omwb.zip & MySQL4.zip from Migration WorkBench WebSite
    2- Unzip Omwb.zip (suppose it is unziped in C:\omwb)
    3- Copy MySQL4.zip to C:\omwb\plugins and rename to MySQL4.jar
    4- Execute C:\omwb\omwb.bat for WorkBench
    Good Luck
    S.Ahmad Pourreza Ahmadi From IRAN

  • How to get resume event in app?

    How to get resume event in app?

    Hi,
    Have a look at this
    Windows Phone Application Lifecycle
    I think you are looking about Application_Activated which is explained in detail in the above article.
    Pradeep AJ

  • How to remove kindlegen plug-in in InddCS5.5

    Once again, I fell for the recommendation to install a third-party plug-in: Amazon kindlegen plug-in for indesign CS5.5. It has caused my INDDCS5.5 to not be able to load. I want to remove this kindlegen plug-in. I saw on one forum (not adobe forum) some very tecchie/geekie instructions, involving yet another program to be installed to remove kindlegen. Does anyone here know some easier way to get rid of the thing?
    This is the link I found with all the uber-geeky stuff to fix it. Waaay over my head: http://www.mobileread.com/forums/showthread.php?t=96903

    Kindlegen always caused problems for me. IMHO, a horrible program. I just stick to InDesign "export for epub" option. And then Amazon, B&N, et. al., can do the rest (like, Amazon converting to their mobi format when you upload an epub file to kdp.amazon.com.
    ~Karen
    Zagmathustra <[email protected]> wrote:
    Zagmathustra http://forums.adobe.com/people/Zagmathustra created the discussion
    "Re: how to remove kindlegen plug-in in InddCS5.5"
    To view the discussion, visit: http://forums.adobe.com/message/6227544#6227544

  • How to install optional plug-ins

    I just read in the March issue of Photoshop User magazine about optional plug-ins you can download from http://www.adobe.com/support/downloads/detail.jsp?ftpID=4048. It includes the Contact Sheet II plug-in among others. The article described how to install this plug-in but there are other things included in the Goodies folder that I'd like to install but not sure how. For example, there are textures but I don't see a textures folder where PS CS4 is installed. The readme file doesn't tell you how to install the features. Any help would be appreciated.

    most things like textures, actions, brushes etc. can be loaded via the flyout menu in their respective palettes. the little triangle in the upper right corner? click that, you'll see "load textures" or "load brushes" etc.

  • How to install a plug-in to create a .ico file

    I am new to Photoshop, I have CS6.
    I want to create a .ico file, I understand I need a plug-in to do so, where do I find the plug-in to install?
    Also, I have gone round in circles trying to find out how to install a plug-in. I didn't find the pdf help file very helpful on the subject.
    Thanking you for any help.

    Try
    http://www.telegraphics.com.au/svn/icoformat/trunk/dist/README.html

  • How to find Safari plug-in installed on a specific date?

    I posted this question in the wrong community, so am re-posting here.
    I want to remove a Safari plug-in. I know how to find the plug-ins that have been installed (Safari > Help > Installed Plug-Ins), but the names of the plug-ins mean nothing to me. I do know, however, when the plug-in (the one that I want to remove) was installed.  Is there a way to see the list of installed plug-ins by install date?  Thx

    Do you back up with Time Machine? If so, scroll back through the snapshots of the plugin folders until you find the most recent change.

  • How to fire event to generate insert message for the child objects?

    We are in process to integrate CRM On Demand and existing Microsoft SQL DB.
    We have the following problem:
    For ex., we have CRM Object_1 that already synchronized with the SQL DB. CRM also has independent Object_2 and its child Object_2.1
    We dicided that we want to connect the Object_2 as child to the Object_1.
    The question is how to fire event to generate insert message for the Object_2 and Object_2.1?
    What is the best technique? Is it possible to do it by workflow configuration or it needs to be done programmatically?
    Thanks,
    Dmitry
    Edited by: 955827 on Aug 29, 2012 11:57 AM

    Hi,
    integration events can be generated only via worklow. You will need to create separate workflows for each record type (regardless if it is child or parent) because a workflow for the parent record type will not trigger when a child record is created/ associated. Also, the association workflows will trigger only when the specific event occurs.
    There is not way to generate the integrtaion events programatically. They are generated by workflows and are read/ interpreted by a code extension.

Maybe you are looking for