cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with BAPI BAPI_GOODSMVT_CREATE

Former Member
0 Kudos

Hello,

I am using BAPI_GOODSMVT_CREATE to post goods mvt against PO. When the PO is fully delivered and if i run my program again, it again posts against the same PO

How can i avoid this ? Won't the BAPI check this automatically ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

anup_deshmukh4
Active Contributor
0 Kudos

Probably your Functional Guys need to do some customization for this ...Because Excess Dilivery against a po is possible...!

Edited by: Anup Deshmukh on Mar 8, 2010 1:12 PM

Former Member
0 Kudos

Hi Anup Deshmukh,

But if i try it from MIGO for the same PO..It does not allow me to post...Any idea where i can check the setting you have mentioned ?

Thanks

anup_deshmukh4
Active Contributor
0 Kudos

Can you plz Elaborate what error msg you get when you post it through MIGO and

What Retrun message you get When you post it through BAPI

Former Member
0 Kudos

Hi Anup,

When the PO is fully delivered, and if i use MIGO for the PO it issues a message "Document 4100000105 does not contain any selectable items".

But when i post using the BAPI it posts again (even when the PO is fully delivered), which should not happen...Ideally it should give a error !!

Thanks

anup_deshmukh4
Active Contributor
0 Kudos

Just Check in the PO history in Tcode me23n for the line after you execute your bapi successfully and commit ...! what does it show...! if your bapi is successful in posting the material document then in PO history it should reflect the quantities transaction just show it to your functional people...Tcode...and chek.. if that is the case ...Chek

Former Member
0 Kudos

Hi,

Solved....It was because of "Unlimited" Check in the delivery tab in PO....

Thanks Anup

Answers (2)

Answers (2)

Former Member
0 Kudos

You can put a check on the P.O which is already been processed.

When PO stock quanity decrease to zero. Dont post the PO again

Can this be useful?

Regards

Bhanu

anup_deshmukh4
Active Contributor
0 Kudos

Excess Dilivery is possible Check with your functional guys...!