Ansicht
Dokumentation
ABAPDELETE_FROM_DATABASE - DELETE FROM DATABASE
BAL_S_LOG - Application Log: Log header data rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
DELETE - Delete a data cluster
Syntax
DELETE FROM DATABASE dbtab(ar) ... ID key.
Addition:
... CLIENT f
Effect
Deletes the data cluster stored in the table dbtab under the area ar (constant) and the ID key (field or literal)
(EXPORT ... TO DATABASE ...).
Example
TABLES INDX.
TYPES: BEGIN OF TAB OCCURS 1,
CONT(30),
END OF TAB.
DATA: FLD(30) TYPE C,
TAB TYPE TABLE OF TAB_TYPE WITH NON-UNIQUE DEFAULT KEY,
WA_INDX TYPE INDX.
...
EXPORT TAB FROM TAB
FLD FROM FLD TO DATABASE INDX(AR)
ID 'TEST'.
You can delete this data cluster with the following statement:
DELETE FROM DATABASE INDX(AR) ID 'TEST'.
Addition 1
... CLIENT f
Effect
Deletes the data cluster in the client specified in the table f (only with client-specific import/export databases).
Example
TABLES INDX.
DELETE FROM DATABASE INDX(AR) CLIENT '001' ID 'TEST'.
Additional help
Deleting Clusters from Cluster Databases
RFUMSV00 - Advance Return for Tax on Sales/Purchases PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 2086 Date: 20240328 Time: 210012 sap01-206 ( 22 ms )