Ansicht
Dokumentation

ABAPDELETE_FROM_BUFFER - DELETE FROM BUFFER

ABAPDELETE_FROM_BUFFER - DELETE FROM BUFFER

CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

DELETE - Delete a data cluster

Syntax

DELETE FROM SHARED BUFFER dbtab(ar) ... ID key.

Addition:

... CLIENT f (hinter dbtab(ar))

Effect

Deletes the data cluster stored in the cross-transaction application buffer of the table dbtab under the area ar (constant) and the ID key (field or literal) (EXPORT ... TO SHARED BUFFER).

Example

TABLES INDX.
TYPES: BEGIN OF TAB_TYPE,
          CONT(30),
       END   OF TAB_TYPE.
DATA: TAB TYPE STANDARD TABLE OF TAB_TYPE WITH
               NON-UNIQUE DEFAULT KEY INITIAL SIZE 1.
DATA: FLD(30) TYPE C,
      WA_INDX TYPE INDX.
...
EXPORT TAB FROM TAB
       FLD FROM FLD TO SHARED BUFFER INDX(AR) FROM WA_INDX
       ID 'TEST'.

You can delete a data cluster created in this way using:

DELETE FROM SHARED BUFFER INDX(AR) ID 'TEST'.

Addition 1

... CLIENT f (after dbtab(ar))

Effect

Deletes the selected data cluster in the client specified in the field f (applies only to client-specific import/export tables).

Example

TABLES INDX.
DELETE FROM SHARED BUFFER INDX(AR) CLIENT '001' ID 'TEST'.






General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2114 Date: 20240614 Time: 040503     sap01-206 ( 26 ms )