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: 

Where can I get the user's profile language

Former Member
2,426

Hello experts,

With the Function Block Z_ITSM_GET_LANGU_FROM_USER you can get the language to a user. Currently, only the logon language is read. It is found in the USR01.  When there is nothing  selected in the first language ( logon language) it should take the second language (System - User Profile).

Now to my question:
Where do I get the language in the User Profile? Like, the logon-language is saved in the USR01 table.

Thanks in advance.

1 ACCEPTED SOLUTION

RaymondGiuseppi
Active Contributor
1,036

Tables

  • In USR01 you have field LANGU User masterlanguage
  • In USR21, you have field ADDRNUMBER, read ADRC, you have another field LANGU Business Address Services language

There are also default values like profile parameter zcsa/second_language and the like.

Regards,

Raymond

4 REPLIES 4

Former Member
0 Kudos
1,036

Hi Simon,

Please use transaction "SU03" to check all the user properties. Also you can run the FM "BAPI_USER_GET_DETAIL" to get all the user details. The logon language can be found in structure "ADDRESS" returned by this FM.

Thanks,

Arnab

former_member195402
Active Contributor
1,036

Hi,

you can find it in table USR01 in field LANGU. But if this field is empty, the system default logon language may be used (it depends on the system profile parameter settings).

Regards,

Klaus

RaymondGiuseppi
Active Contributor
1,037

Tables

  • In USR01 you have field LANGU User masterlanguage
  • In USR21, you have field ADDRNUMBER, read ADRC, you have another field LANGU Business Address Services language

There are also default values like profile parameter zcsa/second_language and the like.

Regards,

Raymond

0 Kudos
91

THANKS