cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Confirmation of production order through BAPI

Naveen7
Discoverer
0 Kudos
158

I just wanted some information regarding the Bapi can you please suggest me what else I can do for the below Query:

During the production order confirmation using BAPI_PRODORDCONF_CREATE_TT, goods movement is successfully executed. However, in the event of an error, the record gets stuck in COGI, necessitating manual intervention for clearance. My primary concern is to ensure that errors are detected and surfaced before the Commit Work statement. Is there a way to prevent the BAPI from posting if an error occurs in goods movement, or what alternative solutions could be considered?"

Accepted Solutions (1)

Accepted Solutions (1)

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

This is not possible due to the BAPI design (goods movements are posted asynchronously, in the update task). 

If you need to have the goods receipt posted to continue with any subsequent process, you might post it before the confirmation, using the MM BAPI.

Regards,
Caetano 

Answers (0)