Translating SAP Smart Forms

Translating SAP Smart Forms with SE63

In this posting we describe how to translate SAP Smart Forms with t-code SE63. Text blocks are translated the same way!).

Selecting the object type in SE 63

In menu Translation click on ABAP Objects and then select Other Long Texts:

SAP SE63 - Translating SAP Smart Forms - Select Object Type

Expand B5 SAPscript: Forms and Styles on the following screen and then select SSF SAP Smart Forms:

SAP SE63 - Translating SAP Smart Forms - Select SSF

Alternately you can simply type SSF into the command field and hit enter:

SAP SE63 - Translating SAP Smart Forms - Or simply type SSF

 

Selecting the Smart Forms name and source/target language

On the next screen, type the Smart Forms name (you may use wildcard and hit F4 to search for the desired object). After you selected the Source and Target languages, click Edit.

SAP SE63 - Translating SAP Smart Forms - Select Object Form Name

Translation Screen for Forms Texts and Styles

The upper pane of the following screen holds the Source language text. The bottom pane contains the Target language. It is here where you need to enter the translation. It is crucial that you specify the desired paragraph style for the target language string. As a default the style of the source is proposed.

SAP SE63 - Translating SAP Smart Forms - SE63 Editor

Should you have done translations using SE63 before and created text translation proposals when doing so, it might be that the system proposes a translation already. These proposals are retrieved from the so-called Proposal Pool (t-code SLPP). Otherwise the Target language section is empty. You need to translate the text node by node.

You may save without regenerating the form. It is then saved as XML internally. When you click Save Active, the translation is actually written into the XML format of the form and is ready for testing.

Copy text from Source language

Texts and variables are not copied into the Target pane by default. This can be achieved by a simple command.

Choose the Edit menu and click on Copy Source Text, or use the shortcut SHIFT+F8.

This copies all text, variables and style from Source to Target. Now you only need to type your target language translation right over the source. In this case you only need to worry about applying a style if you want to use a style in Target that is different from that of the Source, which is most likely an exception.

20140307_SAP_SE63_CopySource

Searching for text (in particular useful when searching to make corrections!)

In the default view it is not possible to search for text. The trick is to switch to the full-screen editor. This produces a full screen view of the Target and enables you to search for text.

Choose Target Text in the Translation menu and click on Fullscreen Editor:

20140307_SAP_SE63_FullEditor

The SAPScript View opens the Target language text in fullscreen view.

20140307_SAP_SE63_TargetLangEdit

Press CRTL+F or the magnifier glass and enter the text string you are looking for:

20140307_SAP_SE63_Search

ENTER takes you to where you want to go.

 

ATTENTION

Don’t call a form in SE63 and at the same time open the form in change mode in SMARTFORMS!

When editing the translation you should refrain from using the t-code SMARTFORMS in change mode. You would lose the translations you entered when you save the form in SMARTFORMS. In this case the form will be overwritten, and this means also the XML text which you just created during translation will be overwritten

 

Tips & Tricks

When you need to change text / correct an error on a given form and don’t know exactly which object to call in SE63, start SE16(n) and search in table STXFTXT for the text you see on the form and which you want to change.

SAP SE63 - Translating SAP Smart Forms - Search Tip #1

Select your language and the string you search for in the TDLINE field, using wildcards, if required.

SAP SE63 - Translating SAP Smart Forms - Search Tip #2

This gives you a full list of matches and you can use the FORMNAME to call the needed form in SE63:

20140307_SAP_DE63_SearchForForm

This posting is a translation of
http://www.berater-wiki.de/index.php?title=Smart_Forms#.C3.9Cbersetzung_Formular.2FTextbausteine

Other relevant links:

Leave a Reply

Your email address will not be published. Required fields are marked *