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: 
Read only

SAP Script Language

Former Member
0 Likes
542

Hi,

I am facing a strange problem. I have a sap script defined in multiple languages. In my case they are English and Italy.

In my dev environment, for company code XXXX, program is picking up the script defined in language italy where as in my test environment, program is picking up the script defined in language english.

I want the scipt defined in Italy to be picked up even in test environment. Any kind of help is greately appreciated.

Thanks in advance.

Naresh

3 REPLIES 3
Read only

madan_ullasa
Contributor
0 Likes
505

Pass the right language to the function modules, OPEN_FORM..preferablr as sy-langu..

regards,

Madan...

Read only

0 Likes
505

hi Naresh,

Your OPEN_FORM FM might be having it as sy-langu change it to the required language in to which you want your output to be

Read only

Former Member
0 Likes
505

Hello Naresh,

The Language depends on the Document lang. which is stored in NAST Table.

Get a Document which is saved as the Italian Language and use it for testing.

Or

Before coming to ur program change the NAST-SPRAS = 'IATLY LANGUGE'. So that the program will fetch the data for Italy.

If useul reward points.

Regrads,

Vasanth