Show TOC

Background documentationWindow Editor Locate this document in the navigation structure

 

The window editor is the tool for creating and editing Web Dynpro windows.

The Window Editor comes in the following variants, where they usually each contain the same functionality:

  • Classic Window Editor

    Window Editor in the classic tree view (standard setting).

    Example Example

    WDR_TEST_ENHANCEMENTS (WDR_TEST_ENHANCEMENTS)

    End of the example.
  • Graphic Window Editor

    Window Editor with graphical user guide.

    The JNet ActiveX Control is a prerequisite for the graphical Window Editor which can be isntalled directly as part of the SAP GUI installation.

    Example Example

    WDR_TEST_ENHANCEMENTS (WDR_TEST_ENHANCEMENTS)

    End of the example.

Note Note

You can switch between both Window Editor variants using Switch Window Editor View.

End of the note.
Graphic Window Editor

Every element of the classic tree display of the Window Editor is represented in the graphical Window Editor.

Element

Equivalent in the Graphical Window Editor

window

Representation through entire background of the graphic.

Window Plugs

Positioning on the Background of the Graphic

Views

Positioning on the Background of the Graphic

Container

Positioning in the Related Views

Assigned Views

Positioning in the Related Containers

Inbound plugs

Blue Display with Horizontal Orientation

Outbound plugs

Red Display with Vertical Orientation

Default Views

Dark Blue Display

Normal Views

Light Blue Display

Obsolete Elements

Red Lines or Outlines

Elements in Enhancement Mode

Blue Lines or Outlines

Note Note

Since enhanced objects cannot be changed in change mode, the blue lines are shown here as broken.

End of the note.

The color of the background of the graphic depends on the current mode:

Mode

Example of the Visual Display

Description

Display Mode

View with Inbound Plug for Display (View with Inbound Plug for Display)

Objects on Light Background

Change Mode

View with Inbound Plug for Change (View with Inbound Plug for Change)

Objects on White Background

Enhancement Mode

View with Inbound Plug for Enhancement (View with Inbound Plug for Enhancement)

Enhanced Objects (Enhanced Objects)

Objects on Yellow Background.

Note Note

Enhanced objects have a thicker line or outline.

End of the note.

Note Note

  • The window is not specifically shown in the graphical Window Editor but rather it is represented in the background of the graphic. If a window or its root node is selected in thre tree view then no entry is shown as selected when switching to the graphical view. Only the properties table below the graphic shows the general properties of the window.

  • Note that it is currently not possible to drag and drop objects from the object tree of the Web Dynpro Explorer to the graphical Window Editor.

End of the note.
Context menus

In the graphic Window Editor, the context menus for individual elements (views, containers, plugs, navigation links) correspond to the context menus of these elements in the classic Window Editor.

Some exceptions for this are the context menus for entries that are disabled. These are not displayed in the graphical Window Editor.

Navigation Links

In the graphic Window Editor you can use drag and drop for the following actions for navigation links:

  • Delete

  • Select

  • Change

You can also change the assignment using drag and drop.

Window Components

Just like a Web Dynpro view, a Web Dynpro window consists of a graphic part, a controller part and inbound and outbound plugs. The layout of the window is maintained in the graphics part, that is, the embedded views as well as the navigation between the views. The window controller on the other hand contains a context, methods and attributes.

You can create windows on a component-local basis. In this case, the system does not generate an interface view. This means that you cannot use the window in question in another component.

Properties

The technical properties of a Web Dynpro window controller are the same as those of a Web Dynpro view. You can therefore declare a controller usage for a window, so you can exchange context data or use methods.

More information: Controller Properties