ABAP Keyword Documentation → ABAP - Reference → Declarations → Declaration Statements → Data Types and Data Objects → Declaring Data Types → TYPES → TYPES - LOB HANDLE
TYPES - lob_handle_columns
Other versions: 7.31 | 7.40 | 7.54
Syntax
... { COLUMNS blob1 blob2 ... clob1 clob2 ... }
| { ALL [OTHER] [BLOB|CLOB] COLUMNS } ...
Effect
These additions define which columns of the database table or the view dbtab
are declared as
LOB handle components when declaring a
LOB
handle structure using the TYPES
statement.
-
COLUMNS blob1 blob2 ... clob1 clob2 ...
specifies the individual BLOBsblob1
,blob2
, ... or the CLOBsclob1
,clob2
, .... These must exist indbtab
. -
ALL OTHER BLOB|CLOB COLUMNS
specifies alldbtab
BLOBs or CLOBs which are not included when individual columns are specified. In theTYPES
statement, at least one individual column,blob
orclob
, must be specified usingCOLUMNS ...
. -
ALL BLOB|CLOB COLUMNS
specifies alldbtab
BLOBs or CLOBs. -
ALL OTHER COLUMNS
specifies alldbtab
LOBs which are not included when individual columns are specified. In the statement TYPES, at least one individual column must be specified usingCOLUMNS ...
. -
ALL COLUMNS
specifies all LOBs ofdbtab
.
No other type of column specification can follow in the statement
TYPES
after columns specified using ALL OTHER ...
.
The different ways in which columns can be combined with each other and with the types specified using
lob_handle_type
are explained in the statement TYPES
.