Ansicht
Dokumentation

ABENABAP_JSON_TRAFOS - ABAP JSON TRAFOS

ABENABAP_JSON_TRAFOS - ABAP JSON TRAFOS

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

- Transformations

The transformations for XML that can be called from ABAP, namely XSL transformations and simple transformations, can also be used for JSON.

  • To call a transformation for JSON data as a source, the following XML sources can be specified in the statement CALL TRANSFORMATION:
  • A string or internal table with JSON data in character-like or byte-like representation.

A JSON reader returns data in the JSON XML format. The JSON data specified as a string or in an internal table is also handled like XML representing JSON data JSON-XML format.

Any XSLT programs and ST programs can be called that can handle JSON-XML:

  • If the source is JSON data, the transformation must process JSON-XML as its input.
  • If the target is JSON data, the transformation must create JSON-XML.

Self-written transformations must be programmed accordingly. The identity transformation ID is handled appropriately internally.






BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2801 Date: 20240424 Time: 110634     sap01-206 ( 32 ms )