Application Development 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: 

Is it possible to Reverse Goods Issue (VL09) with BAPI_GOODSMVT_CREATE?

suwandi_cahyadi
Contributor
0 Kudos

Dear Experts,

Is it possible to reverse Goods Issue (VL09) by calling BAPI_GOODSMVT_CREATE to reverse the material document?

Thank you.

Regards,

Suwandi C.

2 REPLIES 2

raymond_giuseppi
Active Contributor

Did you look at BAPI_OUTB_DELIVERY_CHANGE (Much better than BAPI_GOODSMVT_CANCEL)

Hello,

Thank you for the reply. I did check it for a while, but I didn't sure how to use it reverse PGI. Another thing that I'm required to do is to fill the Header Text (BKTXT) of the reversal material document, that's why I'm curious if we can reverse PGI with BAPI_GOODSMVT_CREATE, because we can pass the BKTXT there.

Currently the method that I've found is to use WS_REVERSE_GOODS_ISSUE, and either:

1) Create an enhancement to fill the BKTXT inside the FM

2) Make use of the MIMB_CANCEL_EXPORT, to export the BKTXT which will be imported in MB_CANCEL_GOODS_MOVEMENT, but this FM will also import other fields than BKTXT.

Thank you.