Once you have created and merged a dynamic document, you use thedisplay_document method to display it on the screen.
You must have created and merged the dynamic document itself.
There are three possible ways to display a dynamic document:
Using a Custom Control Area on a Screen
The system then creates an SAP Custom Container control in the container that you specified. It then creates an SAP HTML Viewer control in the container, and uses it to display your dynamic document.
Using an Existing SAP Container Control
To display your dynamic document in a container other than an SAP Custom Container (for example, in an SAP Docking Container or SAP Dialog Box Container):
The system creates an SAP HTML Viewer control in the container that you specified, and uses it to display your dynamic document.
Reusing the Control From an Existing Dynamic Document
When you reuse a dynamic document instance (by initializing and refilling it), the HTML Viewer instance is not destroyed. Consequently, you can reuse it when you display your new document.