Documente Academic
Documente Profesional
Documente Cultură
plugs )
Window-Exits,
Navigation between the Views( Within same component )
Navigation between the Views( Between different components )
View Assembly & Contextual Panels.( Side Panels )
View Container UI Element
Calling Transaction Codes
*
Since suspend and resume plugs are used for communicating from the
active application, they have to be added to the interface view of the window.
Each suspend plug has the URL parameter, which here is mandatory, not
optional as it is with the exit plug. When a suspend plug is called, a target URL
must be specified.
If at least one suspend plug is created for an interface view, one resume plug
must also be created too. Without a resume plug an application cannot be
reactivated once it has been suspended. Only one resume plug can be
defined for each Web Dynpro window.
Suspend Call to a Web Dynpro ABAP Application
It is easy to set up this suspend call: First select an outbound plug as the
suspend plug in the primary WDA application. Call the plug, and as the value
for the URL parameter specify a string that represents the URL of the target
application (see the example code below).
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:///webdynpro/sap/my_secondary_wda' ).
endmethod..
The Web Dynpro application URL is defined as one of the application's
properties on the relevant tab page of the application, and it can be
accessed from here.
When an exit plug is triggered in the secondary WDA application, this
application is closed and the resume plug of the primary application is called
automatically. Within the Web Dynpro framework a reference to the active
instance of the primary application is always transferred in the suspend
call. The secondary application knows its status as the subsequent
application of a suspended primary application, and returns to the resume
plug of the primary application when an exit plug is called using the specified
reference.
In this case no further programming steps are necessary.
With this URL the primary application is called using the resume plug, and
reactivated.
Suspend and resume plugs can have user-defined parameters. For more
information, seeWindow: Inbound and Outbound Plugs.
Suspend and resume calls are not released for use in a portal
environment.
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