While creating PM order in IW31, system is creating PRs in back for each line item at the time of release. We have some validation on PR part with the enhancement M06B0005. I kept one error message for one scenario and its working fine from PR. But when the same condition met while creating PM order and inturn creating PR, its throwing same error message. We have expected that and we need it as well. But after getting error message, if I press enter its going to short dump. If I use warning message or information message, its just showing message and in back ground it releases PM order. How can we avoid shot dump and allow the system to change the specific values based on condition, so that system will produce PR wihtout any error.
Kindly provide some solution. I tried to with Roll back also but could not succeed.