Skip to Content
0
Former Member
Jan 07, 2008 at 01:37 AM

How to read user - logon language (Urgent)

651 Views

Hi All,

I have written the below code to display the language in english if it exists if not in french & so on, but i would like to know how i can read the language in which the user has logged on & use that as the first criteria.

Eg: S_SPRAS = User Logon language

SELECT SINGLE MAKTX FROM MAKT INTO Y_MAKTX

WHERE MATNR = MARC-MATNR

AND SPRAS IN (S_SPRAS,'EN','FR','IT',' ').

Hope my problem is clear, await inputs.

Vivek