ABAPCLOSE_CURSOR - CLOSE CURSOR

Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.

CLOSE CURSOR

Short Reference



Syntax

CLOSE CURSOR dbcur.

Effect

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

Notes

  • Since only a limited number of database cursors can be open simultaneously, you should close all database cursors no longer required.
  • Initializing a cursor variable using the CLEAR statement is not enough to close a database cursor.If the value of the cursor variable in the program is known, the database cursor can be further processed using FETCH.
  • Once a database cursor has been closed, it can no longer be accessed. Other cursor variables that werelinked with the database cursor are not initialized, but become invalid and accessing them would raise an exception that can be handled.





Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.


Length: 1623 Date: 20120518 Time: 205257     triton ( 84 ms )