Hi,
I am doing both confirmation and Goods movement using single BAPI 'BAPI_PRODORDCONF_CREATE_HDR' .But problem is for few order confirmation happens successfully and goods movement failed for some reason (mostly because of material shortage ) . But the issue is ,BAPI does not give any error message in case of Goods movement getting failed.It just says 'confirmation of order is saved' . Also its confirming the status to 'CNF' which is wrong,it should be 'PCNF' in case of Goods movement failed.
Note 208477 - says BAPI is executed in update mode so confirmation and Goods movement happens independently . Also it has got some thing to do with tcode OPK4.
Appreciate your help.
Thanks,
Srini