SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Release-Specific Changes → Changes in Release 7.40 →XML Interface in Release 7.40
In Release 7.40, the interface between ABAP and XML has been enhanced as follows:
1. New ST statement tt:read-write
New ST Statement tt:read-write
The new ST statement tt:read-write
is a short form for the statements tt:read and tt:write specified one after the other.
Mapping Rules for tt:value
In the ST statement tt:value,
the attribute option="...,..."
can be used to specify options for certain data types that override the default mapping of elementary data objects to the asXML format.
Support for JSON
The format IF_SXML=>CO_XT_JSON has been added to the formats supported by sXML Library. XML readers and XML writers created in this format can be used to process JSON data. A special JSON-XML is used as an intermediate format here.
The statement CALL TRANSFORMATION
can access these JSON readers and JSON writers and use them as XML sources or XML targets. Furthermore, JSON data can also be specified as an XML source in strings and internal tables.