Selective deletion with an abap program?


we have in our project a Cube and a DSO.

Is it possible to use a function module or something to delete data selective?

We would like to automatise this with an abap report.

Have anybody a example for us?

Thanking you in anticipation.