Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Compare two tables that are in XML format (xml diff)

Former Member
0 Likes
937

I have two tables in XML-format and need to list differences in

1. Structure and/or

2. Content

SAP offers CL_SXIVERI_XML_COMPARATOR, but this is too simplistic for the requirement.

Any ideas or suggestions will be appreciated. Thank you!

2 REPLIES 2
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
584

Hi Adrian,

You can convert the data from the XML file to an internal table. Once the data is in the internal table you can easily paly with it

Refer to this Wiki for details: [https://wiki.sdn.sap.com/wiki/display/ABAP/UploadXMLfiletointernal+table].

You can also check Simple Transformations as well.

Cheers,

Suhas

Read only

Former Member
0 Likes
584

That's a very simple approach, but should be very effective. Thanks for your idea! Best regards, Adrian