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

Translate

Former Member
0 Likes
513

Hi,

We are applaing support pack (18) patches.

while doing extended program check for z-programs it is show error for Translate statement as " Dangerous use of TRANSLATE in a multilingual system".

Could you please tell me how to fix this?

Thanks in advance,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
476

use

>SET LOCALE LANGUAGE 'E'

before the translate..

then

>translate

and then

>SET LOCALE LANGUAGE ' '

clear it..

Hi,

We are applaing support pack (18) patches.

while doing extended program check for z-programs it is show error for Translate statement as " Dangerous use of TRANSLATE in a multilingual system".

Could you please tell me how to fix this?

Thanks in advance,

2 REPLIES 2
Read only

Jay71
Participant
0 Likes
476

Hi,

The problem is mostly observed in Unicode systems.

To solve it the system should be able to determine the language it should consider for translation.

So use this below statement before your translate statement.

Set locale language sy-langu.

This will resolve the error in code inspector.

Thanks,

Jayaram

Read only

Former Member
0 Likes
477

use

>SET LOCALE LANGUAGE 'E'

before the translate..

then

>translate

and then

>SET LOCALE LANGUAGE ' '

clear it..