Skip to Content
author's profile photo Former Member
Former Member

Problem regarding Customer return order

Hi,

My problem is when sales order type ZRE(Customer return) is created with refrence to Invocie i have to check the quantity in the return order is less than the original invoice or not.If quantity in return order is greater than invoice quantity then i have to raise error message.For this which user-exit is suitable in sales order program SAPMV45A.

Thanks,

shyla kumar

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 06:27 AM

    hi

    at the time u will create return sales order with out invoice reference.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 06:51 AM

    Hi Shyla,

    Check the transaction VTAF,Select your target and source document and in the field "Pos./neg. quantity" put negative,so whenever your return order quantity would be graeter than your invoice quantity,you won't be able to proceed with the return delivery and your order would be blocked.

    Reward points if it helps.

    Regards

    Karan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      In my opinion in following the process we are forgetting the purpose.

      If in your case creating a returns order is necessary with reference to a invoice the purpose, to my understanding, is not to accept returns of a material without confirming its source.This can help in many ways for tracking the returns.

      In the present case when customer is returning some other item, it would be definilty from some other invoice which has to be quoted for accepting the returns.

      Next would come the question do we then have to create two returns orders for two invoices? and the answer is NO. As you can create an order with reference to as many documents as required. You can use Menu Bar Sales Doc>create with Reference.

      In this way your as well your co. purpose can be addressed.

      Regards,

      PATHIK

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 07:34 AM

    Use include MV45AFZZ . user exit change document. this is a common scenario.

    we have done it by passing error message.

    byee,

    raghu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 07:49 AM

    You ask the technical consultant to ttake the MATNR into i-tab and compare the check.

    send me you mail id i will forward the logic.

    award if helpfull.

    bbye,

    raghu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 07:50 AM

    use the EXIT

    Program name :SAPMV45A

    Include: MV45AFZZ

    Exit name: FORM USEREXIT_MOVE_FIELD_TO_VBAP

    Add a comment
    10|10000 characters needed characters exceeded

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.