Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

New Goods Movement Type for Inventory Manager

Hi Guys,

I need to change a goods movement code used on Mobile App Inventory Manager 4.0 to a custom (Z) goods movement code, the fileds are the same so I thought changing the constant will work for this as we do a GoodReceipt with no reference to Purchase nor Production order (gmCode = 501) with a custom, copied from standard, Movement type gmCode = 950 (this is a well known practice on ERP). I have changed only the global constant on my copied IM application, for testing purpose and the local GR was created with gmCode = 950 instead of gmCode = 501, but when I was transmiting in order to create goods movement document on SAP, the application throws an error like: "PostReceiptsSteplet - Goods Movement Impossible with good movement type 950 - Server error". So I would like to know first:

If is it possible to include or change the standard gmCode for custom gmCode on mobile app Inventory Manager 4.0?

What would it be the Best Practice to do this? The steps to include a custom movement type, now I know is not only changes on global constants

I have checked the java doc for this method "PostReceiptsSteplet", and it did not say anything about the constructor .... or how is used... what has inside... what is the condition of execution.... nothing ...

Please Help... @Mark Pe Former Member @Jason Latko Former Member @Manju Venkatesha



Tags edited by: Michael Appleby

Former Member


By looking at your error message. It seems to be that error is on SAP side not  Agentry/Java side. To be sure you can put a break on SAP side and debug .  May  be your custom  movement type 950 is expecting certain field values to be passed through standard BAPI. That's when you can see all these sort of errors.  One another thing you can do from your side is write standalone ABAP program, call the BAPI used by IM 4.0 and pass the field  values as passed by Agentry application.  That  way you can identify where the issues  exists.

Usually GMCODE "BAPI2017_GM_CODE"  will take values like 01,02,03 etc and not  movement types as you have indicated. may you  meant movement code.  Check BAPI_GOODSMVT_CREATE documentation.

I hope it answers your question.



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question