SAP ABAP JSON ASJSON TABLE ABEXA

Get Example source ABAP code based on a different SAP table
  


ARTICLE

JSON, asJSON for Internal Tables
This example demonstrates asJSON for internal tables.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The identity transformation ID (for which a JSON writer is specified as the XML target) is called to create and display the asJSON format of an internal table.
As a comparison, the JSON-XML representation of the JSON data and the asXML representation of the ABAP data is also shown.