Web Dynpro for Java (Enhanced)

Technical Data

Function Is

Enhanced/changed

Release

Software Component

  • Component: SAP NetWeaver (NW)

  • Release: 7.0

Assignment to application component

BC-WD Web DynproBC-DWB-WD-JAV SAP NetWeaver Developer Studio, Web Dynpro perspective

Country Setting

Valid for all countries

Use

New functions were added to Web Dynpro for Java with the SAP NetWeaver 7.0 release. The following sections list the most important changes to Web Dynpro technology on the Java platform.

New Features and Changes in the Web Dynpro Runtime

Direct Method Call for Creation of URLs

There is an enhanced API for the URL Generator: IWDApplication and IWDComponent enable a direct method call for creating URLs, which provides direct access to the context of the application or component.

Interface Change: Dynamic Subscribtion to Controller Events

The interface for dynamic subscribing to controller events has changed. The new methods process generated constants instead of Web Dynpro runtime repository objects. The types of constants are IWDEventId and IWDEventHandlerId. The new methods are under IWDComponent and IWDComponentUsage; the old methods are still fully functional but are marked as deprecated.

UI Enumeration Types for Data Binding

UI enumeration types can be used for the context attributes in the data binding.

Change of Message Format

Message texts are now formatted analogously to the Java message format Message.Format.format() of the Java Development Kit (JDK).

Field Enhancements for Containers

Containers enable the enhancement of the user interface. There are field enhancements for all containers, which enables the enhancement of the user interface. The containers can be personalized to display additional fields. Furthermore, the administrator can flag the enhancement option of fields for developers by setting the Mandatory flag.

Web Dynpro Tools and Functions (Design Time)

Data Modeler Tool

With the Data Modeler, a central graphical tool of the Web Dynpro perspective, you can define the elementary, logical application entities such as views, models, and controllers as well as trigger the context mapping definition by creating data links. Furthermore, you can nest components and reference a Web Dynpro model using the Diagram View. In addition to the Data Modeler, the Navigation Modeler is available for designing user interfaces by means of containers, for example, as well as implementing the navigation between the views of the Web Dynpro application.

Adaptive Web Service Model

The Adaptive Web Service Model represents the new interface to a Web service back end. The main features of this enhanced Web service model include metadata support at runtime via the Common Model Interface (CMI), the adaptation option for generated design time metadata using runtime data, the configuration possibility for logical ports, and enhanced security mechanisms. The generic Web service runtime without Web service proxies supports these modification options. To be able to use the Adaptive Web Service Model, the service provider must support the Web Service Inspection Language (WSIL).

Metadata Comparison Tool

You can carry out a metadata comparison with graphical tool support for two Web Dynpro projects in different workspaces. The display is in form of metadata object trees, the attributes and values are displayed in a properties table. The comparison is carried out at development object level and their relationship with one another. The function is available for development component projects stored centrally in the Design Time Repository as well as for local projects. You can also save and print a local evaluation XML file containing all delta information.

New User Interface Elements and Properties

The following is a list of the new features and UI elements for the design and implementation of the user interface:

Integration of Business Intelligence (BI) Web Applications

For the integration of Business Intelligence (BI) Web applications into the Web Dynpro interface, the BI container control (Web Dynpro UI element BIApplicationFrame) is available in the View Designer tool of the Web Dynpro perspective. Calls to an ABAP server and to a J2EE server are both supported; in the Web Dynpro design time environment, the properties of the BI application are available for direct processing. Furthermore, you can set filters, for example, and a search function is also supported.

New Table Properties

There are now additional properties and functions for the table UI element. For example, you can define a separate editor usage for individual table rows or display additional information for a data record.

Container Enhancement

Enhancement of the complex container element and thus the base class for all container types such as Group, ScrollContainer, and Table. The enhancement affects the creation of UI elements and table columns bound to a customer enhancement fields. The new function is used for the implementation of user interactions in a table.

New History Category

The new History category in the View Designer tool enables fast and convenient access to the UI elements used.

Adobe Forms for Web Dynpro Interfaces

SAP NetWeaver 7.0 sees the introduction of the following new functions and features for the use of interactive forms:

Dynamic PDF Forms

PDF forms can now have dynamically programmed parts when displayed on the client side. For example, a radio button can be selected to enable one section of a form and disable another.

Settings for Initial Form Display

Form display can now be adjusted via a number of new settings. For example, you can display the form directly after client rendering in fullscreen mode and with no menu or status bar. You can also control the zoom level directly via the server.

PDF Document Data in XML Format

The data of a PDF document can be unpacked and then stored on the server in XML format; it can thus be reused for other applications, as well as workflow and enterprise scenarios, that use XML data. The reverse data flow is also possible - that is, from the server to the Adobe front end to be displayed to the end user.

PDF Documents Without InteractiveForm UI Element

You can now create and manipulate PDF forms without first defining an InteractiveForm UI element. Developers can thus utilize the PDF document architecture via different APIs. All public methods of the class IWDPDFObject are obsolete. A possible use for this function could be when the application does not want to display the form at the front end, but requires some forms based on Web Dynpro context data (for example, for reporting purposes).

Error Handling and Trace Functions

In the case of a rendering error (except for during the creation of a PDF document on the Adobe Document Server ADS), the system now generates a PDF error file containing information for subsequent debugging and displays it to the developer.

Creating Printer-Specific Documents

The languages Printer Control Language (PCL) and Post Script (PS) are supported for the printing of print-specific documents. A new PCL/PS file can be created via a template, the data in the same way as when creating the PDF documents themselves. PDF documents can also be converted into PCL/PS documents.

Portal Integration of WD Applications

For object-based navigation (OBN) for Web Dynpro applications integrated in the SAP NetWeaver Portal, the Web Dynpro runtime provides the WDPortalNavigation service, which defines the required parameters. OBN allows you to define the navigation steps on a higher semantic level. At logical level, an operation for a specific business object is created for the definition. The iView or page that is used to implement this operation is configured in the portal platform and can be role-specific or user-specific.

Personalization of the Web Dynpro Interface

In addition to the explicit SAP Portal personalization options, the end user can now also use implicit configuration options to personalize Web Dynpro interfaces. The following interface adjustments are possible; these changes do not require any modifications to be made to the interface.

  • Changing the position and visibility of UI elements - for example, for fields and tables.

  • Adding or changing additional interface information - for example changing the button text or adding quick infos.

  • Role-specific changing of interface labels.

  • UI element roadmap: Removing individual, unneeded process steps.

  • Statically changing individual field attributes.

  • Changing the alignment of individual UI elements - for example, line starting point, align right, centered alignment.

  • Wider selection of fonts and colors for the interface layout.

Other

  • Enhanced keyboard navigation - for example, skipping container and zone navigation.