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 NameDescriptionVisability
BUILD_HTMLMakes HTML Table from StringPrivate
CALL METHOD cl_abap_browser=>BUILD_HTML...more details

BUILD_XHTMLAssembles an xHTML Table from an xStringPrivate
CALL METHOD cl_abap_browser=>BUILD_XHTML...more details

CHECK_HTMLChecks the HTML file for formal correctnessPrivate
CALL METHOD cl_abap_browser=>CHECK_HTML...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD cl_abap_browser=>CLASS_CONSTRUCTOR...more details

CLEAR_BROWSERCloses Dialog Box (Only for Internal Use)Public
CALL METHOD cl_abap_browser=>CLEAR_BROWSER...more details

CLOSE_BROWSERClose BrowserPublic
CALL METHOD cl_abap_browser=>CLOSE_BROWSER...more details

CREATE_BROWSERCreates the Browser (Only for Internal Use)Public
CALL METHOD cl_abap_browser=>CREATE_BROWSER...more details

CREATE_CHECKERFactory Method for Check ObjectPrivate
CALL METHOD cl_abap_browser=>CREATE_CHECKER...more details

FILL_BROWSERSupplies the Browser with the HTML FilePrivate
CALL METHOD cl_abap_browser=>FILL_BROWSER...more details

FILL_BROWSER_WITH_URLSupplies the Browser with the URLPrivate
CALL METHOD cl_abap_browser=>FILL_BROWSER_WITH_URL...more details

FILL_BROWSER_WITH_XMLSupplies the Browser with the XML FilePrivate
CALL METHOD cl_abap_browser=>FILL_BROWSER_WITH_XML...more details

HANDLE_BROWSER_BARNavigation ProcessPrivate
CALL METHOD cl_abap_browser=>HANDLE_BROWSER_BAR...more details

HANDLE_BROWSER_CLOSECloses Dialog BoxPrivate
CALL METHOD cl_abap_browser=>HANDLE_BROWSER_CLOSE...more details

HANDLE_EXTERNAL_DATALoads External Data (Screens etc.)Private
CALL METHOD cl_abap_browser=>HANDLE_EXTERNAL_DATA...more details

HANDLE_HTML_LOADFills the Navigation TablePrivate
CALL METHOD cl_abap_browser=>HANDLE_HTML_LOAD...more details

HANDLE_NAV_TABInsert and Delete Navigation StackPrivate
CALL METHOD cl_abap_browser=>HANDLE_NAV_TAB...more details

HANDLE_SAPEVENTEvent Handling for 'SAPEVENT'sPrivate
CALL METHOD cl_abap_browser=>HANDLE_SAPEVENT...more details

PREPARE_BROWSERPrepares BrowserPrivate
CALL METHOD cl_abap_browser=>PREPARE_BROWSER...more details

REUSE_BROWSERUses Existing BrowserPrivate
CALL METHOD cl_abap_browser=>REUSE_BROWSER...more details

SET_BUTTONSActivates/Deactivates the PushbuttonsPrivate
CALL METHOD cl_abap_browser=>SET_BUTTONS...more details

SET_TITLE_AND_SIZESets the Window Title, Size and PositionPrivate
CALL METHOD cl_abap_browser=>SET_TITLE_AND_SIZE...more details

SHOW_HTMLDisplays a HTML FilePublic
CALL METHOD cl_abap_browser=>SHOW_HTML...more details

SHOW_HTML_VIA_HANDLEDisplays the HTML FilePrivate
CALL METHOD cl_abap_browser=>SHOW_HTML_VIA_HANDLE...more details

SHOW_URLDisplays the content of an existing URLPublic
CALL METHOD cl_abap_browser=>SHOW_URL...more details

SHOW_URL_VIA_HANDLEDispalys the URLPrivate
CALL METHOD cl_abap_browser=>SHOW_URL_VIA_HANDLE...more details

SHOW_XMLDisplays a XML FilePublic
CALL METHOD cl_abap_browser=>SHOW_XML...more details

SHOW_XML_VIA_HANDLEDisplays the XML FilePrivate
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.

NameLevelDescriptionInitial ValueTypeVisability
ANCHORInstance AttributeGoto PointLIKE
STRING
Private
BROWSERInstance AttributeBrowserLIKE
CL_GUI_HTML_VIEWER
Private
BROWSER_BARInstance AttributeTool AreaLIKE
CL_GUI_TOOLBAR
Private
BROWSER_BOXInstance AttributeDialog BoxLIKE
CL_GUI_DIALOGBOX_CONTAINER
Private
BROWSER_CONTAINERInstance AttributeBrowser AreaLIKE
CL_GUI_CONTAINER
Private
BROWSER_FORMATStatic AttributeFormatLIKE
STRING
Private
BROWSER_POSITIONStatic AttributePositionLIKE
STRING
Private
BROWSER_SIZEStatic AttributeSizeLIKE
STRING
Private
BROWSER_SPLITTERInstance AttributeSplitter ContainerLIKE
CL_GUI_SPLITTER_CONTAINER
Private
BROWSER_TITLEStatic AttributeWindow TitleLIKE
CHAR255
Private
BROWSER_TOOLInstance AttributeToolbarLIKE
CL_GUI_CONTAINER
Private
BUTTONSInstance AttributeNavigation ButtonsLIKE
NAVIGATE_HTML
Private
CHECKERInstance AttributeHTML repair and conversion toolLIKE
CL_HTMLTIDY
Private
CONTEXT_MENUInstance AttributeBrowser Context MenuLIKE
ABAP_BOOL
Private
DATA_TABLEInstance AttributeExternal dataLIKE
LOAD_TAB
Private
DIALOGInstance AttributeLIKE
Private
EXT_CONTAINERInstance AttributeLIKE
Private
EXT_URLInstance AttributeURLLIKE
STRING
Private
HANDLEStatic AttributeSelf ReferenceLIKE
CL_ABAP_BROWSER
Private
HTMLInstance AttributeTable for HTMLLIKE
CL_ABAP_BROWSER=>HTML_TABLE
Private
HTML_CHECKInstance AttributeLIKE
Private
HTML_ERRORSInstance AttributeLIKE
Private
LANDSCAPEConstantLandscape Format'L'LIKE
STRING
Public
LARGEConstantLarge Size'L'LIKE
STRING
Public
MEDIUMConstantMiddle Size'M'LIKE
STRING
Public
MIDDLEConstantCenter'M'LIKE
STRING
Public
MODALInstance AttributeModal Dialog BoxLIKE
ABAP_BOOL
Private
NAVIGATE_HTMLInstance AttributeLIKE
Private
NAVIGATE_HTML_AFTER_SAP_EVENTInstance AttributeLIKE
Private
NAVIGATE_OFFInstance AttributeLIKE
Private
NAV_INDEXInstance AttributeNavigation IndexLIKE
I
Private
NAV_TABStatic AttributeNavigation tableLIKE
Private
PORTRAITConstantPortrait Format'P'LIKE
STRING
Public
PRINTINGInstance AttributeLIKE
Private
SAP_EVENT_FLAGInstance AttributeLIKE
Private
SMALLConstantSmall Size'S'LIKE
STRING
Public
TOPLEFTConstantTop Left'TL'LIKE
STRING
Public
URLSInstance AttributeLIKE
Private
XHTMLInstance AttributeLIKE
Private
XHTML_SIZEInstance AttributeLIKE
Private
XLARGEConstantSize Extra Large'XL'LIKE
STRING
Public
XML_CHECKInstance AttributeLIKE
Private
XML_TABInstance AttributeTable for XMLLIKE
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 closed
SAPEVENT - '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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!