2009 Jan 12 7:11 AM
Hi ,
I have the value 11.11 stored in variable v_dec of type p decimals 2.Now i want to move the data from v_dec to v_text of type CHAR12.While doing so i get * in the front
I tried Unpack and write statements but was not helpful.
Hi ,
I have the value 11.11 stored in variable v_dec of type p decimals 2.Now i want to move the data from v_dec to v_text of type CHAR12.While doing so i get * in the front
I tried Unpack and write statements but was not helpful.
2009 Jan 12 7:27 AM
Hi,
Try like below...
data : v1 type p decimals 2 value '11.11',
v2(12) type c.
v2 = v1.
write : v1,
/ v2.
i have tested the above code...but didnt get any *..
Hope it helps!!
Regards,
Pavan
2009 Jan 12 10:20 AM
I had implemented the same way .The issue was the target char field was of length 3,hence i got * infront.Anyway thanks Vishnu
2009 Jan 12 7:28 AM
2009 Jan 12 7:29 AM
2009 Jan 12 10:21 AM
The issue was the target char field was of length 3,hence i got * infront.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |