cancel
Showing results for 
Search instead for 
Did you mean: 

What language in SAPScript

ross_goodman
Participant
0 Kudos

Hi,

How can I tell from within a sapscript what language is in use for translation. I need be able to determine in a subroutine of the form if the language for translation at runtime is French so that I can set the value of a particular symbol accordingly.

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member156446
Active Contributor
0 Kudos

did u check nast-spras?

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

Check the variable Import parameters --->LANGUAGE in OPEN_FORM when the form is called see what is passed

or pass sy-langu so that it will run in the logon language or specify whatever language u want..

surya

ross_goodman
Participant
0 Kudos

No. I was hoping that at runtime I could check a field or system-variable in the subroutine call. Nast is not a dictionary object available in the print program at runtime.

Ross

Former Member
0 Kudos

use system variable SY-LANGU to check in the subroutine.

Regards,

Anil