SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
Cannot Use VERSION Addition
In ABAP Objects, the following statements cause an error message:
DELETE dbtab VERSION vers.
MODIFY dbtab VERSION vers.
Correct syntax:
vers = 'T' && vers.
DELETE (vers) FROM dbtab.
MODIFY (vers) FROM dbtab.
Reason:
The VERSION addition only works with database tables whose
name satisfies the naming convention for R/2-ATAB tables. Dynamically defining the database table with bracketed field names replaces the VERSION addition.