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: 

find defult language

Former Member
0 Kudos

Hi

i want to get the user default language , i see in su01 that noting is maintain on logon language

so how the session know to open it in EN? there is system defult?

best regards

Michael

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

You may need to check tranx SU3 and default tab

and also check table USR01

12 REPLIES 12

Former Member
0 Kudos

Hi Michael,

Are you looking for SY-LANGU? The user's logon language?

Regards,

Nick

0 Kudos

HI ,

Yes ,form where i get the language? since when i see in SU01 that i don't have any language declared and when i do the logon i not put any logon language so from where the sy-langu take the system language (when i check in program i get EN )?

Best Regards

Michael

Former Member
0 Kudos

Hi,

It takes default language 'EN' if you do not enter any language at the time of logon where you give user name and password

if you do not enter language in the language field it takes default 'EN' and that you can get it by using system field sy-langu.

Regards

Krishna

0 Kudos

hI ,

Thanks ,

But from where the sy-langu take the language?

Regards

Michael

former_member194669
Active Contributor
0 Kudos

You may need to check tranx SU3 and default tab

and also check table USR01

0 Kudos

hi ,

i check the usr01 table and i don't find the langu there,

so fro where the sy-langu take the language?

Best Regards

Michael

Edited by: Michael A on Jun 30, 2009 8:39 AM

0 Kudos

Hi Michael,

Use Sy-Langu in your coding .

It will give you correct logon laguage.

Regards,

Vijay

0 Kudos

Hi Michael,

Its there in usr01 table .Its the last but one field LANGU.

SY-LANGU is a system variable.

Depending on the logon language u have choosen SY_LANGU differs.

Regards,

Lakshman.

0 Kudos

Hi,

My question is from where the sy-langu take the language if:

1. in su01 in defaulters language nothing defined there

2. in table USR01 there is no language defined

3. when i do the logon i don't put any language there just the name and the client

and when i check sy-langu in program i get E ,my question is from where I get this ?

Best Regards

Michael

0 Kudos

There is a basis parameter for default language in System. You can display it from RZ11 search lang.

0 Kudos

Hi Gungor,

Thanks,

this is what i am looking for!

maybe you know if there is FM that retrieve this kind of data,per user or per system?

Best Regards

Michael

Edited by: Michael A on Jun 30, 2009 9:45 AM

0 Kudos

why FM system feild sy-lang will get you his logon language.