Skip to Content
avatar image
Former Member

How we manage languages on SAP programs effectively ?


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..

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jun 28, 2017 at 11:50 AM

    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:


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 28, 2017 at 12:06 PM

    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 :


    Add comment
    10|10000 characters needed characters exceeded

  • Jun 28, 2017 at 12:15 PM

    The ABAP language environment is described here

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

    Just don't mess with sy-subrc.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 29, 2017 at 06:14 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded