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

Unicode error

Former Member
0 Likes
583

Hi gurus,

I have copied one of the program developed in 5.0 to 6.0 and I am getting this error, can you please tell me how to get this thing resolved:

<b>

In unicode programs, the character "-" cannot appear in names as it does here in the name e-3,e-4, char- and help-mandt.</b>

and i have defined this things as :

data:

char- TYPE c VALUE '-',

help-mandt(3) VALUE '000',

e-3 TYPE f VALUE '1E-03',

e-4 TYPE f VALUE '1E-04',

Thanks,

Rajeev

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
547

Try to use the variables without the '-' operator.

Like

data:
char_1 TYPE c VALUE '-',
help_mandt(3) VALUE '000',
E_3 TYPE f VALUE '1E-03',
E_4 TYPE f VALUE '1E-04'.

Regards,

Naimesh Patel

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
548

Try to use the variables without the '-' operator.

Like

data:
char_1 TYPE c VALUE '-',
help_mandt(3) VALUE '000',
E_3 TYPE f VALUE '1E-03',
E_4 TYPE f VALUE '1E-04'.

Regards,

Naimesh Patel

Read only

0 Likes
547

Thanks....

Read only

former_member191735
Active Contributor
0 Likes
547

Thats right. change the field name from e-3 to e_3.