ABAP Keyword Documentation → ABAP - Reference → Processing External Data → ABAP File Interface
File Interfaces and Unicode
As the content of files often reflects the structure of data in the working memory, the file interface in a Unicode system must be able to cope with the following demands:
For this reason, in Unicode programs you must always declare according to which codepage character type the data that is written in or is read from text files text file is coded.
You must also take into account that a Unicode program must be executable in both Unicode and non-Unicode systems. Some syntax rules have therefore been changed for the file interface in such a way that the programming of file accessing in Unicode programs is less error-prone than in non-Unicode programs.
Normally explicit programming is required, where all important parameters must be entered, rather than programming with default settings, over which the developer has no influnce. Furthermore, error-prone mixed forms of byte-type, character-type, and numerical data is not allowed.
For this reason, it is sensible to keep to the syntax rules for Unicode programs when using the file interface, even if the system itself is non-Unicode.
Other versions:
7.31 | 7.40 | 7.54