Hi Team,
I am having below scenario.
Today i have created the production order & performed the availability check. The availability check is passed & all the required materials are available in the storage location Z001. Now the Order status is : REL & MACM.
Note: I have two BOM items namely A1 & A2. In storage location Z001, i have stock of A1 & A2 as 10 & 20 respectively.
But due to some emergency reasons, the stock of A1 (10 qty) is transferred from Z001 to Z002.
Now i am again performing the availability check, now i am getting MSPT status since the stock of A1 is ZERO in Z001.
Now i would like to control the confirmation in CO15 that, if the order status is MSPT, the confirmation should not be posted.
The system status for MSPT is "I0004". I am searching for relevant business transaction for "Confirmation"in BS22 against the status "I0004". I have found many business transactions like "AM21 - Confirm", CU02-Partially Confirm CU", "CU03 - Confirm CU". etc. But i could not able to understand the correct business transaction for "Confirmation" & "Partial Confirmation".
Q1: Can anyone help me to identify the correct business transaction for "Confirmation" & "Partial Confirmation"?
Q2: While executing the BAPI "BAPI_PRODORDCONF_CREATE_HDR", the confirmation to be terminated if there is no stock of BOM items. Is this possible?
Thanks