ABAP Keyword Documentation →  ABAP − Reference →  Processing External Data →  ABAP Database Accesses →  Open SQL →  Open SQL - Read Accesses →  OPEN CURSOR → 

CLOSE CURSOR  Syntax Diagram

Short Reference

Syntax

CLOSE CURSOR dbcur.

Effect

This statement closes the database cursor and initializes the cursor variable dbcur, with which the database cursor is linked. The cursor variable dbcur must be a variable declared using the special predefined data type cursor that was opened using the OPEN CURSOR statement or was assigned an open cursor.

Notes