Found 2 Articles for Java XML

Store data in format of XML string in SAP HANA system

Sharon Christine
Updated on 12-Mar-2020 12:45:14

377 Views

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

Transforming XML file into fixed length flat file in SAP

karthikeya Boyini
Updated on 12-Mar-2020 12:48:46

434 Views

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

1
Advertisements