Show TOC Entering content frame

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 will 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. It is contained in the parameter list for compatibility reasons.

 

 

Leaving content frame