Get Example source ABAP code based on a different SAP table
VERSION 5 IN
Text Symbols A text symbol is a named data object > of an ABAP program> that is not declared in the program itself but is maintained as a part of the text elements> of the program. A text symbol has the data type> c>> and the length defined in the text elements by mlen>. A text symbol behaves like a constant> and can be specified in read positions > using its names as follows: ... text-idf ...> Here, idf> is the three-character ID of the text symbol, which can be composed of all alphanumeric characters including _>. The text symbol is then taken from the currently loaded text pool>. If the text symbol does not exist in the currently loaded text pool>, text-idf> is handled like an initial single-character text field>. A text symbol can be linked to text field literals> using the following syntax: ... 'Literal'(idf) ...> If the text symbol exists in the currently loaded text pool, it replaces the literal. If the text symbol does not exist, the literal is used.
Latest notes:
Like all text elements, text symbols are linked to the translation environment. They can be used in all locations where translated texts are to be displayed by the program.
The maximum length of a text symbol should be chosen so that there is enough space available for the translation. For example, the German translation of the six-character English word window> requires seven characters (Fenster>).
The identifier text-idf> is reserved for text symbols. A structure called text> cannot have any components with three-character names. It is best never to call a structure text>. This can cause syntax errors, particularly in structures that reference global data types. NON_V5_HINTS ABAP_HINT_END
ABAP_EXAMPLE_VX5 Access to the text symbol exa> of the current program. If available, its text is displayed. If not, the text field literal is used in the first case and a blank is used in the second case. ABEXA 01346 ABAP_EXAMPLE_END