12-03-2015 12:59 PM
Hello experts,
is there some way to validate xml file which i get from application server (presentation)? I have found only possibility by means of DTD in XML file. But my received file is without DTD and for external DTD file on this forum is not answer which says that it is possible.
Thanks for your answer.
Jorgen
12-03-2015 1:07 PM
what kind of validity you're looking for?
shall it be a well structured XML?
shall it be of a specific structure?
or shall it be of a specific XML type?
12-03-2015 1:57 PM
i need valid XML file - well formed which also conforms specific strucure (rules of DTD)
12-03-2015 2:11 PM
you maybe want to create an XML scheme for this purpose and then take a look at the report
RPCXMLK0_VALIDATE
hope this helps
sadly I have not used the report as we use .csv data for transfer
12-04-2015 1:23 PM
I give it a try with simple XML and its XSD file - result was OK but class method validate_xml_file which validates XML file is not allowed run in background mode - i need this possibility.
05-05-2016 5:57 PM
You can use ABAP report RPCXMLK0_VALIDATE to validate the XML against XSD