Get Example source ABAP code based on a different SAP table
ABAP_SXML - Token-Based Parsing Simple token-based reading of XML data.
ABAP_SOURCE_CODE DEMO CL_DEMO_SXML_TOKEN_READER
ABAP_DESCRIPTION This example demonstrates how the two methods NEXT_NODE and NEXT_ATTRIBUTE of a string reader can be used to read all existing information in XML data in a nested loop. The outer loop iterates across all nodes of the XML data and the inner loop iterates across any existing list of XML attributes of an element. The relevant information is taken from the attributes of the reader, appended to an internal table, and output as a result.
Latest notes: The class CL_DEMO_SXML_PARSE_XML implements the token-based parsing shown here for any XML data that can be entered. NON_V5_HINTS ABAP_HINT_END