ARTIClE
Lossless Assignment
This example demonstrates how the operator
EXACT is used to make
lossless assignments.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
Without the operator EXACT , text is assigned to
num_text without the validity of the assigned value being checked
against the associated conversion rules
. This produces a value that is not very intuitive, "00000043".
Using the operator EXACT , the value that is passed is checked and
an exception is raised in the case in question.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved