Symptom
An error occurs while running Data Action(DA) to backup a version "The results of the data action 'XXXX' could not be published on version 'YYYY'. Publish cannot be performed because the transaction table has reached the maximum number of rows."
Environment
SAP Analytics Cloud 1.0
Cause
The issue is caused by the transaction table reaching its maximum number of rows due to the accumulation of zero records from deleted versions that are not physically removed.
Checking the "Private Versions Statistics and Analysis tool" from "Performance" tab, it shows that you have 22 billion records for all versions(many of them are for deleted versions).
You might have the question why the data records for deleted versions counts? Below is the explanation:
The key behavior here is how HANA physically handles deletions:
When a version is deleted in SAC, the rows in the underlying HANA column store are soft-deleted (marked for deletion via MVCC), not immediately physically removed. They remain in the fact table as "tombstone" records until a HANA delta merge + garbage collection cycle runs and reclaims the space.
This is why those 22 billion rows from deleted versions are still counting against the transaction table's hard limit of 2^31−1 (~2.147 billion). They are logically gone, but physically still present in HANA storage.
This behavior is documented in an SAP blog post below which shows a real case where a failed/deleted version retained millions of rows in the physical count.
https://community.sap.com/t5/technology-blog-posts-by-sap/sap-analytics-cloud-performance-statistics-and-zero-records/ba-p/13675909
Resolution
Short term: Delete transaction data for "deleted" versions from facts table as below: Open the model from "Modeler" -> Click "delete facts"(the pencil icon) ->set filters for data to delete and execute.
Long term: Before deleting any future BAK version, run the zero record cleanup data action against it to purge the physical zero records while the version still exists. Refer to the WIKI article below:
See Also
Additional information:
SAP Note 3149301 - Market Location OBIS Codes without market role assignment not relevant for UTILMD
Keywords
KBA , LOD-ANA-PL-DA , Data Actions , Problem
SAP Knowledge Base Article - Public