Web Dynpro

Web Dynpro ( WD) is a technology that was introduced by SAP NetWeaver within the strategy. It is used to create web-based applications that work with an SAP ERP and other systems.

Generally

It is a Java and ABAP version of Web Dynpro. While the Java version has been available since the introduction of SAP NetWeaver, the ABAP variant has only been available in early 2006. From SAP itself is currently only used in new developments, the ABAP version of Web Dynpro. Under SAP experts is a discussion going on, when SAP will phase out the Java version.

Programming

The Web Dynpro programming is based on the MVC design pattern.

  • Views include the layout and presentation of the data. A view is assembled solely from prefabricated elements, so that no knowledge of HTML to be required. Each view has its own view controller.
  • Connect the Component Controller Models with view controllers and control the application flow.
  • Models are used for data collection, for example, from SAP R / 3 systems via adaptive RFC model or, for example via Web services. Models include a modeling context, which contains the data of the respective model last call.
  • Contexts are each controller associated data store. The context of a view controller stores the data as long as the view is active (comparable to request a J2EE application ), the component controller stores the data view across, as long as the application is running (comparable to the session).
  • Mapping combines the data from the context, and causes an automatic adjustment data at run time.

The interplay different views now be placed on a window and the Start View is highlighted. This is displayed at run time first. Through user interaction via operating events are triggered that appeal to methods in the controllers. In these methods the developer programmed now, for example, model calls, to acquire data from the back-end systems. About the mapping of the contexts they are transported within the Web Dynpro application, so that they can be displayed in a view again.

The Web Dynpro ABAP version integrates seamlessly into the existing SAP system as the Java version that is outside of the SAP system in the NetWeaver Developer Studio creates (based on Eclipse workbench ). There are also differences with respect to the existing UI elements: well-known from the classical ABAP development ALV Grid ( ALV = SAP List Viewer) is not available in the Java version (yet). Also missing the implemented in WD ABAP Wizards can be generated with those frequently-used code paths. In return, the Java version made ​​more flexible with regard to the design of surfaces themes.

815218
de