SAP DELETE DBTAB - Obsolete ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• DELETE dbtab ABAP Statement
• VERSION DELETE dbtab (obsolete)

DELETE dbtab, VERSION

ABAP_SYNTAX_OBS
DELETE ${ dbtab $| *dbtab $} VERSION vers.

What does it do?
This variant of the statement DELETE works essentially like the short form of the AB-SQL statement, but belongs, along with the addition VERSION, to the number of obsolete access statements, for which for dbtab, the name of a DDIC database table or a DDIC table view must be specified, beginning with T and comprising no more than five characters.
The use of addition VERSION means that the database table or view dbtab is not processed. Instead the table whose name is made up of T and the content of vers is processed. vers expects a data object with a maximum of four characters, of type c . The content of the key fields will continue to be obtained from the table work area dbtab or dbtab*. The statement is not executed if the database table or view does not exist or if it does not meet the name conventions specified above.



Latest notes:

The VERSION addition is not allowed in classes. Instead, specify the database table or view dynamically in its operand position in AB_SQL .
None of the additions possible in AB_SQL can be specified with VERSION.