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: 

user language

Former Member
0 Kudos

Hi all,

in our system nobody has field logon language filled.

I need to send a message every week to all the user using the language of the user to choose the right language for the message.

I need to know the tables where I can find the reference to the language of the user or the country of the user.

Please help me.

Thanks,

S.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

The user language as set in txn SU01 is in field LANGU of table USR01. However, in many cases the language in the user's master record will be blank. In that case try table USR41, field SPRACHE, which gives you the language the user logged on with the last time s/he worked in the system.

Hope this helps,

Mark

8 REPLIES 8

Former Member
0 Kudos

ever heard of sy-langu?

Structure SYST --> SE11

0 Kudos

Maybe I didn't explain my issue in the right way.

On monday morning there is a program that sends one message to every user in the system.

If the user has french language in user master data (I don't know the table...) the message will be sent in french language, if the user has english language, the message will be sent in english and so on.

S.

Former Member
0 Kudos

Hi,

The user language as set in txn SU01 is in field LANGU of table USR01. However, in many cases the language in the user's master record will be blank. In that case try table USR41, field SPRACHE, which gives you the language the user logged on with the last time s/he worked in the system.

Hope this helps,

Mark

0 Kudos

Hi,

thanks for your help.

In table USR41 there are only 5 records in our production system.... I think that in this table there are the users connected in the system at the time I enter the table.

S.

0 Kudos

Use the following fm in your code to get user defaults


SUSR_USER_DEFAULTS_GET

0 Kudos

Hi,

thanks for your help.

For all our users, field langu is blank.

Thanks,

S.

0 Kudos

is there a way to extraxt in a table the field Language that is in tab address, communication in transaction SU01?

Thanks,

S.

0 Kudos

Hi

You will get it in FM 'BAPI_USER_GET_DETAIL'