Ansicht
Dokumentation

ABENABAP_ASJSON_ABAP_TYPES_STRUC - ABAP ASJSON ABAP TYPES STRUC

ABENABAP_ASJSON_ABAP_TYPES_STRUC - ABAP ASJSON ABAP TYPES STRUC

rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

- Mapping of Structures

In asJSON, an ABAP structure is represented as a JSON object whose object components represent the structure components. The content of each object component corresponds to the canonical representation of the component value. The name of each object component is the name of the corresponding structure component. In serializations, the object components are represented in the order of the components in the structure. In deserializations of the asJSON representation of a structure, the order of the object components is not important and superfluous object components are ignored. Components of the structure for which there are no object components remain unchanged.

Note

A structure that does not have an associated JSON object component in deserializations retains its previous value. A structure to which an empty object is assigned also remains unchanged, since this has the same effect on the structure components as a missing object component. To initialize the structure in these cases, the transformation option clear can be used with the value "all".

asJSON for Structures






Fill RESBD Structure from EBP Component Structure   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1503 Date: 20240420 Time: 083644     sap01-206 ( 37 ms )