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:
Expand B5 SAPscript: Forms and Styles on the following screen and then select SSF SAP Smart Forms:
Alternately you can simply type SSF into the command field and hit enter:
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.
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.
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.
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:
The SAPScript View opens the Target language text in fullscreen view.
Press CRTL+F or the magnifier glass and enter the text string you are looking for:
ENTER takes you to where you want to go.
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.
Select your language and the string you search for in the TDLINE field, using wildcards, if required.
This gives you a full list of matches and you can use the FORMNAME to call the needed form in SE63:
This posting is a translation of
Other relevant links: