Skip to Content
author's profile photo Former Member
Former Member

Selectively deleting transactions from Fact Table

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 22, 2004 at 11:18 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.