SAP CASTING - Obsolete DEC ABEXA



Get Example source ABAP code based on a different SAP table
  


VX_EXA_ONLY

Field Symbols, Casting Decimal Places
This example demonstrates how a casting of decimal places is performed.

ABAP_SOURCE_CODE
DEMO CL_DEMO_FLD_SMBLS_ASSIGN_DECI

ABAP_DESCRIPTION
The three fields of type p all have two decimal places. The field symbols < f1> and < f2> are given one or four decimal places. The numeric values are different for the field symbols and the assigned fields.
The section of the method that has been commented out also shows the syntax for the respective obsolete casting.