cancel
Showing results for 
Search instead for 
Did you mean: 

Delete request from ODS based on condition

Sujai
Participant
0 Kudos

Hi

i want to delete a request from an ODS based on a condition thru a process chain. its something like this.

if <condition>

delete previous request.

else.

delete current request.

How do i do this?? i have tried using this program RS_DEL_ODS_1 but it does nothing when i execute it.

Regards

Sujai

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Sujai,

Deletion of specific request is not perimitted for ODS objects. You can delete the most recent request, but if you delete any previous requests, all the requests up to that request will also be deleted.

As far as the "IF" condition is concerned, process chains do not support an ad-hoc codition. Only "IF" condition can be specified is on whether the previous process was successful or not.

You may have to write an ABAP program to identify the requests to be deleted.

Sujai
Participant
0 Kudos

thanx Sudhi,

the deletion happens to the last request only, the last thats been already loaded or the the request thats currently loading.. based on the condition.

is there a FM that i could use in the ABAP program to delete the request from an ODS wihtout causing any damage to the other targets??

Regards

Sujai