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

Getting Unicode Programs Error

Former Member
0 Likes
1,762

I have declared global field as in one program as %count-mapl , i m copying the program to other server.

It gives syntax error as "in unicode prgms character - cannot appear in names, as it does here in name %count-mapl"

What does this means?

Please help to solve this problem

6 REPLIES 6
Read only

Former Member
0 Likes
1,160

Hi,

In all ABAP Reports, you have to make the program as Unicode Compliant. This you can achieve in attributes of the Report. So, you have to enable the same and you can activate it once and can check the error has gone or not.

Have a look at the following link

http://help.sap.com/saphelp_nw04/Helpdata/EN/79/c55458b3dc11d5993800508b6b8b11/content.htm

Hope this will help.

Thanks,

Samantak

Read only

Former Member
0 Likes
1,160

hi

yes in unicode system you will not be able to use '%' as wat i think is that it is not allowed , so try using some other name for that.

thanks

Read only

Sm1tje
Active Contributor
0 Likes
1,160

The problem is not caused by the percentage (%) sign, but by the minus sign in between %count and mapl.

BTW: Do you get an error message, or 'just' a warning?

Read only

rahul2000
Contributor
0 Likes
1,160

Hi.I guess it should be a warning message.Plz clarify.

Rahul

Read only

Former Member
0 Likes
1,160

Hello,

Usage of sign in the variable should give a warning message and not an error message. You can activate it and it will work fine. But if still u are concerned about it, it will be better to change the variable name.

Regards

Richa

Read only

former_member206377
Active Contributor
0 Likes
1,160

Hi,

In Unicode systems '-' is no longer supported for variable names. Also is the case with '%' . please try giving any other name to the variable.

Regards,

Vasuki