SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Short Reference →
OPEN CURSOR - Short Reference
Syntax
OPEN CURSOR [WITH HOLD] dbcur FOR
SELECT ...
FROM ...
[[FOR ALL ENTRIES IN itab] WHERE sql_cond]
[GROUP BY ...] [HAVING sql_cond]
[ORDER BY ...].
Effect
Opens a database cursor
for the selection defined using SELECT and links a cursor variable dbcur with this database cursor.
Additions