Skip to content

ABAP Keyword Documentation →  ABAP - Quick Reference 

CALL TRANSFORMATION - Quick reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


CALL TRANSFORMATION {trans|(name)} 
                    [PARAMETERS {p1 = e1 p2 = e2 ...}|(ptab)]
                    [OBJECTS    {o1 = e1 o2 = e2 ...}|(otab)]
                    [OPTIONS    {a1 = e1 a2 = e2 ...}]
                    SOURCE {XML src_xml}
                         | {{bn1 = e1 bn2 = e2 ...}|(stab)}

                    RESULT {XML rslt_xml}
                         | { {bn1 = f1 bn2 = f2 ...}|(rtab)
                             [AREA HANDLE handle] }.

Effect

Calls an XSL transformation or simple transformation specified statically in trans or specified dynamically in name. The call of the predefined transformation identity transformation ID serializes ABAP data into the asXML format.

Additions

  • PARAMETERS {p1 = e1 p2 = e2 ...}|ptab
    Passes parameters specified individually as p1 = e1 p2 = e2 ... or specified in an internal table ptab to the transformation.
  • OBJECTS {o1 = e1 o2 = e2 ...}|otab
    Obsolete: Passes object references specified individually as o1 = e1 o2 = e2 ... or specified in an internal table otab to the transformation.
  • OPTIONS {a1 = e1 a2 = e2 ...}
    Passes control parameters to the transformation.
  • SOURCE {XML src_xml}|{{bn1 = e1 bn2 = e2 ...}|(stab)}
    Specifies the source to be transformed. This can be XML data in src_xml or data objects specified individually as bn1 = e1 bn2 = e2 ... or specified in an internal table stab.
  • RESULT {XML rslt_xml}|{{bn1 = f1 bn2 = f2 ...}|(rtab)}
    Specifies the repository of the transformation result. This can be XML data in rslt_xml or data objects specified individually as bn1 = f1 bn2 = f2 ... in an internal table rtab.
  • AREA HANDLE handle
    Instantiates anonymous data objects and instances of classes that are deserialized from XML data with an XSL transformation directly as shared objects in the shared memory of the AS Instance.