Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Capturing Failed Goods Movements While using BAPI_GOODSMVT_CREATE

Former Member
0 Kudos
572

Hello,

Is there a standard BAPI (that can record the failed goods movements in a COGI error) that I can use for goods movements of materials on a Production order ?

I need to capture the failed goods movements while using the BAPI_GOODSMVT_CREATE for materials on a Production Order.  I want to do this by creating a COGI error so that technicians can resolve the inventory issue easily.

I am told it is not possible at all to create COGI records using BAPI_GOODSMVT_CREATE.

I also read in thread https://scn.sap.com/thread/1212903 that it might be possible to use the work order confirmation BAPI and enter a kind of dummy confirmation with 0 qty and using the goods movement table of that BAPI for my posting.

I am interested in finding out more about how to use the confirmation BAPI with a dummy record to achieve this task.  Any help is appreciated.

Thanks

2 REPLIES 2

Juwin
Active Contributor
0 Kudos
380

I also search for this information a lot, a couple of months ago.

May be, experts like or or would be able to help.

Thanks,

Juwin

DanieleAcc96
Newcomer
0 Kudos
364

Hi have to create a custom program to run in background to post AFFW error like i' am using the COGI tcode,

Is there any bapi to process the cogi error? (Not the program coruproc) 

Is possible to use bapi_goodsmovement_create with some reference to clean cogi/AFFW errors?