I had gone with Using std BAPIS
I am gettingb the result as Confirmation saved , But when I look into the Order The COnfirmation status is not there, ie the order header has not been Confirmed &
The documents has also not beed posted for goods Receipt .
Check this FM PP_CATT_CONFBAPI_HDR..
This calls BAPI_PRODORDCONF_GET_HDR_PROP to get the proposed values for confirmation and then calls BAPI_PRODORDCONF_CREATE_HDR for confirmation.
Also note that go to OPK4
process controlthat originally from T-Code OPKC, Automatic Goods Movement from BAPI always use update task or background task.
Also check . In order type Customizing (transaction CORN for process orders, transaction OPJH for production orders), the indicator for collective orders with goods movement is set may cause this problem.
Also refer the OSS Note 208477 - Consulting: Process control in confirmation.