First
Previous
Next
Last

Index
Home
Text









Slide 41 of 60

Text Symbols

Text symbols are text constant specified and maintained outside a program. One of the advantages of using text symbols is that the string is no longer hard-coded in the program. This means that you can maintain the text without having to access the source code. Such a procedure is particularly significant for software which exists in several languages.

Instead of writing text directly in program code, you can use text symbols. Text represented by text symbols is stored in the Repository and is always displayed in the language of the user. The primary benefit of text symbols is that they can be translated without affecting the source code of a program.

Text symbols are used instead of text literals in programs because the programs are then independent of any particular language and remain easy to maintain.

Authored by: Roger Hayen
© Central Michigan Univeristy and/or © SAP America, Inc.
All rights reserved.