SAP DB READER ABEXA

Get Example source ABAP code based on a different SAP table
  


ARTICLE

Read Stream, Read Out Database Table
The example demonstrates how data can be read out of a database table using a read stream.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
In the method main, a reference variable reader is declared for a read stream. This read stream is then created in a SELECT statement .
The internal table pict is then filled sequentially with binary data from the row found. If you are accessing data which was previously written in the example for write streams, this is the data of a figure in the GIF format.
The show_picture auxiliary method displays the figure in an HTML Browser.