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: 

GM_Code 03 and move_type 202, 262, 962

paul_schuette96
Explorer
0 Kudos

Hello,

im using BAPI_GOODSMVT_CREATE.

i have to implement this move_types (202, 262, 962) without reference to material document. Can I use this with gm_code 03?
I've tried the gm_code 05, it is only working for 262, 962 for movementtype 202 i got the error: Goods movement with movement type 202 is not possible.

I don't understand why the movementtypes all working with gm_code 03, because the movementtypes are for cancellation of consumption and the gm_code 03 is for Goods issue.

Can you explain why does it work? What is the gm_code doing?

BR and thanks

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Look in those tables in your system for those movement codes

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

Movement types -(T158B)-> List of transactions -(T156G)-> Liste of GM Code for BAPI

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

0 Kudos

Hey Reymond, 

thank you very much, that helped me a lot and I was able to solve my problem.

BR
Paul