Dear Shyam:
I changed the message M7517 from warning to error, but the problema is the same.
If the user click on "to order" icon in the first screen of MB1A and enter the Production order (wrong production order) it Works fine.
But if the user did not click on "to order" icon and just click enter, and in the next screen enter the Production order (wrong production order), material, quantity, Storage location, Batch and plant is posible to issue the raw material for a different plant of Production order.
Please see images attached