SAP CL_ABAP_TOOLS_XML_VIEWER OO Class - Map XML Document to Tree









CL_ABAP_TOOLS_XML_VIEWER 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_TOOLS_XML_VIEWER 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_TOOLS_XML_VIEWER 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_TREECreate XML treePrivate
CALL METHOD cl_abap_tools_xml_viewer=>BUILD_TREE...more details

CHECK_XMLCheck full XML (well-formed)Private
CALL METHOD cl_abap_tools_xml_viewer=>CHECK_XML...more details

CONSTRUCTORConstructorPublic
CALL METHOD cl_abap_tools_xml_viewer=>CONSTRUCTOR...more details

CREATE_ATTRIBUTEMap XML attributePrivate
CALL METHOD cl_abap_tools_xml_viewer=>CREATE_ATTRIBUTE...more details

CREATE_ELEMENTMap XML elementPrivate
CALL METHOD cl_abap_tools_xml_viewer=>CREATE_ELEMENT...more details

CREATE_ERROR_MESSAGECreate Error MessagePrivate
CALL METHOD cl_abap_tools_xml_viewer=>CREATE_ERROR_MESSAGE...more details

CREATE_ERROR_NODECreate error nodePrivate
CALL METHOD cl_abap_tools_xml_viewer=>CREATE_ERROR_NODE...more details

CREATE_NSDMap XML namespacePrivate
CALL METHOD cl_abap_tools_xml_viewer=>CREATE_NSD...more details

CREATE_STACKMap stack for current depth of XMLPrivate
CALL METHOD cl_abap_tools_xml_viewer=>CREATE_STACK...more details

CREATE_TEXTMap XML textPrivate
CALL METHOD cl_abap_tools_xml_viewer=>CREATE_TEXT...more details

DESTROYDestroy all objects in containerPublic
CALL METHOD cl_abap_tools_xml_viewer=>DESTROY...more details

DESTROY_SLAVEDestroy instance of subscreenPrivate
CALL METHOD cl_abap_tools_xml_viewer=>DESTROY_SLAVE...more details

DESTROY_SPLIT_SCREENDestroy subscreenPrivate
CALL METHOD cl_abap_tools_xml_viewer=>DESTROY_SPLIT_SCREEN...more details

GET_ID_BY_NAMEGet ID for a namePrivate
CALL METHOD cl_abap_tools_xml_viewer=>GET_ID_BY_NAME...more details

GET_MAX_NODESQuery maximum number of displayed nodesPublic
CALL METHOD cl_abap_tools_xml_viewer=>GET_MAX_NODES...more details

GET_NAME_BY_IDGet name of an IDPrivate
CALL METHOD cl_abap_tools_xml_viewer=>GET_NAME_BY_ID...more details

HANDLE_ITEM_CONTEXT_MENU_REQRequest handler for context menu event (wrapper)Public
CALL METHOD cl_abap_tools_xml_viewer=>HANDLE_ITEM_CONTEXT_MENU_REQ...more details

HANDLE_ITEM_CONTEXT_MENU_SELHandler for context menu event (wrapper)Public
CALL METHOD cl_abap_tools_xml_viewer=>HANDLE_ITEM_CONTEXT_MENU_SEL...more details

HANDLE_ITEM_DOUBLE_CLICKHandle for text double-click eventPublic
CALL METHOD cl_abap_tools_xml_viewer=>HANDLE_ITEM_DOUBLE_CLICK...more details

HANDLE_NODE_CONTEXT_MENU_REQRequest handler for context menu eventPublic
CALL METHOD cl_abap_tools_xml_viewer=>HANDLE_NODE_CONTEXT_MENU_REQ...more details

HANDLE_NODE_CONTEXT_MENU_SELHandler for context menu selection eventPublic
CALL METHOD cl_abap_tools_xml_viewer=>HANDLE_NODE_CONTEXT_MENU_SEL...more details

HANDLE_NODE_DOUBLE_CLICKHandler for node double-click eventPublic
CALL METHOD cl_abap_tools_xml_viewer=>HANDLE_NODE_DOUBLE_CLICK...more details

HANDLE_TOOLBAR_PUSH_BUTTONHandler for pushbutton eventPublic
CALL METHOD cl_abap_tools_xml_viewer=>HANDLE_TOOLBAR_PUSH_BUTTON...more details

LOAD_XMLConstructorPublic
CALL METHOD cl_abap_tools_xml_viewer=>LOAD_XML...more details

PROGRESS_INDICATORProcessing progress outputPublic
CALL METHOD cl_abap_tools_xml_viewer=>PROGRESS_INDICATOR...more details

SEARCH_NEXTContinue search in displayed treePrivate
CALL METHOD cl_abap_tools_xml_viewer=>SEARCH_NEXT...more details

SEARCH_STARTIntroduce search in displayed treePrivate
CALL METHOD cl_abap_tools_xml_viewer=>SEARCH_START...more details

SET_MAX_NODESSet maximum number of displayed nodesPublic
CALL METHOD cl_abap_tools_xml_viewer=>SET_MAX_NODES...more details



CL_ABAP_TOOLS_XML_VIEWER 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
C_MODE_CONTINUEConstantSwitch: Mode 'continue'1LIKE
I
Private
C_MODE_REFRESHConstantSwitch: Mode 'refresh'2LIKE
I
Private
GO_COLUMN_TREEInstance AttributeColumn Tree ControlLIKE
CL_GUI_COLUMN_TREE
Private
GO_CONTAINERInstance AttributeContainer for customer controls in the dynpro areaLIKE
CL_GUI_CONTAINER
Private
GO_GRID_MSGInstance AttributeSAP List ViewerLIKE
CL_GUI_ALV_GRID
Private
GO_INNER_SPLITTERInstance AttributeSplitter ControlLIKE
CL_GUI_SPLITTER_CONTAINER
Private
GO_ITERATORInstance AttributeInstance of used iteratorLIKE
LIF_XML_SAX_ITERATOR
Private
GO_MASTERInstance AttributeMaster InstanceLIKE
CL_ABAP_TOOLS_XML_VIEWER
Private
GO_OUTER_SPLITTERInstance AttributeSplitter ControlLIKE
CL_GUI_SPLITTER_CONTAINER
Private
GO_SLAVEInstance AttributeSlave InstanceLIKE
CL_ABAP_TOOLS_XML_VIEWER
Private
GO_TOOLBARInstance AttributeTool Bar ControlLIKE
CL_GUI_TOOLBAR
Private
G_ALL_NODESInstance AttributeCurrent number of all nodes in treeLIKE
I
Private
G_FIRST_NODEInstance AttributeTree Control: Node KeyLIKE
TV_NODEKEY
Private
G_HITInstance AttributeSearch found an occurrenceABAP_FALSELIKE
ABAP_BOOL
Private
G_HIT_NODE_KEYInstance AttributeOffset of last occurrenceLIKE
TV_NODEKEY
Private
G_ID_CACHEInstance AttributeCache of all assigned IDs in treeLIKE
LTY_ID_CACHE
Private
G_ITEM_TABLEInstance AttributeTree Control: Item TableLIKE
LTY_ITEM_TABLE_TYPE
Private
G_LAST_HITInstance AttributeIndex of last search hitLIKE
I
Private
G_LAST_NODEInstance AttributeTree Control: Node KeyLIKE
TV_NODEKEY
Private
G_MAXNODESInstance AttributeMaximum number of nodes2000LIKE
I
Private
G_MSG_TABLEInstance AttributeTable for output of messagesLIKE
LTY_MSG
Private
G_NAME_CACHEInstance AttributeCache of all names in treeLIKE
LTY_NAME_CACHE
Private
G_NAME_HITSInstance AttributeTable of all hits in name searchLIKE
LTY_NAME_CACHE
Private
G_NEXT_NAME_IDInstance AttributeNext ID assigned for names1LIKE
I
Private
G_NODE_CACHEInstance AttributeCache of all nodes in treeLIKE
LTY_NODE_CACHE
Private
G_NODE_TABLEInstance AttributeTree Control: Node TableLIKE
TREEV_NTAB
Private
G_OFFSETInstance AttributeCurrent offset of XML readerLIKE
I
Private
G_PARENTInstance AttributeTree Control: Node KeyLIKE
TV_NODEKEY
Private
G_SEARCH_FIELDSInstance AttributeABAP XML Viewer fields for search dialogLIKE
ABAPTOOLSXMLVIEWER_SEARCH
Private
G_SHOW_QNAMESInstance AttributeSwitch: Display QNamesABAP_FALSELIKE
ABAP_BOOL
Private
G_SIZEInstance AttributeLength of XML documentLIKE
I
Private
G_STARTInstance AttributeFirst XML element in tree1LIKE
I
Private
G_TEXT_LENConstantMaximum output length in tree512LIKE
I
Private
G_XMLInstance AttributeXML DocumentLIKE
XSTRING
Private




CL_ABAP_TOOLS_XML_VIEWER types

LTY_ID_CACHE - ID cache
LTY_NAME_CACHE - Name cache
LTY_NAME_CACHE_LINE - Line in name cache and ID cache
LTY_NODE_CACHE - Node cache
LTY_NODE_CACHE_LINE - Entry in node cache
LTY_VALUES - Table of Strings

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!