Get Example source ABAP code based on a different SAP table
ARTICLE
asJSON - Mapping of ABAP Data Types Named data objects other than reference variables are represented in asJON as the content of the following object components: 'bn1':... 'bn1':... ... An additional object is implemented for the objects referenced by reference variables: '%heap':... Depending on the ABAP data type, serializations map the value of named data objects to a particular JSON representation; deserializations operate in the opposite direction:
Mapping of Elementary ABAP Types
Mapping of Structures
Mapping of Internal Tables
Mapping of Reference Variables and Referenced Objects