Ansicht
Dokumentation

ABENABAP_ASJSON_ANONYM_DO - ABAP ASJSON ANONYM DO

ABENABAP_ASJSON_ANONYM_DO - ABAP ASJSON ANONYM DO

CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

- Anonymous Data Objects

An anonymous data object, that is, a data object created using CREATE DATA or the instance operator NEW, is represented as an object component of %heap in the form:

"key":{ "%type":"...",
        "%maxLength":...,
        "%totalDigits":...,
        "%fractionDigits":...,
        "%val":...
      }

The name key is the key used to reference the anonymous data object. The value of key is itself an object whose object components represent the type and the value of the anonymous data object.

The value of the anonymous data object is specified as content of the component %val in its canonical representation. If the anonymous data object itself is a non-initial reference variable, it references another component of %heap.

The remaining components specify the data type of the anonymous data object.

  • The same rules apply to the content of %type as to the element name type in asXML.
  • The components %maxLength, %totalDigits, and %fractionDigits specify the technical attributes of the type, if required. The same rules apply to their content as to the corresponding attributes in asXML.

asJSON for Anonymous Data Objects.






CPI1466 during Backup   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2498 Date: 20240425 Time: 230941     sap01-206 ( 37 ms )