Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 20, 2008 at 08:44 AM

    define exit plug in aplication Y and fire that to exit from application Y, system automatically get in to application X by resuming that.

    Hope this is clear.

    -Haresh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

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

      😊

  • avatar image
    Former Member
    Oct 20, 2008 at 08:30 AM

    Hi Saurin,

    Check this document

    http://help.sap.com/saphelp_nw04s/helpdata/en/45/19bf8c16f25d7ae10000000a11466f/content.htm

    Check these example programs

    WDR_TEST_EXIT_PLUG

    WDR_TEST_EXIT_PLUG2

    WDR_TEST_POPUP_INPLUG

    WDR_TEST_STARTUP_PLUG

    Add comment
    10|10000 characters needed characters exceeded