‎2012 Aug 31 12:08 PM
We are using tcode CO15 for Production order confirmations. In the
configuration ( OPK4 )we have set the error handling to
1) terminate for incorrect Act Costs
2) terminate for incorrect goods movement.
When we perform a CO15 manually for an order we cannot confirm the
order unless all the records are terminated. Our scenario is that there
is 1 header material and 4 components ( C1 C2 C3 C4) in the order. If
even one component has a discrepancy then the confirmation is
terminated unless the discrepancy is corrected. When I use the BAPI
BAPI_PRODORDCONF_CREATE_HDR the confirmation of the order is created
with the header material and component C1 & C2 getting posted and the
components C3 and C4 ( which had errors in them ) do not get posted and
are stored in the error records tcode COGI. When I confirm the order
manually with the same scenario I am not able to post the
confirmations.Whay does the BAPI behave differently from the manual
transactions?
Also when I use a BDC to do the confirmations the same result as the
BAPI occurs. The production order is confirmed with discrepancy.
Is there a source code correction which needs to be applied?
‎2012 Aug 31 7:18 PM
Dear,
Please refer the OSS note 208477 Consulting: Process control in confirmation which has clearly address this issue. OPK4 setting for terminate in correct good movement for component or cost will not work for confirmation BAPI
Also refer this link too,
http://scn.sap.com/thread/1810150
Regards,
R.Brahmankar
‎2012 Sep 01 6:12 AM