ABAP - Keyword Documentation →  ABAP - Reference →  Data Interfaces and Communication Interfaces →  ABAP and XML →  Transformations for XML →  XSL Transformations → 

Identity Transformation

ID is the identify transformation provided by SAP. Depending on the source and target, this may be handled in a special way by the runtime environment:

In each transformation from XML, the identity transformation validates the outbound data. If an XML element has multiple attributes with the same name, all of these attributes are ignored except one, which is given the value of the last identically named attribute (see example program DEMO_XML_ATTRIBUTES). The identity transformation implicitly uses canonical XML formats (for all transformations apart from XML to XML) to display non-XML data (ABAP, JSON) in XML format. This is the reason why the identity transformation is used internally and can also be called explicitly, if the formats it creates are sufficient or need to be analyzed.

Notes

Executable Example

Identity Transformation to the asXML Format



Continue
Example Identity Transformation to the asXML Format