Copyright 2024 - BV TallVision IT

XML documents have proven to be invaluable in the world of data documents, though it is not used within SAP itself. In interfacing solutions, the XML format is a more and more commonly used/requested format. If you want to create an XML file, you should learn about CALL TRANSFORMATION, this is an invaluable bit of tooling that is not actually part of the Easy XML suite, though make sure you check the article below. Transformations can also be used to interpret XML files, though I found it has limitations for XML files that have a bit of "depth" (thus nearly all XML files). The Easy XML local class that is made available here is aimed at reading/interpreting the content of an XML file. Thus: create with CALL TRANSFORMATION, retrieve with LCL_EASY_XML

The EASY XML wrapper class can be made available in your coding as lcl_Easy_ALV and there is a series of articles that demonstrate how the class can be used to implement a series of options / tackle real-life issues.

With a little help of the Easy ALV wrapper class, coding looks cleaner and complexity of ALV development is reduced quite a bit. The local lcl_Easy_ALV class can of course be upgraded to an actual ZCL_EASY_ALV class, to give it even more bandwidth on your system. However I've chosen the INCLUDE option because I implement the setup over and over again with different customers. Creating an include is much more straightforward than creating a class (and yes: I know there is a great upload/download tool available for classes using XML).

Download your copy here. The coding for your own lcl_EASY_XML class can be downloaded and made available as an include. This way with a single download it is available for the whole system (as is a global class). You can of course also copy the class definition and implementation into your own report and use it from there.

.

The suggested name of the include is ZABAPCADABRA_EASY_XML, which is applied to the examples on the article series on Easy XML.