Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP runtime error for Field Symbel.

Former Member
0 Likes
821

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.

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.

5 REPLIES 5
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
793

Hi,

Give the number in ' ' Like this ' 2,100.00'

Use ASSIGN instead of MOVE.

Regards,

Sesh

Read only

former_member195383
Active Contributor
0 Likes
793

declare the <fs> as type similar to l_intern-value

u wont get the error then...

Reward points if the abv is helpful..

Read only

Former Member
0 Likes
793

pass this value into char and then use at the field symblo

Read only

Former Member
0 Likes
793

Hi,

You Can Use Type Casting Technique of Field Symbol.

Read only

Former Member
0 Likes
793

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.