Start of Content Area

Background documentation Working with Dialog Boxes  Locate the document in its SAP Library structure

Dialog boxes are used to display concrete information or possible settings on a Web Dynpro view. After the dialog has been exited, either the view underneath becomes active again or you can navigate to another screen. There are two different types of dialog boxes:

      Modal

A modal dialog box opens in the current browser window.

Note Each modal dialog box has its own phase model instance. 

      External

An external dialog box is opened in a separate browser window and can be moved around the screen independently of the original window. External dialog boxes are generally modeless.

Calling a Dialog Box

      Dialog boxes are implemented within a Web Dynpro application via an additional window and are generally called by the event handler of an action (if necessary however, all other methods of the phase model can be used). The component controller contains the interface IF_WD_WINDOW_MANAGER, with which a new window for the content of the dialog box can be created and opened. (During the creation process, a usage of the corresponding component controller is automatically set up for every view controller.) In most cases, you will use a modal dialog box in your application.

Example 

In your system, you can find the detailed example component WDR_TEST_POPUPS_RT_00. It is located in package SWDP_TEST.

Caution 

The parameter MODAL is no longer used.

Restrictions

Note that the integration of active controls in Web Dynpro ABAP dialog boxes (popups) is not supported. Active controls are all UI elements that inherit from AbstractActiveComponent:

      Gantt

      Network

      OfficeControl

      InteractiveForm

 

 

End of Content Area