In older SAP HANA versions, no XML functions were provided. With HANA 2.0, these two functions are provided- XMLEXTRACT and XMLEXTRACTVALUE for extracting XML string in SAP HANA.Use of XMLEXTRACTXMLEXTRACT(, [, ])Syntax to use −Specifies an XML document of type CLOB, NCLOB, VARCHAR, or NVARCHAR.Specifies an XPath expression of type VARCHAR or NVARCHAR.Specifies a namespace declaration of type VARCHAR or NVARCHAR.DescriptionReturns the matching XML element. The return value is of type VARCHAR/NVARCHAR or CLOB/NCLOB depending on the type given for .If an XML element is empty (for example, ), then an empty result is returned. If an XML element ... Read More
This is an EDIfact invoice. Try using the script, and it can help −
ERROR: The maximum length of "TABNAM" is 10 characters.
ERROR: The maximum length of "MANDT" is 3 characters.
ERROR: The maximum length of "ACTION" is 3 characters.
ERROR: The maximum length of "KZABS" is 1 character.
There are various sites which provide a built-in script to convert your EDIfact to XSLT. Check this site and it may also help −https://www.codeproject.com/Articles/11278/EDIFACT-to-XML-to-Anything-You-Want