SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Data Interfaces and Communication Interfaces → ABAP and XML → Transformations for XML → Simple Transformations → ST - Serialization and Deserialization → ST - Transformation of ABAP Values → ST - tt:value, Elementary Data Objects → ST - option, Mapping Rules →ST - option, Mapping Rules for XML Fragments
Syntax
... option="preserveWS,stripWS,preserveCharRef,noRootAttr"
Effect
If one or more of the values preserveWS, stripWS, preserveCharRef, or noRootAttr are specified for option, the mapping rule for XML fragments is changed. These values are only respected by data objects that are declared with a reference to the domain XSDANY.
noRootAttr
The value noRootAttr is used to change the mapping rule for XML fragments so that no attribute asx:root containing the name of the root element of the XML fragment is added to the XML element. In deserializations, the root element is given the name of the XML element.
Example
See ST, Mapping of XML Fragments.