Application Development 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: 

Unicode error

Former Member
0 Kudos

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

naimesh_patel
Active Contributor
0 Kudos

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

naimesh_patel
Active Contributor
0 Kudos

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

0 Kudos

Thanks....

former_member191735
Active Contributor
0 Kudos

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