‎2008 Jun 11 8:09 AM
if the data is coming with 23.7 characters
what is syntax for packed decimels???
‎2008 Jun 11 8:10 AM
data : l_qty type p decimals 3.
l_qty = 2000.234.Best regards,
Prashant
‎2008 Jun 11 9:18 AM
data: t1 type p decimels 2
syntax error
it is showing ''''' ,expected after p'''''' ..
‎2008 Jun 11 8:15 AM
hi,
data : qty type p decimals 1.
qut = 27.3.
reward pts if helpfull.
regards,
dhan
‎2008 Jun 11 8:19 AM
Hi,
You can use :
data : amount type p decimals 1.
Thanks,
Sriram Ponna.
‎2008 Jun 11 8:20 AM
‎2008 Jun 11 8:27 AM
Hi,
Use the following syntax.
Data: v_pdec type p decimals n.
Here n is the numeric value, so that u can use 1,2,3....
If you use 1, then it will take the one decimal place, if you use 2 then it will take two decimal places... etc.
Reward the points if it is helpful.
‎2008 Jun 11 8:36 AM
Hi,
Check the Below..
DATA: VALUE TYPE P DECIMALS 1.
VALUE = '12345678901234.4'.
WRITE: 'VALUE : ', VALUE.
Type P
Length 8
Output length 17
Decimal places 1
Regards,
Viji.
‎2008 Jun 11 9:05 AM
if the value is coming from the flat file is '1234567891234567891234.5636623'
like that
what to do at that time
tell me the syntax????