Application Development 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: 

smartforms and languages

Former Member
0 Kudos

Hi all,

We have written an application which uses a self-made Smartform. We pass the language to it as an import parameter and all include texts are called in this language. So when we use different languages they are correctly called.

Our problem is: how to do this for the fixed texts (column headers and such)? With Sapscript forms you have to maintain your form in the languages you want using translation and such - how to do this with Smartforms?

The logon language of the users is always the same, but they need to print the form in different languages. Within the application there is a language field they can fill in with the language they want, and this is passed to the Smartform as an import parameter  (not via the structure CONTROL_PARAMETERS).

Thanks in advance,

Ioana

5 REPLIES 5

Former Member
0 Kudos

se63 -> translation -> R/3 Enterprise -> other Longtexts -> Smartforms -> select your form

-> translate

Regards Matthias

0 Kudos

A couple of other things to consider is that the languages available for translation can be restricted in the General Attributes of the form, and that it will be necessary to pass the language in the CONTROL_PARAMETERS structure (field LANGU) as well as your existing parameter.

Regards, Nick.

0 Kudos

Thanks everybody,

I translated the forms and passed the language via CONTROL_PARAMETERS, and it works fine.

One other question: how to include the translated texts in my transport request? I already have a Workbench transport request which contains all modification concerning this application, and I'd like to make sure that the translated texts also are included in it...

Regards,

Ioana

0 Kudos

In my opinion you can not transport this translation - I thougth I had to made it in all systems but

this was some times ago so couldn't remember for real...

Regards Matthias

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I have have found that when I do translations, SAP automatically creates a CTS of type Transport of Copies for the translation.  The description is like the following:

TRANSLATION collective  PL 02.11.2004 (ANY USER)

If you don't like this and you want to pick your own Workbench CTS, you can change this.  Just go to SE63. Choose Goto->Administration->Transport Recording. From here choose your language. Check the boxes that say Display in SE63 and Request Changeable. Now when you go translate something you will have a choice between System Default (Automatic recording in collective request) or Use own request. If you choose Use own request, you can choose any Workbench CTS like normal.