SAP ST NOERROR OPTION ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_ST - Option for Invalid Values
This example demonstrates how ABAP types are mapped using invalid values.

ABAP_SOURCE_CODE
DEMO CL_DEMO_ST_NOERROR_OPTION

ABAP_DESCRIPTION
This example passes various types of ABAP data to the transformation DEMO_ST_NOERROR_OPTION and provides the result for XML. The transformation applies the option noError to the ABAP data:
TRNS DEMO_ST_NOERROR_OPTION
The transformation creates JSON-XML to represent both XML and JSON. The example passes an invalid value to the transformation for each of the types used. If the option noError were not specified, each of the invalid types would raise an exception.