ARTIClE
Conversion Costs
This example demonstrates costs for type conversions in assignments and
operand positions.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
The program calculates the relationship between the costs of a
conversion from type n to i and the costs of a direct
memory copy from type i to i . The conversion is much
slower than the unconverted copy, which can be seen directly in the
assignment. The difference is not so clear in an operand position (here
when specifying the index of a READ statement). This is because
the conversion costs are not as high as for a table access.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved