2007 Aug 30 12:57 PM
Hello Friend,
Can anyone give the suggession for below issue.
data M(7) type p decimals 2 value '0*12345.66'.
write M.
error occurs is unable to interpret as number.
whether packed will allow the symbols like astrick.
good suggession will be rewarded.
Hello Friend,
Can anyone give the suggession for below issue.
data M(7) type p decimals 2 value '0*12345.66'.
write M.
error occurs is unable to interpret as number.
whether packed will allow the symbols like astrick.
good suggession will be rewarded.
2007 Aug 30 12:59 PM
Hello Purna,
You can not assign value with special characters to packed numbers.
you have to use dot.
Reward If Helpful
Regards
--
Sasidhar Reddy Matli.
2007 Aug 30 1:01 PM
hi,
u cant use the special character '*' in packed numbers thts why u r getting error.
plz reward points if it helps rgds
2007 Aug 30 1:02 PM
Hi purna..
Type P is a Numeric field which can store Decimal values.
So it will not allow any other Characters.
<b>reward if Helpful</b>
2007 Aug 30 1:10 PM
Packed Number is a Built in ABAP type.
The valid length for packed numbers is between 1 and 16 bytes; two decimal places are packed into one byte, whereby the last byte only contains one place and the plus/minus sign;
After the decimal separator, up to 14 decimal places are permitted.
<b>
You cant use special characters such as '*' while storing a value in a variable of type P.</b>
Thanks,
Ankur
Reward if useful.
2007 Aug 30 1:11 PM
Hello purno,
U cannot store special character in type P.if u want to display it then declair it type STRING.
Reward me if helpful.please
2007 Aug 30 1:15 PM
hi,
packed, numeric wont allow special characters except . and _ symbols. u wanna display that then go for string or character data type and display.
if helpful reward some points.
with regards,
Suresh Aluri.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |