Entering content frame

Function documentation Internationalization and Translation Locate the document in its SAP Library structure

Use

In your Web applications views you can work with text literals and texts from the Structure linkOnline Text Repository.

If you use OTR texts only, you have the advantage that your Web application will be language-independent. All the texts defined in the OTR are displayed at runtime in the logon language. If the texts are not yet available in the logon language, they are displayed in the system language. The OTR texts that you create are automatically translated, or are forwarded to the translation transaction (SE63) and are entered in the translator’s worklist.

If necessary, you can change any OTR texts that you create later.

Functions

OTR aliases are included in the View Designer for all properties of translatable text type.  (WDY_MD_TRANSLATABLE_TEXT). You can find out what these types by choosing the F4 help symbol.

·        The OTR aliases displayed for selection are always those from the current package.

·        You can create new OTR aliases.

Caution

Moving a component with OTR aliases from a local package to a transportable package can cause problems.

Activities

...

       1.      In your view call the View Designer in change mode and navigate to the UI element that you want to create or use an OTR alias for.

       2.      Click the This graphic is explained in the accompanying text symbol in the Value field, for example, for the Text or Tooltip attribute.

The window Text Selection appears. You will see all the OTR aliases contained in the packet that your component is also assigned to.

                            a.      If you want to use an existing alias, select the alias you want from the Alias Name column and choose Enter.

                            b.      If you want to use a new alias, enter the character string $OTR:Aliasname in the Value field, and choose Enter.

If the alias does not exist, you will be asked if you want to create it. Confirm with Yes and enter a name of your choice in the next dialog box. The text length can be a maximum of 255 characters.

                            c.      If you have defined for the property an alias that is in a separate package and is assigned to the corresponding development object (in this case View = WDYV), you can change this alias by double-clicking on the property. The Edit window will then appear as it does when you create an alias.

       3.      Save your entries.

 

 

 

Leaving content frame