Skip to Content

BAPI to Post Release GR Blocked Stock.

Dec 27, 2016 at 03:12 AM


avatar image
Former Member

Hello Gurus,

My requirement is to post MIGO to Release GR Blocked stock which have movement type 103.

After going through several posts i believe that BAPI_GOODSMVT_CREATE is the BAPI.

But I'm not sure with the parameters to be passed at :

GM_CODE: will be 01 (MB01 - GR for Purchase order)

04 (MB1B - Transfer Posting)? or something else?

I have also noticed that KZBEW is also to be filled while doing so. Will it be 'B' i need to pass at domain level?

Or is it a possibility that I'm looking at a Wrong BAPI?

Please help me understand.

Thanks a lot.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Jan 03, 2017 at 08:23 AM

Check for your movement code in both following tables in your system :

  • T158G "MMIM: Possible Codes for BAPI Goods Movement" Else BAPI not allowed
  • T158B "Check Table: Movement Type for Transaction Code" to find transactions allowed so correct gm_code to use in BAPI

For reference (documentation) read Note 520813 - FAQ: BAPIs for goods movements.


10 |10000 characters needed characters left characters exceeded