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

set locale language error

Former Member
0 Likes
1,198

Hi ,

I am testing a standard SAP transaction . I get a dump .I debugged and find out the point at which the code fails.

My login language is English. The program logic tried to do the below mentioned code :

im _language = 'DE'.

try.

set locale language im_langu.

catch cx_sy_localization_error.

raise invalid_text_enviroment.

endtry.

This code fails and an invalid text environment is raised.

Looks like so settings issue in our system. I could be wrong . Any suggestions please.

Thanks

Neelima

6 REPLIES 6
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
1,007

Which transaction is this??

Read only

0 Likes
1,007

Its a cockpit transaction .. to archive notes.

does the transaction make a difference?

Read only

Former Member
0 Likes
1,007

Looks like language DE has not been installed on your system.

Regards,

John.

Read only

0 Likes
1,007

ok so is it that the language has to be specifically installed in the system ?

Read only

0 Likes
1,007

The list that is produced by a RSCPINST simulation contains tasks that must be completed before your language can be used. So you basically go through the list so see what is still pending - I think it shows in red. We also have a document about SAP Language in the Technical Documentation section.

Probably "CODEPAGES" is not installed for the lang you are login

Hope this helps

Bhanu

Read only

0 Likes
1,007

Thanks for the replies. the mentioned program might help me to get to the issue.

Rest I could let basis know to solve the problem.

Thanks once again.