Entering content frame

DECLARE CURSOR Statement (declare_cursor_statement) Locate the document in its SAP Library structure

The DECLARE CURSOR statement (declare_cursor_statement) defines a named result table with the name result table name.

Syntax

<declare_cursor_statement> ::= DECLARE <result_table_name> CURSOR FOR <select_statement>

Explanation

An OPEN CURSOR statement with the name of the result table is required to actually generate the result table defined with a DECLARE CURSOR statement.

 

Leaving content frame