
In Web Dynpro, an asynchronous mode for the application ui parts, the views, is available, for example for application integration where the integrated application comes with high data volume. Users can interact with the screen while the application, or parts of it, is processing data. There can be one or more applications be integrated into the main Web Dynpro application, overall the limit is five applications.
Synchronous view processing is the default behaviour in Web Dynpro. Using user interface element ApplicationContainer, a layout container for combining the UI elements for the integrated application - handled asynchronously lateron - is defined.
More information: UI Element ApplicationContainer
For a clear separation of the application parts running synchronously, and the ones that are running asynchronously, the component concept in Web Dynpro is used: The main Web Dynpro component with the synchronous parts is the embedding component, it contains the user elements and data bindings the user needs lateron for working in the screen, while in the asynchronous part other data is processed. For the asynchronously processed data, an embedded component is defined containing the views, context data and methods for the integrated application. The interface IWDApplicationHandle handles the programmatic interaction between the embedding and the embedded application.
Embedding Component
| Classes and Interfaces | Usage |
|---|---|
|
public classInternalEmbeddingComp |
Extendscom.sap.tc.webdynpro.progmodel.gci.impl.GCIComponentController implements IprivateEmbeddingComp, com.sap.tc.webdynpro.progmodel.gci.IGCIViewDelegate |
|
public classInternalEmbeddingCompView |
Extendscom.sap.tc.webdynpro.progmodel.gci.impl.GCIViewController implementsIprivateEmbeddingCompView, com.sap.tc.webdynpro.progmodel.gci.IGCIViewDelegate |
|
public classInternalEmbeddingWindow |
Extendscom.sap.tc.webdynpro.progmodel.gci.impl.GCIWindowController implements IprivateEmbeddingWindow, com.sap.tc.webdynpro.progmodel.gci.IGCIViewDelegate |
|
public classInternalPopupWindow |
Extendscom.sap.tc.webdynpro.progmodel.gci.impl.GCIWindowController implements IprivatePopupWindow, com.sap.tc.webdynpro.progmodel.gci.IGCIViewDelegate |
|
public interfaceIConstantEmbeddingComp |
Provides constants relevant on Web Dynpro component level |
|
public interfaceIExternalEmbeddingCompInterface |
Extendscom.sap.tc.webdynpro.progmodel.api.IWDExternalControllerInterface |
|
public interface IPrivateEmbeddingComp |
Extends com.sap.tc.<wdj_project>.embeddingapp.comp.wdp.IPublicEmbeddingComp |
|
public interface IPrivateEmbeddingCompView |
Extends com.sap.tc.<wdj_project>.embeddingapp.comp.wdp.IPublicEmbeddingCompView |
|
public interface IPrivateEmbeddingWindow |
Extendscom.sap.tc.<wdj_project>.embeddingapp.comp.wdp.IPublicEmbeddingWindow |
|
public interface IPrivatePopupWindow |
Extends com.sap.tc.<wdj_project>.embeddingapp.comp.wdp.IPublicPopupWindow |
|
public interface IPublicEmbeddingComp |
Provides access to the generic component API IWDComponent wdGetAPI() |
|
public interfaceIPublicEmbeddingWindow |
Provides access to the generic API of this controller IWDWindowController wdGetAPI() |
Embedded Component
|
public class EmbeddedComp |
Importscom.sap.tc.<wdj_project>.async.embeddedapp.comp.wdp.IPrivateEmbeddedComp |
|
public class EmbeddedCompView |
Imports com.sap.tc.<wdj_project>.async.embeddedapp.comp.wdp.IPrivateEmbeddedCompView com.sap.tc.<wdj_project>.async.embeddedapp.comp.wdp.IPrivateEmbeddedCompView.IContextElement com.sap.tc.<wdj_project>.async.types.TerminationMode com.sap.tc.<wdj_project>.async.utility.LogUtility com.sap.tc.webdynpro.progmodel.api.IWDProgressMonitor com.sap.tc.webdynpro.progmodel.api.IWDApplicationEnvironment.WDActionExecutionMode com.sap.tc.webdynpro.progmodel.repository.IWDWindowInfo com.sap.tc.webdynpro.services.session.api.IWDWindow |
|
public class EmbeddedWindow |
Imports com.sap.tc.<wdj_project>.async.embeddedapp.comp.wdp.IPrivateEmbeddedWindow com.sap.tc.<wdj_project>.async.utility.LogUtility |
|
public class PopupView |
Imports com.sap.tc.<wdj_project>.async.embeddedapp.comp.wdp.IPrivatePopupView |
|
public class PopupWindow |
Imports com.sap.tc.wd.test.async.embeddedapp.comp.wdp.IPrivatePopupWindow com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDButton com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDWindowViewElement com.sap.tc.webdynpro.clientserver.uielib.standard.api.WDButtonDesign com.sap.tc.webdynpro.progmodel.api.IWDAction |
|
public class Terminated |
Imports com.sap.tc.<wdj_project>.async.embeddedapp.comp.wdp.IPrivateTerminated |
Web Dynpro applications with asynchronous views run standalone, and also integration into SAP Enterprise Portal is supported.
More information: Enabling the Portal to Process Asynchronous Web Dynpro Views