We want to delete the planned orders during MRP, but before saving is done.
So, we are trying to use the BAdI MD_PLDORD_CHANGE and method CHANGE_BEFORE_SAVE_MRP .
After finding out the process order, we were trying to set the importing parameter IM_VSTAT to "L", which can be used to delete the planned order..
But since it is an importing parameter, we cannot change the value of the parameter.
Is there any alternate ways of deleting the orders before MRP is done ?