SAP MIME HTML ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_DYNPRO - HTML from the MIME Repository
This example demonstrates how a HTML file is displayed from the MIME repository.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
An API is used to load a HTML file and an image from the MIME repository and store them in internal tables. The method LOAD_DATA of the class CL_GUI_HTML_VIEWER is used to associate the data with the HTML control of CFW and the HTML file is displayed. The name of the image in the HTML file is the same as the URL passed to the method LOAD_DATA for the image. LOAD_DATA is given a URL for the image in the internal table and is used on the HTML page.
See also the executable example for direct access to objects from the MIME repository using ICF.