‎2006 May 02 10:32 AM
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
‎2006 May 02 10:36 AM
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
‎2006 May 02 10:37 AM
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.
‎2006 May 02 10:38 AM
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
‎2006 May 02 10:43 AM
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
‎2006 May 02 10:50 AM
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