I have a situation where the material is already deleted in ECC (hence no longer existing), but the product is existing in APO and we need to delete this in APO. To do this, we need to delete the dependent orders for that product/location first and then other dependencies.
There are few orders for the prod/loc as confirmed purchase orders (ord cat BF). These orders are now PP/DS orders with status as PP firmed, output firmed and date fixed.
I have tried the two programs- /sapapo/rlcdelete and /sapapo/delete_pp_order, but system is not picking up the orders to delete.
The system shows as message as " No deletion of converted orders in active version"
As I said earlier, the product is no longer existing in ECC, hence I can not delete the orders from there.
Is there any other way to achieve this? Is there any BADI to do this in APO?