SAP OPEN DATASET - Reference ABAP Statements
Get Example source ABAP code based on a different SAP table
Standard SAP Help for OPEN_DATASET
OPEN DATASET
ABAP Code Snippet
ABAP Syntax
FOR { INPUT | OUTPUT | APPENDING | UPDATE }
IN { { BINARY MODE }
| { TEXT MODE ENCODING { DEFAULT
| {UTF-8 [SKIPPING|WITH BYTE-ORDER MARK]}
| NON-UNICODE }
[WITH {NATIVE|SMART|UNIX|WINDOWS} LINEFEED] }
| { LEGACY BINARY MODE [{BIG|LITTLE} ENDIAN]
[CODE PAGE cp] }
| { LEGACY TEXT MODE [{BIG|LITTLE} ENDIAN]
[CODE PAGE cp]
[WITH {NATIVE|SMART|UNIX|WINDOWS} LINEFEED] } }
[AT POSITION pos]
[TYPE attr]
[FILTER opcom]
[MESSAGE msg]
[IGNORING CONVERSION ERRORS]
[REPLACEMENT CHARACTER rc].
ABAP Code Snippet
What does it do? Opens the file specified in
ABAP Addition
Opens the file for reading, writing, appending, or changing.
Opens the file in normal binary or text mode, or in legacy binary or text mode.
Determines in which character representation the content of the file is handled:
Determines the end-of-line selection for text files.
Controls handling of
Determines in which byte order numerical data objects in the file are handled.
Specifies that character-like data objects in the file are handled in accordance with the code page specified in
Sets the file pointer to the position specified in
Either sets operating-system-specific parameters for the file or controls the end-of-line selection for a text file.
Transfers a statement to the operating system.
If an error occurs, this returns the corresponding operating system
Suppresses an exception if a conversion error occurs.
Specifies in
Return to menu