cancel
Showing results for 
Search instead for 
Did you mean: 

how to create suspend & resume plug?

Former Member
0 Kudos

hi experts,

how to create suspend & resume plug in webdynpro abap. and use it...further. any pdf?

Thanks,

saurin shah

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

by self. In component controller i need to make one method and code there instead in view. and than call that method in view on click button.

Former Member
0 Kudos

Hi saurin,

Go to the window of your Web dynpro component from the window you have tabs Inbound and Outbound plugs.

To create resume plug go to inbound pugs of window enter plug name and tselect type is resume and save you will find method handler method in methods tab of window.

same as for suspend go to Outbound plug and create a plug of type suspend.

Check this standard document to create suspend or resume plugs.

http://help.sap.com/SAPHELP_NW04S/helpdata/EN/45/19bf8c16f25d7ae10000000a11466f/content.htm

uday_gubbala2
Active Contributor
0 Kudos

Hi Saurin,

Go through these 2 links: [Link1|http://help.sap.com/saphelp_nw04s/helpdata/en/43/6b972329d23d33e10000000a11466f/frameset.htm] & [Link2|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62]

Regards,

Uday

Former Member
0 Kudos

Hi,

as u suggest me i have created resume plug and i got methodhandler for that. i have created suspend plug for the window as well. now in my view of that window , i put next button. what i want when i click on that it should suspend to new application through url.right.

i found this code frm doucument....

method ONACTIONGO_SUSPENDING .

data: L_REF_MAIN_WINDOW type ref to IG_MAIN_WINDOW .

L_REF_MAIN_WINDOW = WD_THIS->GET_MAIN_WINDOW_CTR( ).

L_REF_MAIN_WINDOW->FIRE_GO_SUSPENDING_PLG(

URL = 'http://u2026u2026u2026u2026/webdynpro/sap/my_secondary_wda' ).

endmethod..

so in my code , i got next button on click action method i need to do this code.

what my prb. is....

i have declared

data: L_REF_MAIN_WINDOW type ref to IG_ZWDA_PLUG.

here ZWDA_PLUG is my window name.

bt i am not getting method like get_zwda_plug_ctr( ) of wd_this.

so should i workout......?

Thanks,

Saurin Shah.

Former Member
0 Kudos

Hi Uday,

when we make suspend plug in window and call another application through URL of another application. so when we switch over to another application, as per document through resume plug we can back to main application. but how i dont get it...please will u explain me..

thanks,

saurin shah