on 2010 Feb 24 2:46 PM
hi friends.
hope your doing good .
I am facing a problem when i use " BAPI_GOODSMVT_CREATE". i am getting an error message as " Deficit of PU GR quantity".
i have seen the material quanitity it is sufficient for positing the GR.
what will be the resone for this plz let know the solution.
thanks in advance.
~YSR.
Edited by: ysr@jay on Feb 24, 2010 3:51 PM
closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi YSR,
I am facing same issue. Please let me know if you have solution for this problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you are doing a cancellation or a return, right?
you cancel more with reference to a certain PO than you had received before.
this is not possible.
you can only cancel as much as you had received.
Please check the PO history tab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
thank you for your quick response..
i am reversing the GR with movement type '102' when i am doing first time it is working fine
when i am doing 2nd time it is not working it is giving the above error message
eg
total po quantity is 20
using movt 101 postted 10 quantity .
using movt 102 postted -10 quantity . for reversal " in this case it is working
using movt 101 postted 5 quantity .
using movt 102 postted -5 quantity . for reversal ' in this case FM is not working and it is giving the above error .
using movt 101 postted 10 quantity .
~ysr .
It worked for me! Thanks!
In the OSS Note 520813, you can find follow text:
-
-
7. Question:
When I try to post a goods receipt for the purchase order using a BAPI, the system displays error message M7 021 'Deficit of & & & &'. The goods-receipt based verification is active, and the item in the purchase order may have already been cancelled once.
Which fields do I have to fill when calling the BAPI to avoid this error?
Answer:
In this case, you must also transfer fields LFBJA, LFBNR and LFPOS from the purchase order history (table EKBE); otherwise, the system cannot find the correct document. For more information, see Note 109396. Even though this note refers to an IDoc processing, the same logic also applies to BAPI_GOODSMVT_CREATE.
Fill fields GOODSMVT_ITEM-REF_DOC_YR, GOODSMVT_ITEM-REF_DOC and GOODSMVT_ITEM-REF_DOC_IT in the BAPI interface and test the system behavior again.
-
-
Just fill up GOODSMVT_ITEM-REF_DOC_YR, GOODSMVT_ITEM-REF_DOC and GOODSMVT_ITEM-REF_DOC_IT fields and bing!
Regards
Flávio Furlan
User | Count |
---|---|
97 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.