Warning: Undefined variable $saptab in /customers/b/9/9/trailsap.com/httpd.www/abap-statements/index.php on line 46
Get Example source ABAP code based on a different SAP table
Warning: Undefined variable $prev in /customers/b/9/9/trailsap.com/httpd.www/abap-statements/index.php on line 62
Standard SAP Help for FETCH
FETCH
Short Reference > • FETCH ABAP Statement • INTO FETCH • APPENDING FETCH • NEXT CURSOR FETCH
ABAP Syntax FETCH NEXT CURSOR dbcur {INTO|APPENDING}target>.>
What does it do? This statement extracts the requested rows (using the addition INTO> or APPENDING>) from the results set of the database cursor> (associated with the cursor variable dbcur>) from the current cursor position and assigns these rows to the data objects specified in the results set.
The cursor variable dbcur> must be a variable declared by the special predefined data type cursor>, which was opened with the statement OPEN CURSOR>>, or to which an opened cursor was assigned. Otherwise, a handleable exception occurs.
The syntax and meaning of the addition INTO> or APPENDING>target> are completely synonymous with the identical additions> of the SELECT> statement, with the exception that no LOB handle> s> can currently be created. , wenn der Zusatz WITH HOLD> beim Öffnen des Cursors verwendet wurde. INTHINT LOB Handles will be supported in a later Release but not for INTHINT WITH HOLD