SAP SD return sales order

Hi ,
Say, we have a return sales order and subsequent documents( returns delivery, reversed goods issue and credit memo) for a particular sales order. if we again try to create a return sales order for the same sales order,currently,SAP gives information messages stating "return order exists" and "credit memo exists",but allows to create a return order again.
Instead of information message i need a hard stop wherein error message has to be thrown if already return sales order exists.how do i implement this.Is there any user exits or BADI available?
Thanks,
Sudhahar N

Dear Mr. Visnu Sanapureddy,
During the creation of returns order, already referenced quantity
(return order quantity that is already present) gets calculated
dynamically using XVBAPF structure. This structure
gets data from the sales doc flow table.
All the above calculation happens after the execution of
requirement routines present in copy requirements. So your suggestion
is not possible.
Also VBFA structure is not available in those copy requirement routines.
I think your suggestion is not possible, could please check this.
---Dave

Similar Messages

  • Returns sale order stock from returns to quality error

    Dear All,
    For FG Material we have activated Inspection Type '06' - Returns from Customer Inspection and Inspection Plan with Usage 'Goods Issue 06' also created.
    We create return sale order material comes in returns and we need Inspection lot with '06'. so in MB1B using mvt type 457 trying to move stocks from returns to quality but system is not allowing to transfer stock it gives error Change Inspection stock in QM only.
    kindly give your suggestion for this error.
    Regards,
    sakthivel

    For FG Material we have activated Inspection Type '06' - Returns from Customer Inspection and Inspection Plan with Usage 'Goods Issue 06' also created.
    SAP has returns set up to create 06 inspection lots. These are not stock relevant. In this case the inventory goes into the return stock category and another move must be done to move the material to unrestricted or blocked as needed it will not allow to move to QI
    If the material should go into QI stock and be under QI control, then config must be changed to use the 05 inspection type instead of 06.
    We create return sale order material comes in returns and we need Inspection lot with '06'. so in MB1B using mvt type 457 trying to move stocks from returns to quality but system is not allowing to transfer stock it gives error Change Inspection stock in QM only.
    In SPRO SD schedule line category for returns(DN) change movement type to 655 and make relevant settings for QM movement types.
    Check below relevant thread for more information
    sales return
    Cheers
    KK

  • Billing document should not be cancelled after creating return sales order

    Hi All,
    Billing document should not be cancelled after creating return sales order with reference to billing document. Please suggest configuration settings on the same.
    Sudheer.

    Hi,
    In SAP, when the sub-sequent document is existing , we can not cancel the preceeding document. Therefore if you want to cancel the billing document you need to calcel the documents which are created with reference to that.
    Check and confirm.
    Regards,
    Ravi Duggirala

  • How to Restrict Return Sales Order with reference to a cancelled invoice

    SAP Standard is allowing to create Return Sales Order with reference to a cancelled invoice which practically should not be allowed.
    Has any body worked on this problem and what could be the possible solutions so that return sales orders can not be created against a cancelled invoice.
    Kindly share your possible solutions.

    Hi Standard Process will not allow to create a Sales Order With Cancelled invoice,
    Kindly go through at Copy Controls
    T.CODE:VTAF
    in that some body might have maintained between S1 invoice to RE Sales Document.
    Remove the settings then u will be not able to create Sales Order w.r.t to Cancelled Document.
    Rewards if Usefull
    B.Shyam Sunder
    SAP SD Consultant

  • Return Sales order  from PM notification

    Hi,
    While creating  a return sales  order for  a equipment  which has  service item  from  PM service notification  . System is showing an error message while saving  service notification instead of  careting a return sales order. The error message as follows.
    u201C
    Repair item have to be assign to  Main  itemu201D  V2094
    We have  equipment  Master data  for this main  item also  maintained  equipment  BOM. We checked alll our config as per SAP note  for this message number. Every thing  looks like is OK. But We are not sure what could be the reason u201C
    Please help
    Thanks

    Hi  
    We got the solution. There was a  SD  configure error for  item category determination for main and sub item. That was reason why the system was not abel determine main item and sub item
    Thanks

  • Free Goods Flow in Return Sales Order

    Dear Experts,
    I have a question that is how to make the free good item(TANN in order and RENN in returns) flow automatically in the return sales order along with the REN items. Does it involve item category proposal in copy control for billing document to sales document.
    Presently free item of preceeding billing document is not getting copied to my return order. Please inform us the config steps for the same.
    Thanks in Advance,
    Regards
    Srini

    Hi,
    This scenario is not supported by standard SAP.Please go through the OSS notes--549505 or go through the link given below
    [Constraints in Free Goods|http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fa4e545a11d1a7020000e829fd11/frameset.htm]
    You may need to go for a Z development to meet your criteria.
    Regards,
    Phani Prasad

  • FREE GOODS DETERMINATION IN RETURN SALES ORDER

    Hello SD experts,
    When i am creating return sales order with reference to original invoice document, system copies only the main item,however it is not copying the Free Goods item even though it is displaying both the line items while adopting through option 'line items' in VA01.
    I would like to request you, what system setting i need to do, so that it considers the free goods item too while adopting / copying from invoice document along with main item.
    Any help for the above said regard is highly appreciable.
    Thanks and Regards,
    Vishwanath

    Hi,
    This scenario is not supported by standard SAP.Please go through the OSS notes--549505 or go through the link given below
    [Constraints in Free Goods|http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fa4e545a11d1a7020000e829fd11/frameset.htm]
    You may need to go for a Z development to meet your criteria.
    Regards,
    Phani Prasad

  • Pro Rata Free Goods in Return Sales Order

    Hi,
    I would like to know if the system can automatically propose the Free Goods in the return sales order when created with reference to the billing document.
    The Billing Document has a
    Main Line Item -- 100
    Free Goods    --   10
    and when a returns sales order is created with reference to the above billling document, the system displays both the above line items in the returns order and if the customer is returning only 50 the requirement is the system must automatically propose 5 free goods once the mail line item quantity is changed by the user.
    Regards
    PJ.

    Kindly let us know how you are giving free goods manually or you are using MATERIAL INCLUSIVE OR EXCLUSIVE
    If you are doing it manually then in return order it will not determine it
    If you are using MATERIAL INCLUSIVE OR EXCLUSIVE then it should determine automatically
    *Free goods - In SAP there are two types Exclusive and Inclusive.*
    Exclusive - Buy 100 and get 10 free. This means you have to buy minimum 100 pieces then on that you will get 10 piece absolutely free.
    Inclusive - Buy 100 get 10 free. In this case it means you are paying for only 90 item and the other 10 item is absolutely free.
    Configuration:
    IMG - Sales & Distribution - Basic Functions - Free Goods - condition technique for free goods -
    1. create the condition table.
    2. maintain access sequence and assign the condition table to the access sequence.
    3. maintain condition type and assign the access sequence to the condition type.
    4. maintain the procedure for free goods and assign the condition type to the free goods procedure.
    5. Activate free goods determination. In this enter sales org., dis channel, division , docu pri pro, cust pri pro and the free goods procedure.
    6. now go to VBN1 - create free goods determination. Select your condition type, key combination and enter. Here you enter sales org, dis channel, customer no., Valid from and Valid to dates. Then you first select whether it is exclusive or inclusive free goods determination. By default it will be inclusive if you click on exclusive it will become exclusive and on top it will display inclusive. Here you enter minimum quantity for free goods and from what order quantity the number of free goods. You can control the delivery also in the second last column(free goods delivery control).
    Save the record. Go to VA01 create the sales order , enter the item and the minimum quantity for free goods to be applicable and observe the results.
    Edited by: Vishal J on Nov 24, 2010 1:10 PM

  • Condition Type to be excluded whil creating Return sales Order from invoice

    Hi Frnds,
    I have the following requirement.
    Sales order order is created and its delivered and invoiced too. This sales order has some freight pricing condition types (RCD1, RCD2...)included since its shipped to customer.
    When the customer wants to return the goods, there is a return sales order is created with reference to the invoice created above. Now, the RCD1 and RCD2... should not get copied to return sales order.
    How do i achieve this? Please let me know any user exit, BAdi or Enhancement spot where i can add code to avoide these condition types from being picked up.
    SAP system is ECC 6.0
    Regards.,
    Karthick C

    It can be achieved by implementing a custom requirement routine. If you go to the the transaction VOFM, you will find "requirement" in MENU. You select 'Pricing' on drilling-down it. Following document may help you in creating requirement routine..
    http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
    All requirement routines has similar pattern of writing... Your code may look like as follows:
    FORM KOBED_901.
    sy-subrc = 4.            "By deault condition is false.
    If NOT XKOMK-AUART = 'RE'.                   "RE is returing order type.
       sy-subrc = 0.        "This means For other than returning orders all others condition is true.
    endif.
    ENDFORM
    Once you activate routine, ask functional consultant to attach this to the Condition RCD1 and RCD2. Then, You'll not get RCD1 and RCD2 for Return sales Order.
    Please check and confirm and revert back if you want further details..
    Edited by: Pikle Audumbar on Oct 17, 2009 1:09 AM

  • Item status of a return sales order

    Hi,
    When I created a return sales order, the overall status for item is blank instead of the usual 'open', please indicate why, or where I should check to solve the problem.
    Best Regards,
    Helen

    HI,
    You can check the standard SAP tables for the document status.
    VBUK - Header Status and Administrative Data
    VBUP - Sales Document: Item Status
    Hope this helps. Reward points if helpful.
    Regards,
    JLN

  • When I create Return Sales Order through BDC sales order doesnu2019t create.

    Deal Guru,
    When I create Return Sales Order through BDC sales order doesnu2019t create.
    It shows created sales document number but when I display this document I am getting message Document is not in database.
    After executing my BDC, message received in SAP in box : SAPSQL_ARRAY_INSERT_DUPREC
    I am receiving following message in SAP inbox for following issue.
    But when I create Return Sales Order through VA01, it is working. Please give me some idea.
    Detail Message
    Update was terminated
    System ID....   PRO
    Client.......   900
    User.....   DEVELOPER2
    Transaction..   VA01
    Update key...   4961DBF46A6B09D2E10080020A02281C
    Generated....   05.01.2009, 16:03:40
    Completed....   05.01.2009, 16:03:40
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Regards
    Makarand

    Hi Rory
      Try this link:
       BAPI can't to create SO,But used bapi data with manual can?
    Regards
    Neha

  • Return sales order-manual item discount distribution error

    Hi All,
    I have created a sales order for an article with a quantity of 10 CS.
    At item level i gave one manual discount XXXX (Displaying charges Discount) of INR 100/-.The sales order is perfect till i billed it.
    The customer sends back 1 CS (case) for some reason.
    I created a Returns sales order and when i checked the discount XXXX, same INR 100/- is pulled from sales order.
    This discount value should have been divided by 10 and for one quantity it should have been INR 10/- in Returns sales order.
    I tried by clicking the update button in returns sales order. Nothing is changing.
    Please suggest me how do i control this functionality?
    Thanks,
    Prince.........

    Hello Prince,
    This is strange. The revaluation of the quantity based discount condition type must have happened as soon as  you modified the quantity.
    At what point in time do you modify the quantity in the returns order to reflect the actual quantity being returned? Have you verified that there is no custom pricing routine that overwrites the value determined by the standard SAP logic as a result of the quantity modification?
    You can refer to the SAP note 930870 that explains the circumstances under which SAP does not perform a revaluation of the condition type.
    Best Regards,
    Balaji

  • Workflow fo returned sales order modified from updating the billing block t

    please tell me how to find returned sales order modified from updating the billing block to delivery block and how to create blocks here.i want to know updating means what is happening here.

    Thread locked.
    Beginner questions are very welcome, but your question makes it obvious that you didn't even bother looking at the help or searching on SDN.
    Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] on how to post a good question and make a little effort yourself before expecting people to give up their time to help you.

  • Urgent: How to copy multiple sales order items into a return sales order?

    Dear developers,
    I have a requirement to copy multiple sales order items into a single return sales order. For example, generated return sales order have 2 items, item 10 is created with reference to sales item 2610/10 and item 20 is created with reference to sales item 2611/20. What's more, when it happens, copy control should be taken care of. I know it is possible to create this kind of order by transaction. But how to do it in coding?
    In current SAP release, there is only BAPI for creating with reference on 1:1 relationship which means copy one document to another but what I need is N:1 copy.
    Any suggestion is high appreciated!!
    BR,
    Tony.

    Hi ,
    If you are creating sales order by using bapi then after calling bapi you can check import parameter <i><b>SALESDOCUMENT</b></i> in the bapi function module .If this parameter is not initial then sales order is created in this case you can create return order. If this import parameter is initial then sales order is not created and you cannot use return bapi function module.
    Bapi is simple method than BDC.
    In above case it is required to call BAPI_TRANSACTION_COMMIT after every successful sales order creation.
    One more important point is you have to clear import parameter <i><b>SALESDOCUMENT</b></i>  before calling sales order creation function module.
    Thanks,
    shyla

  • New Workflow for returned sales order modified from updating the billin

    now i am creating Created Workflow for returned sales order modified from updating the billing block to the delivery block.tell me how to do this.ca n use here the control approval process.

    Thread locked.
    Beginner questions are very welcome, but your question makes it obvious that you didn't even bother looking at the help or searching on SDN.
    Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] on how to post a good question and make a little effort yourself before expecting people to give up their time to help you.

Maybe you are looking for