cancel
Showing results for 
Search instead for 
Did you mean: 

Suspend and Resume Plugs

Former Member
0 Kudos

how can we create and use Suspend and Resume Plugs of Window for navigation between two WDA application,

Please tell me with example.

Accepted Solutions (0)

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

1.Create Suspend Outbound plug in window ( when you create this URL parameter is automatically added to the plug by the framework )

2.Create Resume In bound plug in the same window

3. add the window controller usage to the View in Properties Tab

4. fire the window outbound plug by passing the Other Applicaiton URL

-


Now, in the Second Application to come back to the First Application

You have to read teh Application Parameter 'sap-wd-resumeurl' which is a URL and using LinkToURL or ExitPlug you can achieve this

Abhi

Former Member
0 Kudos

HI,

can u please explain the 4th step,

4. fire the window outbound plug by passing the Other Applicaiton URL

i have to call the application in same window by pushbutton, i have created suspand and resume plugs,

for the pushbutton i have created on event 'create'. i want to call other application only when i press pushbutton, where and how i can code,

regards,

Yogesh

Edited by: Yogesh Nigam on Jul 24, 2008 3:08 AM

abhimanyu_lagishetti7
Active Contributor
0 Kudos

ZTEST1 is the other web dynpro application where i want to navigate

CALL METHOD CL_WD_UTILITIES=>CONSTRUCT_WD_URL

EXPORTING

APPLICATION_NAME = 'ZTEST1'

IMPORTING

OUT_ABSOLUTE_URL = str

.

  • to fire the suspend outbound plug in view wher e ZTEST is my window name

data:

l_ZTEST type ref to IG_ZTEST.

l_ZTEST = wd_This->Get_Ztest_Ctr( ).

l_ztest->fire_test_plg( url = str ).

though the sap-wd-resumeurl is being passed to the application as i can see in the URL, it is not appearing in the application parameters in SP10, i hope this is working in higher versions

Abhi