‎2006 Dec 14 7:44 AM
hi friends,
I am testng BAPI BAPI_GOODSMVT_CREATE to get material document number.Iam paasing the following values :
In the header table : posting date, document date,refrence document no(process
order no.).
In the Item level : Material , plant ,storage location, movement type, sign , stock type, Order ID,Quantity, Unit of quantity.
If am testing BAPI with these values am not getting material document number.
Its throwing an exception : Update control of movement type is incorrect.
I checked in the transaction MB31.The data is same in both the cases.
Iam unable to find where was the problem....
Are there any more values to be passed..
Can anybody give a suggestion..
Help me out...
Thnaks in advance.
Regards
Sireesha.
‎2006 Dec 14 7:49 AM
u pass values for the following fileds
<b>GM_CODE = ' 01'.
MVT_IND = ' B '.
unit of measure should ISOcode unit of meadsure which u can get it from table t006</b>
regards,
aswin.
‎2006 Dec 14 8:01 AM
Aswin,
Thank u for ure reply.
This am using for getting the movement document for the process order.So previously i was passing the code ''02'. And now i changed it to '01' and mvt_ind = 'B' ,then its asking for purchase order. I have given purchase order.But it showing a msg : "No goods receipts possible for purchase order 1000183 ".
If i try to test it by removing the purchase order its asking " Enter Purchase Order".
Can pls u look into it once.
Thanks & Regards
Sireesha.
‎2006 Dec 14 8:05 AM
sireesha
i just send that for example .. read the doucmentation of the bapi .there it will be clearly mentioned which value u have to give for particular scenerio .it will give u correct value for ur requiremnet ..
regards
aswin
‎2006 Dec 14 8:11 AM
Aswin,
I read the function module documentation.Accoding to that am passing all these values.
As iam not getting doc number i thought that some more values to be passed.
Just i want to know am i missing any values.....
Can anybody have any idea ??
Rregards
Sireesha.
‎2006 Dec 14 12:49 PM
HI,
Am getting like the order is already being processed?does it mean material document number has been cretaed but not saved in the DB unless its committed.
But in which table i can check these values?
Regards
Sireesha.
‎2006 Dec 14 2:31 PM
check in transaction migo, enter goods receipt and check if the lines have been fully received. If you want to reuse the same po check the unlimited overdelivery flag