07-09-2007 9:20 PM
Hi all,
Can you please help me how to retieve langauge of the current user login in ABAP code
THanks
07-10-2007 4:11 AM
Hi Song,
All the system related fields, as user-name, its language extra are available at run time in SYST structure. So you can get these values using sy-<field name>.
In your case for language it is sy-langu.
Regards,
Atish
07-09-2007 9:21 PM
07-09-2007 9:21 PM
07-10-2007 4:01 AM
Hi Yang,
<u>You can retrieve language of current user in ABAP code as coded below:</u>
<b>DATA LOGIN_LANGU TYPE SY-LANGU.
LOGIN_LANGU = SY-LANGU.
WRITE / LOGIN_LANGU.</b>
Cheers !
Moqeeth.
07-10-2007 4:11 AM
Hi Song,
All the system related fields, as user-name, its language extra are available at run time in SYST structure. So you can get these values using sy-<field name>.
In your case for language it is sy-langu.
Regards,
Atish
07-10-2007 2:33 PM