sapdev logo background
sapdev logo sapdev logo
Comments

SAP HTML BROWSER ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTIClE

Screens, HTML Browser
This example demonstrates the encapsulation of the browser controls
in a class.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The class CL_ABAP_BROWSER encapsulates the use of the class CL_GUI_HTML_VIEWER . The static SHOW_HTML method can be used to display a HTML file in a dialog box. External data, in this case a picture loaded from the
MIME Repository , can be passed and displayed. The SAPEVENT events are still passed on and can be handled by the user.
  • The first HTML file passed has errors since it does not meet the criteria for accessibility. For this reason, an error list is returned in the parameter html_errors . In SAP's internal systems, a corresponding message is always displayed in these cases to inform users of the class that the corresponding product standard has been violated.

  • The error list is also represented using SHOW_HTML , where the accessibility check for this simple purpose is disabled by passing a blank character to the appropriate parameter.

  • The errors found are corrected in the HTML file and passed again, with the accessibility check enabled this time.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




  • HIDE_AREA_GLOSRY
    ICF




    comments powered by Disqus