SAP MODIFY DBTAB - Obsolete ABAP Statements



Get Example source ABAP code based on a different SAP table
  


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

MODIFY dbtab, VERSION
Short Reference

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

What does it do?
This variant of the statement MODIFY works essentially like the short form of the AB-SQL statement, but is one of the obsolete access statements along with the addition VERSION. For these statements, the name of a database table or a DDIC table view must be specified for dbtab, beginning with T and comprising no more than five characters.
The addition VERSION dictates that the database table or view dbtab is not processed, and the table whose name is made up of T and the content of vers is processed instead. vers expects a data object with a maximum of four characters, of type c . The row content is still taken 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 follow the naming conventions specified above.



Latest notes:

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