Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing External Data →  ABAP File Interface →  Statements for the ABAP File Interface →  OPEN DATASET →  OPEN DATASET - mode 

OPEN DATASET - endian

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


... {BIG|LITTLE} ENDIAN ... 

Effect

This addition specifies that numeric data objects of the type i, decfloat16, decfloat34, f, or s are stored in the file in the byte order Big Endian or Little Endian. When a data object of these types is written or read, a conversion between these orders and the byte order of the current platform is performed, if necessary. If the addition is not specified, the byte order of the current application server is used.


Notes

  • The statement SET DATASET can be used to specify a different byte order for an opened legacy file.
  • The addition {BIG|LITTLE} ENDIAN replaces the use of the obsolete statement TRANSLATE NUMBER FORMAT in the case of file accesses.