Ansicht
Dokumentation

ABENASXML_REFERENCE_VARIABLE - ASXML REFERENCE VARIABLE

ABENASXML_REFERENCE_VARIABLE - ASXML REFERENCE VARIABLE

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

- Named Reference Variables

A named reference variable is represented as the only attribute of the associated subelement of values, where the subelement has no further content.

bni href="#key"/>

An attribute for a reference variable has the name href and the content "#key", where key is the unique key of an object in the element heap. An element of an initial reference does not have an attribute href nor any other content. The key key is set by the ABAP runtime framework in serializations and in deserializations, any key can be used.

The following special cases when serializing named reference variables should be noted:

  • Data reference variables that point to data objects whose data type only has one technical name raise the exception CX_REFERENCE_NOT_SERIALIZABLE (handled using CX_XSLT_SERIALIZATION_ERROR). This can be avoided by specifying transformation option technical_types.
  • Data reference variables that point to data objects that were not created using CREATE DATA (stack references) are handled like initial reference variables in serializations. This can be overridden by specifying the transformation option data_refs.

In deserializations to a reference variable, the reference variable must be the same as or more general than the dynamic type of the object that is stored in the XML document. The associated ABAP data objects or instances of a class are created in deserializations.

Note

Data types without names or with purely technical names are bound data types or data types constructed using RTTS.

Serializing Data References






RFUMSV00 - Advance Return for Tax on Sales/Purchases   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2659 Date: 20240511 Time: 050214     sap01-206 ( 58 ms )