ABAP - Keyword Documentation →  ABAP - Reference →  Processing External Data →  ABAP Database Accesses →  Open SQL →  Open SQL - Reads →  SELECT clauses →  SELECT - INTO, APPENDING → 

SELECT - EXTENDED RESULT

Quick Reference

Syntax

... EXTENDED RESULT @oref ...

Effect

The EXTENDED RESULT addition of the INTO clause can be used to provide an extended result of the current main query in a result object. After EXTENDED RESULT you must specify an object reference variable oref of static type for the documented class CL_OSQL_EXTENDED_RESULT, which points to an object of the class. The reference variable must be prefixed with the escape character @.

The following applies for use of EXTENDED RESULT:

Note

The addition EXTENDED RESULT can currently only be used for access to cached views of the SAP HANA database.

Example

See SAP HANA, Cached Views