I am trying to pull the production orders into MII 12.1 from SAP and trying to perform order confirmation at the order header level. so i am using BAPI_PRODORDCONF_CREATE_HDR.
I am able to do a confirmation in R/3. But when passing the inputs in MII, i am not able to do the confirmation, I get the error message as "order not found, check entry".
I am creating a production order (CO01), releasing (CO02) in R/3 and then trying to confirm from MII using BLS. I have verified the inputs what i pass in MII and at ERP to be the same. I also tried to release and confirm the order from MII using BAPI's. But both gives the same error, Can anyone suggest where i am going wrong?.
Inputs passed : Order id, FIN_CONF, yield, scrap and rework under ATHDRLEVELS table.