on 2023 Dec 12 1:30 PM
Plant A(Requesting) to plant B(Supplying) STO scenario:
Plant A is creating a STO on 8th Dec for a quantity of 500 Pcs. On that date, plant B has no stock. So production order is generated and the delivery date is 16th Dec.
Now, on 12th Dec, plant A decides to cancel the STO but the production is already started in plant B.
How can we restrict the plant A to cancel the PO?
Request clarification before answering.
Hi riyamd,
We can use the BADI "BD_MMPUR_FINAL_CHECK_PO" "Check of Purchase Order Before Saving" can be used to throw error when a Production process is started.
In the BADI first check whether it is an STO PO and a Block or Deletion process has occurred, if the above both condition are true then check whether any process with respect to current PO has happened, then throw some error message and block the saving of the PO.
OR
We can use the BADI "MM_PUR_S4_PO_OPEN" Open Purchase Order to make the PO to become as not editable, check whether any process with respect to current PO has been done then make the parameter ISREADONLY to True thus making the PO uneditable.
Check the above BADI documentation for more Info.
Hope this helps!!!!
Thanks and Regards,
Suryaprakash.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 30 | |
| 27 | |
| 21 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.