Hi Abhishek,
You can create an Implementation in BADI ORDER_SAVE, and get the previous transaction with the help of DOC_FLOW table from order Read. From there you can get the transaction ID of the previous transaction and change the status.
Regards,
Karthik