Show TOC

Dynamic DocumentsLocate this document in the navigation structure

Use

Dynamic documents are a logical successor to traditional R/3 list output. They represent a felxible procedure for designing dynpro areas that contain data without structured output design and which can therefore not be displayed with other techniques such as tree control or table control. Dynamic documents are displayed as HTML documents and therefore better suit the new graphic design of the SAP system than the traditional list output.

Implementation Considerations

With dynamic documents you can define a dynpro area that contains different graphical elements. Use ABAP statements in your program to create the documents. The system then generates the relevant HTML source code from this. The finished HTML document is then displayed at runtime. This technique has several advantages:

  • You do not need any previous HTML knowledge.

  • In contrast to HTML templates that you create yourself and display using the SAP HTML Viewer at runtime, dynamic documents offer a higher level of flexibility. As they are constructed line-by-line in the program, you can make the embedding of certain elements in the document dependent on conditions.

  • There is only one formatting scheme that ensures that the documents in the whole system have a consistent appearance.

  • The color and style scheme of dynamic documents is adjusted automatically when the user changes the system colors in the GUI settings so that the final HTML documents always match the global system settings.

Dynamic documents use the SAP HTML Viewer control. The same implementation considerations apply here.

Integration

Dynamic documents are displayed using the SAP Control Framework. Therefore you can use them in any SAP Container control.

  • In a reserved dynpro area

  • In an area docked to a dynpro

  • In a dialog box

  • In a specific area of the container named above after it has been split up with the SAP Splitter Container or SAP Easy Splitter Container.

Features

A dynamic document can consist of the following elements:

  • Text

  • Links

  • Pushbuttons

  • Input fields

  • Dropdown Boxes

  • Symbols

  • Images

  • Tables

Example

Your system contains a number of demonstration programs, which you will find in development class SDYNAMICDOCUMENTS.