Skip to Content
-1

How we manage languages on SAP programs effectively ?

Jun 28, 2017 at 11:23 AM

105

avatar image
Former Member

Dears,

I want to learn best way to manage sap reports depend on languages.

For example, there are 3 factories as Turkey, England and Germany.

These factories' users can use same smartforms. We want to that if its Turkey factory system should select Turkish language. if others the system should select English language.

Should i manage using system language(sy-langu)? or

Can i define plant(factory) and language relation? Because in the future, maybe German factory will want German reports..

How can i manage languages on my reports effectively ?

Thank you in advance..

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Richard Harper Jun 28, 2017 at 11:50 AM
2

SAP has the functionality to translate your texts in various places which are then referenced by either the users logon language (for example the screens in SAP), a customers or suppliers communication language for example in invoices and purchase orders and in many other places.

The main thing is that you do not hard code any text - for example all text in a program should be referenced via text elements In smartforms you can use text modules, sapscripts can have individual forms translated completely

Plants have a language key so yes you can define a default language for plants. even if an object does not have a language key you could create a table with that object as a key and a language and use that.

Standard texts can also be translated as can things such as material descriptions - Have a look at table makt for this and always when you have a description, place it in a separate text table with the object (such as Material No) and Spras as a key.

You can then use translation transactions (sometimes found in the menu GOTO - dependant on transaction) to maintain your translations.

Be aware though that some fonts cannot appear in the same smartform as others, so fopr example Hebrew will have difficulty co-existing with English so if you want to have various languages on the same smartform you may need to have a look at Cascading Fonts:

https://wiki.scn.sap.com/wiki/display/ABAP/Unicode+Printing+Solutions+for+SAP

Rich

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member
Jun 28, 2017 at 12:06 PM
0

As Richard stated correctly, For the reports too you need to translate the texts in to other languages via transaction SLXT/SE63. For the scenario you just explained, your functional must have pre-defined the language key for each factory system.

You may also refer the blog :https://archive.sap.com/discussions/thread/771486

Shubhamoy

Share
10 |10000 characters needed characters left characters exceeded
Horst Keller
Jun 28, 2017 at 12:15 PM
0

The ABAP language environment is described here

https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abenlanguage.htm

But in fact you ask something totally different than the title of the question implies ...

Just don't mess with sy-subrc.

Share
10 |10000 characters needed characters left characters exceeded
Sandra Rossi Jun 29, 2017 at 06:14 AM
0

In your smart form, don't do anything with sy-langu. Only use the language code passed through component LANGU of the parameter CONTROL_PARAMETERS of the smart form, and access text tables and text modules with this code.

Share
10 |10000 characters needed characters left characters exceeded