Ansicht
Dokumentation
ABENABAP_JSON_ASJSON_XSD_ABEXA - ABAP JSON ASJSON XSD ABEXA
General Material Data Vendor Master (General Section)This documentation is copyright by SAP AG.
- asJSON for Additional XML Schema Data Types
This example demonstrates asJSON for additional XML Schema Data Types.
Source Code
Description
A call of the identity transformation ID, for which a JSON writer is specified as an XML target, creates the asJSON representation of a structure. The structure components are typed with regular ABAP types and typed with special domains for XML schema data types. The time stamp type utclong is formatted by default using yyyy-mm-ddThh:mm:ss.fffffffZ. Time stamps in packed numbers, on the other hand, require special domains.
For comparison, the JSON-XML representation of the JSON data and the asXML representation of the ABAP data is also shown.
Vendor Master (General Section) CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 1603 Date: 20240419 Time: 030640 sap01-206 ( 24 ms )