Skip to Content

Return Order Qty should not be more than Invoice Qty

Dear SAP Gurus,

I have a requirement. Usually when user creates Return order with refer.to Invoice, then  he can add more quantities than Invoice quantity. When user increases the quantity more than Invoice qty then system gives only warning message but system allows to save and even allows to PGR. My requirement is if user is increasing the quantity, system should give error msg and block the return order.

Plz tell me how can we achieve this requirement? Whether we have to use Routine or User exit and what logic we have to give to our ABAPers.

Thanks & Regards,

Tiwari

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • May 26, 2014 at 04:57 PM

    Dear VC:

    Have you tried to change the log from warning to error, whit this change wont be possible to save the changes.

    Check it and revert.

    Regards

    Antonio Martinez

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Jose Antonio Martinez

      Hi Tiwari

      I have test OVAH is working well as suggested by Jose.

      @Manjunath v:- Validation and substitution is functionality is not applicable for SD module.

      Regards

      Arun

  • May 29, 2014 at 05:36 AM

    Dear All,

    Thanks for your reply.

    Regards,

    Tiwari

    Add comment
    10|10000 characters needed characters exceeded

    • Dear Tiwari:

      Thanks for the feed back 😊, and also take into account the second part for your query, if you mark the log as error won't be necessary to block the return order, due is not allowed to save the changes if you increase the quantity.

      Regards.

      Antonio Martinez.

  • May 27, 2014 at 09:08 AM

    Dear VC,

    kindly let us know if your issue is resolved or not as per solution given by JOSE ,if not kindly share the Error message or share the screen shot .so that we will give solution according to that .

    Regards,

    C.B Reddy

    Add comment
    10|10000 characters needed characters exceeded

  • May 27, 2014 at 09:29 AM

    Hello Tiwari,

    Try to create the validation rule in the transaction code GGB0 by providing the condition as Invoice Quantity and Return quantity is equal if not  or less than or more than.

    and test the business scenario  by activating the Trace.

    Regards

    Manjunath

    Add comment
    10|10000 characters needed characters exceeded