Hi experts,
have an inbound delivery I want to return to vendor.
Easy - MIGO, use material document, check, post...
Unfortunatelly, it's not working for all inbounds.
In my case, I have a PO with one position, 2 ASNs are created (sum is 4000 pcs, I have 1 ASN with 1000, one with 3000)
I enter the material document for GR of the first, press check button in MIGO and get error VL 319 "Return delivery qty greater than previously GR-posted qty: &1/&2"
Now I tried to debug, found out that somehow qty from VBFA (RFMNG_FLO) is compared against qty I want to return.
In my case - this field is empty! It's the Referenced quantity in sales unit (float). Also the field for the UoM (VRKME) is empty. Checked material master, there's no qty maintained for purhasing (MARA-BSTME) is maintained.
Not sure if this causes the error?
Any ideas?
Thanks
Michael
Request clarification before answering.
Aaaargh! Found the real problem!
This plant is posting GR with a Z report.
First BAPI_GOODSMVT_CREATE for posting, then SD_DELIVERY_UPDATE for writing the document flow.
And the second one to update document flow missed the field RFMNG_FLO 😞 So the field is never updated in VBFA...
Have corrected coding, now working!
Thanks all for your suggestions.
Regards
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, If you are using a PO every thing needed to get posted as PO history . Have a look over it and see how much quantity is received and based upon it you reverse the quantity . Does your ASNs posts a PGR for the delivery created for the PO ? How much quantity you are tryiing to return . Simplae logic do not exceed the return quantity more than the alreday made the GR quantity . with your inbound delivery document are you going to return to vendor ? Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
real data:
PO qty - 4002 pcs
ASN 1 - 720 pcs
ASN 2 - 2004 pcs
ASN 3 - 1278 pcs
--> sum is fine
GR 1 - 720
GR 2 - 2004
Now I want to reverse the 720:
MIGO - A02 - R02 with material document
Error "Return delivery qty greater than previously GR-posted qty: 4500.../01"
Error can't be correct, rest is in, document flow seems to be fine - except VBFA-RFMNG_FLO which is empty, rest (RGMNG/RFMNG_FLT) is correct with 720 pcs...
Hi Mohammed,
coming from external vendor.
When doing the A02 Return Delivery R02 Material Document with MIGO, it's using the 122, so should be fine.
The most interesting part for me is VBFA -> when having 2 ASNs for one Purchase order, field RFMNG_FLO is empty. When I have only 1 ASN then field is filled with correct qty. Seems like something in document flow is wrong?
Regards
Michael
| User | Count |
|---|---|
| 14 | |
| 12 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.