Get Example source ABAP code based on a different SAP table
ARTICLE
JSON, asJSON for Additional XML Schema Data Types This example demonstrates asJSON for additional XML Schema Data Types.
ABAP_SOURCE_CODE ABAP_EXEC
ABAP_DESCRIPTION By calling the identity transformation ID, for which a JSON writer is specified as an XML target, you generate and display the asJSON format of a structure. The structure components are typed with normal ABAP types and also typed with special domains for XML schema data types. As a comparison, the JSON-XML representation of the JSON data and the asXML representation of the ABAP data is also shown.