06-03-2008 11:02 PM
Hi,
How do I add 2 Decimal places to a Type 'P' value?
I cannot do this in the data declaration step, because of the following:
1. Once the number is determined, there will be another field that will define the number of decimal places.
2. For example, say the value is '1200'. In the other field, it shows us the value '2', which means 2 decimal places. '1200' will have to become '1200.00'.
Please help.
Thanks.
06-04-2008 3:32 AM
06-04-2008 4:33 AM
hi ,
while declaring packed data type declare its decimal places.
e.g. DATA: P1 type p decimal 2.
06-04-2008 5:27 AM
U can use the command 'CREATE DATA' which is used for dynamic declaration of data.
Get back if u have anymore queries.
Good luck.