SAP DATA LOB HANDLE ABAP Statements



Get Example source ABAP code based on a different SAP table
  


ID TYPE-LOB
• FOR COLUMNS DATA
• LOCATOR FOR DATA
• READER FOR DATA
• WRITER FOR DATA
• LOB HANDLE FOR DATA
• ALL OTHER COLUMNS DATA
• ALL BLOB COLUMNS DATA
• ALL CLOB COLUMNS DATA
• FOR COLUMNS CLASS-DATA
• LOCATOR FOR CLASS-DATA
• READER FOR CLASS-DATA
• WRITER FOR CLASS-DATA
• LOB HANDLE FOR CLASS-DATA
• ALL OTHER COLUMNS CLASS-DATA
• ALL BLOB COLUMNS CLASS-DATA
• ALL CLOB COLUMNS CLASS-DATA

DATA, LOB HANDLE
Short Reference

ABAP_SYNTAX
DATA dtype TYPE dbtab$|view $[READ-ONLY$]
lob_handle_type FOR lob_handle_columns
$[lob_handle_type FOR lob_handle_columns
... $].

What does it do?
Derivation of a LOB handle structure as a work area for working with streaming and locators in AB_SQL . dbtab expects a transparent DDIC database table or a DDIC database view defined for view in the ABAP Dictionary.
The column specification lob_handle_columns is used to determine LOBs from dbtab or view for which LOB handle components are created in that structure whose static type is determined by the type specification lob_handle_type.
The syntax and meaning of the additions are identical to the definition of LOB handle structures using the corresponding variant of the statement TYPES.

ABAP_EXAMPLE_VX5
Declaration of work areas with LOB handle components for a writer stream and a reader stream for the column PICTURE and for locators for all LOBs of the DDIC database table DEMO_BLOB_TABLE .
ABEXA 00174
ABAP_EXAMPLE_END

Return to menu