Get Example source ABAP code based on a different SAP table
XML Binding in ABAP Release 7.0, EhP2 In ABAP_RELEASE 7.0, EhP2 the interface between ABAP and XML has been enhanced as follows: ITOC
ABAP_MODIFICATION_NN Access to ABAP Objects from Simple Transformations>
The following new ST statements can be used to call methods of global classes and create objects of these classes in ST programs:
tt:call-method> calls static methods or instance methods.
tt:create-object> creates an instance of a global class. For addressing objects, a new addition tt:ref-type> of the statements tt:parameter> and tt:variable> has been introduced that makes it possible to create parameters and variables from ST programs explicitly as reference variables. Another new statement tt:cast> also enables a downcast> of reference variables in ST programs. See the ST Statement Overview>.
ABAP_MODIFICATION_NN Mapping of XML Schema Data Types>
Previously, asXML> allowed only mappings of the elementary built-in ABAP types> to XML schema data types and back. But this did not cover all XML schema data types. Special DDIC domains> named XSD... > have been introduced that allow mapping of further XML schema data types >.
Latest notes:
This change was introduced in ABAP_RELEASE 7.0, SP14.
The domain XSDQNAME> is available from ABAP_RELEASE 7.0, EhP1. ABAP_HINT_END
ABAP_MODIFICATION_NN Lengths Specified in Simple Transformations >
In the ST statements tt:value>, tt:write> and tt:read> can be used to make length specifications in order to provide a minimum length for serialization of character and type strings and a maximum length for deserialization.
ABAP_MODIFICATION_NN Validation of Values in Simple Transformations>
An XML schema type and further restrictions can now be specified in the ST statements tt:value>, tt:write>, and tt:read>, to validate a value with respect to a value range.
ABAP_MODIFICATION_NN New Values for Transformation Optionvalue_handling>>
The new values accept_decimal_loss> and reject_illegal_characters> can be selected for the transformation option value_handling>> of the statement CALL TRANSFORMATION>>.
ABAP_MODIFICATION_NN New Values for Transformation Optiondata_refs>>
The new values heap-or-error> and heap-or-create> can be selected for the transformation option data_refs>> of the statement CALL TRANSFORMATION>>, to control the handling of stack references>.
Latest notes: This change was transported back as far as ABAP_RELEASE 6.20 (in ABAP_RELEASE 7.0, from SP6). ABAP_HINT_END
ABAP_MODIFICATION_NN New Value for Transformation Optioninitial_components>>
The new value suppress_boxed> can be selected for the transformation option initial_components>> of the statement CALL TRANSFORMATION>>, to control the handling of boxed components>. The new value is also the new default setting.
ABAP_MODIFICATION_NN New Transformation Optiontechnical_types>>
error> or ignore> can be selected for the new transformation option technical_types>> of the statement CALL TRANSFORMATION>>, to control the handling of data reference variables with unknown dynamic types.
Latest notes: This change was transported back as far as ABAP_RELEASE 6.20 (in ABAP_RELEASE 7.0, from SP6). ABAP_HINT_END
ABAP_MODIFICATION_NN New Transformation Option clear>>
all>, supplied>, or none> can be selected for the new transformation option clear>> of the statement CALL TRANSFORMATION>>, to control the initialization of the ABAP target fields in deserializations.