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: 

BAPI to Post Release GR Blocked Stock.

Former Member
0 Kudos

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.

Regards,

Ravi.

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

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.

Regards,
Raymond