SAP CL_ABAP_BROWSER OO Class - Display an HTML or XML File
CL_ABAP_BROWSER is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_ABAP_BROWSER including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of CL_ABAP_BROWSER SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
Method Name | Description | Visability |
BUILD_HTML | Makes HTML Table from String | Private |
CALL METHOD cl_abap_browser=>BUILD_HTML...more details | ||
BUILD_XHTML | Assembles an xHTML Table from an xString | Private |
CALL METHOD cl_abap_browser=>BUILD_XHTML...more details | ||
CHECK_HTML | Checks the HTML file for formal correctness | Private |
CALL METHOD cl_abap_browser=>CHECK_HTML...more details | ||
CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
CALL METHOD cl_abap_browser=>CLASS_CONSTRUCTOR...more details | ||
CLEAR_BROWSER | Closes Dialog Box (Only for Internal Use) | Public |
CALL METHOD cl_abap_browser=>CLEAR_BROWSER...more details | ||
CLOSE_BROWSER | Close Browser | Public |
CALL METHOD cl_abap_browser=>CLOSE_BROWSER...more details | ||
| ||
CREATE_BROWSER | Creates the Browser (Only for Internal Use) | Public |
CALL METHOD cl_abap_browser=>CREATE_BROWSER...more details | ||
CREATE_CHECKER | Factory Method for Check Object | Private |
CALL METHOD cl_abap_browser=>CREATE_CHECKER...more details | ||
FILL_BROWSER | Supplies the Browser with the HTML File | Private |
CALL METHOD cl_abap_browser=>FILL_BROWSER...more details | ||
FILL_BROWSER_WITH_URL | Supplies the Browser with the URL | Private |
CALL METHOD cl_abap_browser=>FILL_BROWSER_WITH_URL...more details | ||
FILL_BROWSER_WITH_XML | Supplies the Browser with the XML File | Private |
CALL METHOD cl_abap_browser=>FILL_BROWSER_WITH_XML...more details | ||
HANDLE_BROWSER_BAR | Navigation Process | Private |
CALL METHOD cl_abap_browser=>HANDLE_BROWSER_BAR...more details | ||
HANDLE_BROWSER_CLOSE | Closes Dialog Box | Private |
CALL METHOD cl_abap_browser=>HANDLE_BROWSER_CLOSE...more details | ||
HANDLE_EXTERNAL_DATA | Loads External Data (Screens etc.) | Private |
CALL METHOD cl_abap_browser=>HANDLE_EXTERNAL_DATA...more details | ||
HANDLE_HTML_LOAD | Fills the Navigation Table | Private |
CALL METHOD cl_abap_browser=>HANDLE_HTML_LOAD...more details | ||
HANDLE_NAV_TAB | Insert and Delete Navigation Stack | Private |
CALL METHOD cl_abap_browser=>HANDLE_NAV_TAB...more details | ||
HANDLE_SAPEVENT | Event Handling for 'SAPEVENT's | Private |
CALL METHOD cl_abap_browser=>HANDLE_SAPEVENT...more details | ||
PREPARE_BROWSER | Prepares Browser | Private |
CALL METHOD cl_abap_browser=>PREPARE_BROWSER...more details | ||
REUSE_BROWSER | Uses Existing Browser | Private |
CALL METHOD cl_abap_browser=>REUSE_BROWSER...more details | ||
SET_BUTTONS | Activates/Deactivates the Pushbuttons | Private |
CALL METHOD cl_abap_browser=>SET_BUTTONS...more details | ||
SET_TITLE_AND_SIZE | Sets the Window Title, Size and Position | Private |
CALL METHOD cl_abap_browser=>SET_TITLE_AND_SIZE...more details | ||
SHOW_HTML | Displays a HTML File | Public |
CALL METHOD cl_abap_browser=>SHOW_HTML...more details | ||
SHOW_HTML_VIA_HANDLE | Displays the HTML File | Private |
CALL METHOD cl_abap_browser=>SHOW_HTML_VIA_HANDLE...more details | ||
SHOW_URL | Displays the content of an existing URL | Public |
CALL METHOD cl_abap_browser=>SHOW_URL...more details | ||
SHOW_URL_VIA_HANDLE | Dispalys the URL | Private |
CALL METHOD cl_abap_browser=>SHOW_URL_VIA_HANDLE...more details | ||
SHOW_XML | Displays a XML File | Public |
CALL METHOD cl_abap_browser=>SHOW_XML...more details | ||
SHOW_XML_VIA_HANDLE | Displays the XML File | Private |
CALL METHOD cl_abap_browser=>SHOW_XML_VIA_HANDLE...more details |
CL_ABAP_BROWSER attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
Name | Level | Description | Initial Value | Type | Visability |
ANCHOR | Instance Attribute | Goto Point | LIKE STRING | Private | |
BROWSER | Instance Attribute | Browser | LIKE CL_GUI_HTML_VIEWER | Private | |
BROWSER_BAR | Instance Attribute | Tool Area | LIKE CL_GUI_TOOLBAR | Private | |
BROWSER_BOX | Instance Attribute | Dialog Box | LIKE CL_GUI_DIALOGBOX_CONTAINER | Private | |
BROWSER_CONTAINER | Instance Attribute | Browser Area | LIKE CL_GUI_CONTAINER | Private | |
BROWSER_FORMAT | Static Attribute | Format | LIKE STRING | Private | |
BROWSER_POSITION | Static Attribute | Position | LIKE STRING | Private | |
BROWSER_SIZE | Static Attribute | Size | LIKE STRING | Private | |
BROWSER_SPLITTER | Instance Attribute | Splitter Container | LIKE CL_GUI_SPLITTER_CONTAINER | Private | |
BROWSER_TITLE | Static Attribute | Window Title | LIKE CHAR255 | Private | |
BROWSER_TOOL | Instance Attribute | Toolbar | LIKE CL_GUI_CONTAINER | Private | |
BUTTONS | Instance Attribute | Navigation Buttons | LIKE NAVIGATE_HTML | Private | |
CHECKER | Instance Attribute | HTML repair and conversion tool | LIKE CL_HTMLTIDY | Private | |
CONTEXT_MENU | Instance Attribute | Browser Context Menu | LIKE ABAP_BOOL | Private | |
DATA_TABLE | Instance Attribute | External data | LIKE LOAD_TAB | Private | |
DIALOG | Instance Attribute | LIKE | Private | ||
EXT_CONTAINER | Instance Attribute | LIKE | Private | ||
EXT_URL | Instance Attribute | URL | LIKE STRING | Private | |
HANDLE | Static Attribute | Self Reference | LIKE CL_ABAP_BROWSER | Private | |
HTML | Instance Attribute | Table for HTML | LIKE CL_ABAP_BROWSER=>HTML_TABLE | Private | |
HTML_CHECK | Instance Attribute | LIKE | Private | ||
HTML_ERRORS | Instance Attribute | LIKE | Private | ||
LANDSCAPE | Constant | Landscape Format | 'L' | LIKE STRING | Public |
LARGE | Constant | Large Size | 'L' | LIKE STRING | Public |
MEDIUM | Constant | Middle Size | 'M' | LIKE STRING | Public |
MIDDLE | Constant | Center | 'M' | LIKE STRING | Public |
MODAL | Instance Attribute | Modal Dialog Box | LIKE ABAP_BOOL | Private | |
NAVIGATE_HTML | Instance Attribute | LIKE | Private | ||
NAVIGATE_HTML_AFTER_SAP_EVENT | Instance Attribute | LIKE | Private | ||
NAVIGATE_OFF | Instance Attribute | LIKE | Private | ||
NAV_INDEX | Instance Attribute | Navigation Index | LIKE I | Private | |
NAV_TAB | Static Attribute | Navigation table | LIKE | Private | |
PORTRAIT | Constant | Portrait Format | 'P' | LIKE STRING | Public |
PRINTING | Instance Attribute | LIKE | Private | ||
SAP_EVENT_FLAG | Instance Attribute | LIKE | Private | ||
SMALL | Constant | Small Size | 'S' | LIKE STRING | Public |
TOPLEFT | Constant | Top Left | 'TL' | LIKE STRING | Public |
URLS | Instance Attribute | LIKE | Private | ||
XHTML | Instance Attribute | LIKE | Private | ||
XHTML_SIZE | Instance Attribute | LIKE | Private | ||
XLARGE | Constant | Size Extra Large | 'XL' | LIKE STRING | Public |
XML_CHECK | Instance Attribute | LIKE | Private | ||
XML_TAB | Instance Attribute | Table for XML | LIKE XMLTAB | Private |
Events of Class CL_ABAP_BROWSER
Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... CLOSED - Browser was closedSAPEVENT - 'SAPEVENT' Hyperlink
CL_ABAP_BROWSER types
HTML_LINE - HTML Line (255 Characters)HTML_TABLE - HTML Table (Row Width 255 Characters)
LOAD_TAB - Table for External Data
LOAD_TAB_LINE - Row for External Data
TITLE - Window Title
URL_LINE -
URL_TAB -
X255 -
XHTML_LINE -
XMLTAB -
Links to Related Class(s)
CL_ABAP_...Full list of available SAP object classes
Search for further information about these or an SAP related objects