SAP NEWS-740-XML



Get Example source ABAP code based on a different SAP table
  



XML Binding in ABAP Release 7.40, SP02
In ABAP_RELEASE 7.40, SP02, the interface between ABAP and XML has been enhanced as follows:
ITOC

ABAP_MODIFICATION_NN 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.

ABAP_MODIFICATION_NN 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.

ABAP_MODIFICATION_NN 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.