‎2009 Jul 31 3:32 PM
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.
‎2009 Jul 31 4:30 PM
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
‎2009 Jul 31 3:35 PM
‎2009 Jul 31 4:16 PM
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.
‎2009 Jul 31 4:30 PM
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
‎2009 Jul 31 5:33 PM
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.
‎2009 Jul 31 5:45 PM
Use the following fm in your code to get user defaults
SUSR_USER_DEFAULTS_GET
a®
‎2009 Jul 31 5:52 PM
Hi,
thanks for your help.
For all our users, field langu is blank.
Thanks,
S.
‎2009 Jul 31 5:57 PM
is there a way to extraxt in a table the field Language that is in tab address, communication in transaction SU01?
Thanks,
S.
‎2009 Aug 03 7:43 AM