在舊版 SAP HANA 中,沒有提供 XML 函式。HANA 2.0 提供了這兩個函式 - XMLEXTRACT 和 XMLEXTRACTVALUE,用於在 SAP HANA 中提取 XML 字串。XMLEXTRACT 的使用用法 -XMLEXTRACT(, [, ])語法用於 -指定型別為 CLOB、NCLOB、VARCHAR 或 NVARCHAR 的 XML 文件。指定型別為 VARCHAR 或 NVARCHAR 的 XPath 表示式。指定型別為 VARCHAR 或 NVARCHAR 的名稱空間宣告。說明返回匹配的 XML 元素。返回型別是 VARCHAR/NVARCHAR 或 CLOB/NCLOB,具體取決於給定的型別。如果 XML 元素為空(例如,),則返回空結果。如果 XML 元素 ... 閱讀更多
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