Ansicht
Dokumentation

ABENDB_COPY_ABEXA - DB COPY ABEXA

ABENDB_COPY_ABEXA - DB COPY ABEXA

ROGBILLS - Synchronize billing plans   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

- Locator, Copy Column

The example demonstrates how column content can be copied using locators.

Source Code

Execute

Description

The method main derives an LOB handle structure from the structure of the DDIC database table DEMO_BLOB_TABLE, where the component PICTURE is declared as an LOB handle component for a locator. This locator is then created in a SELECT statement.

A new value is then assigned to the key field of the LOB handle structure and the LOB handle structure is used as a work area in an INSERT statement. As a result, the content of the column to which the locator is linked is copied to the corresponding column of the new row without the content having to be transported to the ABAP program.

If data previously written in the executable writer stream example is read, this is the data of a figure in the GIF format. By specifying the new name, the copied figure can be displayed using the example for reader streams.






CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1744 Date: 20240424 Time: 160727     sap01-206 ( 31 ms )