2008 Jul 04 12:15 PM
Dear Friends,
I am getting the ABAP runtime error while moving the value to field symbol, the field value is currency .
I have downloaded the data from Excel sheet into an internal table and finaly when I am passing the data to a field symbol I am getting this error, my code is like this:
MOVE l_intern-value TO <fs>.
declared the <fs> type any.
l_intern-value value is 2,100.00
the error is : "The program attempted to interpret the value "2,100.00 " as a number, but
since the value contravenes the rules for correct number formats, this was not possible."
Please let me know what is the proble at here????
Thanks,
Sridhar.
2008 Jul 04 12:16 PM
Hi,
Give the number in ' ' Like this ' 2,100.00'
Use ASSIGN instead of MOVE.
Regards,
Sesh
2008 Jul 04 12:17 PM
declare the <fs> as type similar to l_intern-value
u wont get the error then...
Reward points if the abv is helpful..
2008 Jul 04 12:17 PM
2008 Jul 04 12:18 PM
2008 Jul 04 12:19 PM
Hi,
Please check your variable l_intern-value of which type as 2,100.00, in this value system is unable to recognize ',' as a numeric.
Chnage your variable type some currency field.
Thanks,
Sriram POnna.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |