SAP CLOSE DATASET ABAP Statements
Get Example source ABAP code based on a different SAP table
ID CLOSE-DATASET
• CLOSE DATASET ABAP Statement
ABAP_SYNTAX
What does it do?
This statement closes the file specified in
If the operating system buffers data before it is written to a file and there is still data in the buffer, this data is written to the file before closing.
Latest notes:
An opened file that was not explicitly closed using
ABAP_HINT_END
ABAP_SUBRC_GENERAL
Runtime Exceptions
Catchable Exceptions
Reason for error:
The file could not be closed. Insufficient memory space is a possible reason for this. Runtime error:
Example ABAP Coding
Closing of a file open for writing.
ABEXA 00112
ABAP_EXAMPLE_END
Return to menu