ABAP Keyword Documentation →  ABAP − Reference →  Processing External Data →  ABAP Database Accesses →  Open SQL → 

Open SQL - Streaming and Locators

In Open SQL you can use data streams and locators to access LOBs in database tables. The corresponding objects are grouped together under the term LOB handles. Whilst a locator is always an LOB handle, in principal there can also be data streams for other resources (refer to Streaming).

For normal access to LOBs, ABAP data objects of the types string and xstring are used, into which the entire LOB is transferred for read access and from which the entire LOB is taken for write access. Data streams and locators, however, work as follows:

The use of data streams and locators for LOBs in database tables can lead to improved performance with regards to the program runtime, by omitting unnecessary data transports. There are, however, also some disadvantages:

The following sections introduce the classes for data streams and locators as well as the interfaces they include for general LOB handles.

Note

A maximum of 1000 LOB handles can be open in a database LUW.




Continue
Open SQL - Streaming
Open SQL - Locators
LOB Interfaces
Open SQL - Examples forLOB Handles