Skip to Content

Return delivery error --> wrong document flow?

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Aug 24, 2016 at 06:29 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2016 at 01:24 PM

    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,

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.