ABAP Keyword Documentation →  ABAP − Reference →  Declarations →  Declaration Statements →  Data Types and Data Objects →  Declaring Data Types →  TYPES → 

TYPES - LOB HANDLE

Short Reference

Syntax

TYPES dtype TYPE dbtab lob_handle_type FOR lob_handle_columns
                      [lob_handle_type FOR lob_handle_columns
                       ...                                   ].


Effect

Derivation of an LOB handle structure as work area for working with streaming and locators in Open SQL. For dbtab, you must specify a database table which is defined in the ABAP dictionary, or a view that is defined in the ABAP Dictionary.

The column specifications lob_handle_columns are used to determine LOBs from dbtab. The statement creates a deep structure which is constructed exactly the same for all columns which are not included in the column specification as it is for a normal TYPE reference to dbtab. For the LOBs included in the column specifications, a component with the same name is created as a LOB handle component. The static type of the LOB handle components is a class or an interface which is determined by the type specification lob_handle_type, and is assigned to the respective column specification.

The combination possibilities of the additions specified at lob_handle_columns and lob_handle_type, is determined using the following rules:

Apart from the rules listed under lob_handle_columns and lob_handle_type, there are also the following general restrictions:

Notes

Example

Refer to Deriving LOB handle structures.




Continue
TYPES - lob_handle_type
TYPES - lob_handle_columns
Deriving LOB Handle Structures