Application Development and Automation 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: 
Read only

BAPI_GOODSMVT_CREATE

Former Member
0 Likes
794

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.

6 REPLIES 6
Read only

Former Member
0 Likes
739

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.

Read only

0 Likes
739

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.

Read only

0 Likes
739

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

Read only

0 Likes
739

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.

Read only

0 Likes
739

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.

Read only

0 Likes
739

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