2014 Mar 27 2:25 PM
Hello experts,
I trying to perform a post goods receipt with a PO using BAPI 'bapi_goodsmvt_create' (I want to simulate a MB01, I use gm_code = 01 in the bapi). I have the following error message:
Dlv. type (dlv. catgry for mat. 704A46220023 and BWART 101) cannot be determined (message id = VL and message number = 295).
Do you have any idea where it comes from? I am quite new in ABAP and I am a bit lost with this message.
Thanks in advance for your help.
Lionel
2014 Mar 27 2:36 PM
2014 Mar 27 2:36 PM
2014 Mar 27 3:09 PM
Thanks for your answer Raymond!
In fact we want to post a material document but we don't want to create a delivery. Is it normal that we have to define a delivery type even if we don't want to create a delivery?
Thanks again!
2014 Mar 27 3:13 PM
2014 Mar 27 2:37 PM
Hi Lionel,
don't worry!
Maybe the material is not enabled on this plant?
Did you try to book the Goods receipt in Transaction MIGO?
If you want to book it the same way the Transaction does you can make a breakpoint at "call function bapi goodsmvt_create" in Debugger mode and save/copy the data to se37.
In se37 you can test all the different values.
To undo the booking of 101 try 102 later on for tests.
Maybe also SAPNOTE 540185 can help you for the current Topic.
BR
Bernhard
2014 Mar 27 3:15 PM