sapdev logo background
sapdev logo sapdev logo
Comments

SAP ABAP XSLT ASXML REFERENCES documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

asXML - Mapping of Reference Variables and Objects
Anonymous data objects and instances of classes (objects) are addressed in ABAP using references in reference variables only. The associated asXML format consists of
  • subelements of values for named reference variables and

  • (by default) subelements of heap

  • for the referenced objects.
    The reference between the reference elements and the object elements is made using an XML reference mechanism, where a referenced object in the same XML data is identified by a key. The dynamic type of the reference variables for the object elements under heap is specified when serialization takes place, so that deserialization is unambiguous.
  • Named Reference Variables

  • Anonymous Data Objects

  • Class Instances


  • Note
  • The asXML representation of reference variables and referenced objects is only of relevance for XSL transformations and the identity transformation ID .

  • Simple transformation s cannot currently be used to transform reference variables.
  • For data references, the value "embedded" can be specified for the transformation option

  • data_refs to define an embedded repository in serializations instead of the repository in the element heap .

    Example
    See asXML , Mapping of Objects .
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    ABAP_XSLT_ASXML_NAMED
    ABAP_XSLT_ASXML_SCHEMA




    comments powered by Disqus