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

Multiple language

Former Member
0 Likes
668

Hello All,

I have to develop Z reports or Z smartforms.

Users login in English or Italy.

In program Heading of column maintain in English,

When Login through Italy it will automatic convert or I have to build the code like

if sy-langu = 'EN'.

Write 😕 'Total Company Code'.

elseif sy-langu = 'IT'.

Write 😕 'Total Clinte'.

endif.

Thaks in Advance

Regards

Amisha

5 REPLIES 5
Read only

Former Member
0 Likes
632

Hi Amisha,

For all standard texts if you maintain the translated texts, they appear automatically.

YOu can transalate your texts in the transaction se63.

Regards,

Ravi

Read only

0 Likes
632

Just like you can maintain the translations for standard texts in different languages, you can also maintain scripts in different languages.

The transaction for this SE63.

In SE63, follow this link

Translation --> R/3 Enterprise --> Other Longg Texts.

Double click on "Forms" if it is a Script. choose SAP Smartforms if it is a smartform.

Now you can enter the script/smartform name for which u want to maintain translations and then choose the language.

As given in the purchase requisition example by you,

u can maintain the static texts in the script in the local language that you want.

The dynamic texts have to be got from the driver program. These cannot be maintained here.

Read only

Former Member
0 Likes
632

HI

GOOD

IF YOU R CONVERTING A LANGUAGE FROM ENGLISH TO ITALY THAN ALL THE CODINGS AUTOMATICALLY WILL CONVERT TO ENGLISH.THERE IS NO NEED TO CHANGE EACH AND EVERY STATEMENT.

THANKS

MRUTYUN

Read only

0 Likes
632

No,

I tried it.

I write program.

Write : / 'Hello Word'.

In english and Italy i got same ouput "Hello word".

Is there Function module which convert english to other language ?

Regards

Amisha

Read only

0 Likes
632

Amisha,

It does not work that way.

Your statement should Write 😕 Text-001.

Now, Text-001 will have to be maintained in all the languages you want, in SE63.

Depending on which language the user logs in that language text will be printed.

The hard coded text will never change the language.

Regards,

Ravi

Note : Please mark the helpful answers