07-15-2008 3:49 PM
Hello ABAP XML experts,
I do not have an XI infrastructure, but need to perform a changes-only functionality in interfacing.
To achieve this I have a program which creates an XML string from an ABAP dictionary structure. I create this XML using the CALL TRANSFORMATION id statement. Then I store this XML in a custom database table.
The next time I run the interface program I create a new XML string and I read the one from the database, which I stored in the previous run of the program.
So far so good. Now the question.
Is there a standard function module, class or transformation who I can give the new and old XML and then it would compare the content and tell me which values have changed?
Kind Regards
Koen Van Loocke
07-15-2008 3:53 PM
Try COMPARE method of class CL_SXIVERI_XML_COMPARATOR.
Regards,
Naimesh Patel
07-15-2008 3:53 PM
Try COMPARE method of class CL_SXIVERI_XML_COMPARATOR.
Regards,
Naimesh Patel
07-15-2008 4:20 PM
Hi Patel,
the method sound promising, however I have my xml in a data field of type string and the method needs type XSTRING.
do you happen to know how to convert from string to XSTRING?
thanks
Koen