Delete (cancel) sales order with subsequent document - delivery

Hello,
The question I have is probably very simple, but still need an advice (or confirmation for described approach)
To make it easier I will use names for SO (like S01,SO2...etc) and deliveries.
Customer created 1 sales order (SO1) and from it Outbound delivery (OD1). This Outbound delivery (OD1) has 2 items:
first item from another sales order(lets call it SO2)
and second from SO1
The delelivery quantities are as follows:
Item one (for SO2) : 100 (its all pieces)
item two (for S01): 0 (zero!)
Delivery is done by external software and SAP system only receives confirmation that it was successfull (completed). The delivery OD1 is completed.
Unfortunatelly customer created another Sales Order (SO3) for the same goods and created another outbound delivery (OD2) with delivered quantity equal to all ordered goods (not like for OD1, where we had zero).
We have following situation:
SO1 and SO3 are for the same goods, so SO1 has to be cancelled.
SO2 is ok and has nothing to do with the problem.
Cancellation of SO1 is not possible, because there is outbound delivery (but with delivered quantity 0). The only possibility I have in mind is to reject SO1 (and it gets status completed). This looks fine, but the problem is with the outbound delivery (OD1). I cannot remove second item (for S01) because the delivery status (overall) is "completed". The system says:
"The goods movement status (partially or completely processed) does not allow the item to be deleted."
For me its fine to leave the delivery as it is, becuase the delivered quantity is equal to zero.
The are no other documents in the system (like invoice)
What do you think?
regards
Rafal

Hi,
Thanks for quick reply.
See: there  was goods issue, but in document flow it shows goods issue only for item 1. Remember that item 2 that I don't need (want to delete) has Actual quantity delivered (in sales units): 0. Only delivered quantity for item 1 is correct.
For items:
Goods movement status (GS) is "completed" for both items
Billing status of delivery-related billing documents (BS) is A (not yet proccessed) for both items
Overall status:
Overall picking / putaway status - Completed
Total goods movement status - Completed (and this is why I cannot remove item 2)
Billing status : A (not yet proccessed)
On the "document flow" screen I see the status for delivery " being proccessed. This is becuase of the missing billing, right?
My question is like this: do I have to care about item 2 from the outbound delivery (after I rejected sales order connected to it), or do I have to delete it somehow. Although there is item on the list it has "delivery quantity" zero, so I don't think it will influence billing. Right?
I don't want to delete whole delivery. Only solve issue with item 2, where delivered quantity is zero. I need just confirmation, that if I leave it with zero and cancell connected sales order, then this will be ok.
Regards
Rafal

Similar Messages

  • Cancellation of sales order with subsequent documents

    hi,
    i created an order on IDES followed with a delivery, a transfer order , posted the goods issue and created the billing doc. with ref. to del.
    no accounting documents were generated when i checked the billing doc. I cancelled the billing doc. and now it shows the status of the invoice and invoice cancellation as CANCELLED, but when i try to delete the delivery, it says : BILLING OPERATION. FOR ITEM 10 AND 20 EXISTS AND TRANSFER ORDER FOR ITEM 20 EXISTS...
    wat do i do now ? been trying to cancel the order , if u ask me to cancel goods issue, then plz guide me how that is done too ?
    thnx in advance.

    To cancel the goods issue, you have to cancel the material document created. Use VL09 to cancel the Goods Issue. Use LT15 or LT0G for Transfer order cancellation, VF11 cancels the billing document and VF26 cancels the invoice list(if created). Check your document flow to see if there are any documents. Make sure you check the document flow for all the items, not just the header.
    Srinivas
    Welcome to the forums at SDN. I see that you registered today. Please go through the community guidelines located on the left side of your SDN page.

  • Can we create Return Sales Order with Ref to Delivery

    Dear Friends,
    Can we create a Return sales order (RE) with reference to Delivery (LF)?
    If yes,how?
    If not,why?
    Regards,
    Shrikant

    Hi there,
    As per the standard process we donot refer RE with LF. 1 reason may be coz for returns order, we need to copy pricing either from OR or F2. Coz in LF pricing is not copied from OR. If you check the copy control from OR to LF in VTLA, at item level, you will not have any control for pricing type.
    In most of the cases we refer returns to F2 sothat it will be easy to raise a credit memo to refund the customer. This is also because not all items in the order are delivered & invoiced (in partial delivery scenarios when all items are not confirmed)
    Regards,
    Sivanand

  • Create sales order with billing document reference

    Hi All,
    I want to create a credit memo order with refernce to a billing document. As already configured, everything is working fine. The managements now wants a new modification in which the value of the credit note should be posted into a separate GL code and not the sales GL account. In order to achieve that i have made a new pricing procedure with a different accounting Key. How can i link the new pricing procedure in the credit memo order because if i create the credit memo order with reference, it copies the old pricing procedure.
    SAPXPT

    Hi,
    Pricing Procedure get picked up based on the settings you have done in, OVKK transaction.
    If you look at that, you have enter a combination of sales area, document pricing procedure & customer pricing procedure against a pricing procedure.
    So when determining it goes and check the Doc pricing procedure of your sales document type (Which is your Credit Memo Request)
    Then it checks about the Customer Pricing Procedure specified in the Customer master of your Credit Memo Request
    Then it comes to OVKK and check the valid combination and determine the relevant procedure.
    So You have to create a new Document pricing procedure for your Credit Memo Document Type first.
    Then Assign that to your Credit Memo Document Type
    Then create the relevant combination with the customer Pricing Procedure in OVKK.
    Now test from a fresh data set. 
    It should be OK.
    Best regards,
    Anupa

  • Cancel Sale Order after Issued Billing

    Hi all
    I have a Sale Order, Billing already create. But now I want to cancel this Sale Order.
    Could you please tell me step by step cancel this Sale Order ?
    Thank and Best Regards,
    Thang

    HI Thang...
            You can no doubt delete the sales order using transaction VA02, but there should not be any subsequent document created against it. Deletion /cancellation can only happen even if the subsequent documents are NOT created.
    Sales Order with subsequent documents cannot be deleted. After cancelling the invoice and deleting the delivery document, we can set the reason for rejection at the Sales Order Header Level.
    Steps:
    1. Cancel the invoice through T code VF11
    2. Reverse the Goods Issue using VL09, turn the pick quantity u2018zerou2019 in the delivery document
    3. Delete the delivery document using VL02n.
    4. Finally set the reason for rejection at the Sales Order Header Level. (So Bala, just check the SO you want to delete ever had any subsequent document? ) Note: An Invoice cannot be deleted but canceled. It can only be canceled with (VF11) only if the relevant accounting document is not generated.
    Generation of accounting document means the value is posted into accounts and G/L accounts are hit. SAP FI department needs to reverse the accounting doc on a real-time scenario. Only after the accounting doc is reversed invoice can be canceled. Tax documents generated through the Invoice (Tax is maintained on a separate account) also need to be reversed but this is a part of FI so an SD consultant just needs to request the FICO guy to do the reversal.
    Kindly reward if this helps...
    Thanks..
    Safeer Rahman

  • I have deleted a sales order,how to retreve the same document number

    Hai,
        I have deleted the sales order,so that document number is out.When i craete the next order will i get the same number which i have already deleted.
    I want the same number again,for that what should i do...
    I dont want that number be missed,the reason is there should be a flow in number,with out missing some numbers in between.
    Thx
    Venu
    Edited by: venugopal on Aug 6, 2008 9:12 AM

    Dear Venu
    Yes this is possible but should not hand over the responsibility to end users.
    B4 implementing this in production, please test a document and proceed.
    Go to VOV8, select your order type and execute.  There see what numeric value is maintained against the field "No.range int.assgt".  Now go to VN01, [click on Status]  tab and go to that number.  On your right, you can see the last generated sale order number with editable option.  You can change it.
    For example, if your last created sale order reference is 805, you will see this 805 in the above area.  Change it to 804 and save.  Now if you create a new order, the reference of that particular sale order will again be 805.
    But as I already mentioned, each and every time, you need to go and change this area which is not recommended. 
    thanks
    G. Lakshmipathi

  • Link sales Order with contract

    Hi,
    We have created a sales orders using va01,but without referencing to contract.
    is there any way to link these sales order to the old contracts.
    Pls help,
    Thanks

    Hi,
    If your sales order has subsequent documents then it is not possible to link to your old contracts.For such orders this option will be disabled.
    For those order that don't have subsequent orders:
    Goto VA02 T.Code.
    Enter the order number.
    Enter.
    Ensure that the customer numbers are same in both.If not change the custoemr numebr in order.After that Click on Sales document-->Create with reference.While changing the customer the taxes will be redetermined.
    Enter your contract number.
    Click on copy.
    New material will be added here to your old one.If you want then you can keep this or delete the material of your order and then save.
    Or you can assign your sales order to contract also.
    Goto VA02,Enter your order number.Edit-->Assign contract.Her you can assign either Header or item also.
    Regards,
    Krishna.

  • Deleting Sales order with no subsequent documents

    Hi Gurus,
    As part of the development work , I have created many sales orders, few of which do not have any following documents. I would like to know the T.Code or process to get the list of all the sales order which do not have follow

    Hi Kumar,
    One way is to Goto VA02 T.Code.
    Enter the order number.
    Click on sales order  which is present in menu bar.
    Click on delete.
    But it is not advisable.
    another way is to provide the reason for rejection for the salesorder.
    These are the ways of deleting a sales order one by one.
    For bulk deletion the ways are:
    One way is to use the T.code MASS to delete the sales orders .
    Another way is , go to VA05 and in the Menu->select the Reason for rejection and put reason for rejection and close the sales orders .
    Regards,
    Krishna.

  • Load a sales order with delivery date in the past

    Hi,
    We want to load in the system a sales order with delivery date in the past, and maintain the schedule delivery date in the past. To do that, in the customizing Sales And Distribution / Basic Functions / Delivery Scheduling and Transportation Scheduling / Define Scheduling By Sales Document Type, I selected the flag Blackwards. But the problem is that the rest of the dates in the scredule line: goods issue date, loading date, material avail.date and transportation Plan Date, are in blank and you cannot enter any data because the system deletes it.
    How can I have these dates informed with dates in the past?
    Thanks in advance,

    You can control this using the "Message Control" in the SAP IMG.
    Supplier Relationship Management>SRM Server>Cross-Application Basic Settings>Message Control>Influence Message Control
    Using this you convert Error to Warning or even swith off this message.
    Please refer this thread for complete steps:
    Re: How to change an error message to a warning message in SRM
    Note: you need to suppress the messages relevant to your case here.
    Regards
    Kathirvel

  • Delivery Split from multiple sales order with signle ship to party

    Dear All,
    I have multiple sales oreder with different Sold to party and single Ship to Party.
    I want to combine all sales order into a single delivery but here deliver split due to different sold to party which I have checked through report ZLE_ANALYZE_DELIVERY_SPLIT.
    Can any body suggest me, whether i can write any copy control routine so that it will stop in splitting delivery.
    Please suggest if any other way of possibility.
    Regards
    Prashant

    All partners which stand in the partner schema of the delivery and which are copied from the preceding document are part of split criteria. The only mandatory partner of the outbound delivery however is the ship-to party.
    You can delete the sold-to party from the partner schema for deliveries with order reference and it is then no included in splitting criteria.
    Furthermore you can control split criteria in copy control routines -> field ZUKRL is used for this purpose. You can check standard routine FV50C001 for that.
    Your Z* code means that you have applied custom logic to define split criteria. But most probably it is called by copy control routines and the mechanism should be the same.
    For more details you can also check OSS notes:
    SAP Note 546668 - FAQ: Delivery split when creating deliveries
    SAP Note 166397 - Delivery split according to customer field ZUKRL
    Regards,
    Dominik Modrzejewski

  • Deleted sales order remains in document flow

    Hello!
    The problem:
    We had sales order with reference to a contract. We deleted the sales order (it doesn't appear in VBAK anymore), but, the sales order still appears in VBFA (if we see the document flow for the contract, the sales order still appears there as archived!!!)
    I deleted  the sales order in a regular way via VA02.
    I heared that there is a function module or another solution to fix the document flow.
    I also saw a solution for this kind of problem for delivery (SAP note 74513).
    Please assist,
    Thanks

    Hi!
    Thanks to Jelena!!!
    As she wrote that in these cases OSS can solve the problem and it happens a lot, we opened an OSS and got an answer:
    OSS answer:
    when you delete an order the corresponding entry in VBFA is not
    deleted. The system is not able to differ between archived and deleted
    orders, so to ensure that the document flow is also showing archived
    documents the entries in VBFA remain. This is also described in
    attached note 390905. When you are sure which entries in VBFA can be
    deleted you can use report SDVBFA00 to delete the entries.
    What we need to do:
    go to SE38 and run report SDVBFA00.
    Sales document is a contract number (preceeding document)
    "Delete" - put X or leave empty.
    The logic is:
    You put the preceeding document and leave the field "Delete" empty.
    The program finds by himself all the sales orders (following documents) that are connected to this contract and are deleted.
    You check that the system suggests to delete the correct sales orders
    Run this report again, but this time put X in "Delete" field and the sales orders will be deleted.
    Apparently there are several reports exist to solve VBFA problems SDVBFA00,SDVBFA01 etc.
    Thanks!

  • Link Sale Order with Delivery  through DTW

    Hi All
    While importing Deliveries through DTW, is it possible to Link a Sale Order with Delivery?
    If it is possible then can any one tell me the procedure.
    Thanks in Advance
    Chakrapani Bandaru

    In the template for the document lines, you will find fields for base entry, base type and base line . Fill these with the object type for sales orders, the line number and the doc entry (not doc num) of the relevant linked document

  • 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

  • Cancel a Sales order with a PP order

    Hi
    I want to cancel a sales order that has a production order assoiced with it . the production order has status REL  Released
    MSPT Material shortage
    PRT  Printed
    PRC  Pre-costed
    GMPS Goods movement posted
    RESA Results analysis carried
    SETC Settlement rule created
    The order dose not have any varent dollars assocated with it and the conformation has been removed 
    I can not cancel the sales order

    Hello,
    As the production order is associated with the sales order, it may not allow you to cancel/delete the sales order.
    TECO the production order, set deletion flag, if the production order is not to be used. After this reject the sales order with a Reason for Rejection or delete the sales order.
    Prase

  • Prevent Outbound delivery creation in sales orders with delivery block

    Hi gurus
         We are facing the following issue:
         Some sales orders have delivery block header and once they are saved an outbound delivery document is created; we want SAP system creates outbound deliveries only in those cases were sales orders have not a delivery block in header, is there any option or configuration we can use in order to prevent the creation of these documents?
    Regards,
    Edgar.

    Well Edgar,
    let's see then in spro
    Logistics Execution->Shipping->Deliveries->Define Reasons for Blocking in Shipping
    Check out the configuration of your delivery block reason and pay special attention to this instruction:
    "In sales documents, you can either enter delivery blocks manually at header level (business data in the sales document header) or they can be proposed automatically by the system. In the latter case, the delivery block must be entered in the respective sales document type (see chapter
    "Define sales document types"). In addition, the delivery block in the sales document header is only effective if the delivery block has been assigned to the respective delivery type."
    It must be something in the configuration of the delivery block reason you're using.
    Regards,
    Edgar

Maybe you are looking for