Ansicht
Dokumentation

ABENOO_OBS_VERSION_1 - OO OBS VERSION 1

ABENOO_OBS_VERSION_1 - OO OBS VERSION 1

CPI1466 during Backup   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Cannot Use VERSION Addition

The VERSION addition in the Open-SQL statements DELETE and MODIFY (and of course in the obsolete statements READ TABLE and LOOP AT) is not allowed in ABAP Objects.

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.






TXBHW - Original Tax Base Amount in Local Currency   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 950 Date: 20240426 Time: 191815     sap01-206 ( 23 ms )