SAP DB READER ABEXA



Get Example source ABAP code based on a different SAP table
  


VX_EXA_ONLY

AB_SQL - Reader Stream, Read Database Table
This example demonstrates how data can be read from a DDIC database table using a reader stream.

ABAP_SOURCE_CODE
DEMO CL_DEMO_DB_READER

ABAP_DESCRIPTION
In the method main, a reference variable reader is declared for a reader stream. This reader stream is then created in a SELECT statement.
The internal table pict is then filled iteratively with binary data from the row found. If data previously written in the executable writer stream example is read, this is the data of a figure in the <(>GIF<)> format.
The auxiliary method show_picture displays the figure in an HTML browser.