CLOSE (ABAP Keyword)

CLOSE (ABAP Keyword) introduction & details

CLOSE

Basic
form

1. CLOSE DATASET dsn.
2. CLOSE CURSOR c.

Basic form
1
CLOSE DATASET dsn.

Effect
Closes the file dsn , ignoring any
errors which may occur. CLOSE is required only if you want to edit dsn several
times. For further details, see the documentation for OPEN DATASET
.

Basic form 2
CLOSE CURSOR c.

Effect
Closes the database
cursor c . CLOSE CURSOR is only required if you want to read sets of database
records several times with c . For further information, refer to the
documentation on OPEN CURSOR and FETCH .

CLOSE CURSOR belongs to the Open
SQL command set.