10-24-2007 2:07 PM
10-24-2007 2:34 PM
10-24-2007 3:08 PM
Hi,
The source field must contain the representation of a decimal number, that is, a
sequence of digits with an optional sign and no more than one decimal point. The
source field can contain blanks. If the target field is too short, an overflow may occur. This may cause the system to terminate the program.
Regards,
Bhaskar
10-24-2007 3:48 PM
10-24-2007 3:54 PM
Hi,
DATA: char TYPE char10 VALUE '25,786.50'.
DATA: pac(10) TYPE p DECIMALS 2.
REPLACE ALL OCCURRENCES OF ',' IN char WITH space.
CONDENSE char NO-GAPS.
PAC = CHAR.