cancel
Showing results for 
Search instead for 
Did you mean: 

Selectively deleting transactions from Fact Table

Former Member
0 Kudos
174

Hello,

I need to delete transactions from an 'E' fact table where a particular keyfigure is zero (and optionally up to 2 other keyfigures are also zero). But any or all of the other keyfigures in the transactions to be deleted could be non-zero.

(The usual 'reverse posting' method of setting all the keyfigures to zero, and then 'eliminating zeros' will not work in this case, because most of the keyfigures (except the 3 mentioned above) have aggregation set to maximum, which makes it impossible to 'reverse-post' the value in these keyfigures to zero)

Is there a SAP supplied program which will achieve this flexible selection for deletion based on zero in just a few defined keyfigures?? All I can find is program: RSCDS_NULLELIM, but this program will only delete transactions where ALL keyfigures are zero.

Alternatively, if we develop our own ABAP solution, then does anyone please have any tips, comments etc that would prevent any serious problems. I should add that there are no aggregates on the fact-table, so there should be no issue there.

Thx in advance,

Peter Thornber

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

It may be a tedious process if you need to delete a large number of rows but you could delete them using the 'Selective Delete' option of Contents tab within the Manage InfoCube. You would need to identify each row individually through its characteristics (a case where a document line item dimension would be handy).

Another option would be to copy the cube, extract all data from the original into the copy, delete data from the original, then reload from the copy excluding the unwanted rows using update rules.