cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot delete sales order when invoice is canceled

Former Member
0 Kudos

Hi guys,

I have this problem. Proces is defined with two document: sales order and invoice. I have canceled invoice

with VF11 and set u201CReason for rejectu201D in sales order but status overview is not set as u201CCompletedu201D.

I cannot delete sales order, what is the problem any idea??

Thanks,

Nihad

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

you can not delete the order, because you have the invoice. That's SAP

You have to ser a Reason for reject.

The reason you used is not a reason, that canceles the order.

With the readon to reject you can do several things - not to print, not to deliver - not to invoice.

Go to Customizing, to inform you about the settings.

Try the other reasons, until you find the one, which sets you your status completed.

hans.

Answers (10)

Answers (10)

Former Member
0 Kudos

Ok, thanks for replies.

But can I delete sales order completely from the system and how?

In the first sales order I have invoice and I don't create delivery.

Should I cancel invoice and then cancel order items, when I do this error appears V1 489.

But status of the order is "completed".

For another sales order, I cancel invoice but the status of my order remains "open". When I try to delete item from the sales order again the same error appears.

So, one simple question is: How to delete sales order from the system completely?

Nihad

Former Member
0 Kudos

Hello,

Once the status of the sales order is 'complted' you will nto be able to delete the sales order from the system. You will need to reverse / cancel all the subsequent documents (Delivery, billing) and the status of the order will become open, then you will be able to delete it.

If there is a subsequent document is created and the order is referred to create some other document, the system may not allow you to delete the order.

It is always advicable to reject and order instead of deleting it.

Prase

Former Member
0 Kudos

Since there is a subsequent document in the document flow (even though the billing is cancelled) the order cannot be deleted. You can only give a reason for rejection for all the items in the sale order, which should make the order status as completed.

Regards,

GSL.

Former Member
0 Kudos

u must set all items of sales order to rectject reason. then the sales order's status show complete.

u cannot delete sales order in despit of u canceled invoice,because the subsequence document was created.

Former Member
0 Kudos

I get my order in open sales order list as well (VA05). .

I tried to put other reasons but again my status is "open". It cannot be canceled.

I manage to cancel invoice and set different reason but my status of sales order is still "open". Any idea how to cancel this sales order?? What should I look at in Customization?

Thanks, Nihad

Former Member
0 Kudos

Hello,

I don't think there is a customisation settings to overcome this. The best would be to force the complete status technically. If you have an ABAP expert with you, he will do the same.

Prase

Former Member
0 Kudos

I have got my order in the billing due list (VF04) with order related billing option.

What is the next step?

Former Member
0 Kudos

I don't get my order listed in open sales orders. Error message I got is this:

"Item 000010 cannot be deleted because of subsequent document 90012921

Message no. V1 489"

What should I do to cancel or delete my order?

Thank you

Former Member
0 Kudos

Hello,

Check in the billing due list VF04 with order related billing option, is it getting listed in billing due list?

If it is not displaying in open order report (VA05) and billing due list (VF04), the it is not a matter of worry.

If you want to change the status of the overall status of the

sales order, the check with your ABAP expert, he may be able to change the same in Debug mode.

Prase

Former Member
0 Kudos

No, I don't have any delivery. I want to cancel or delete sales order from the system at all.

Nihad

Former Member
0 Kudos

Hello,

check whther the order is listing in open sales order report. Use transaction VA05, select open sales orders, give the date, order type and organisationla details and execute. Check whther it is getting listed in this. If not, it is not an open sales order.

What is the error message the system is displaying when you try to delete the sales order??

Prase

Former Member
0 Kudos

You are using order related billing. But do you have any delivery created for the order. If so, sale order cannot be deleted.

Regards,

GSL.

Former Member
0 Kudos

This is overview of the status:

Standard Order 27057

Sold-to 400000 proba

Status overview

5 Current hdr status Everything rejected

Total processing Open

Rejection status Everything rejected

5 Ord-related bill.st. Not invoiced

Invoice 90012921 14.10.2008

Cancel. Invoice (S1) 90012986 14.10.2008

Completeness Complete header data

Billg doc. complete Complete header data

Current item status

ItemNo Material

5 000010 Otkup tendera 1,000 PC Fully rejected

Total processing Open

Reason for rejection 10 Unreasonable request

Rejection status Fully rejected

5 Ord-related bill.st. Not invoiced 0,000 PC Billed 1,000 PC open

Invoice 90012921 10 14.10.2008 1,000 PC

Cancel. Invoice (S1) 90012986 10 14.10.2008 1,000 PC

Completeness Complete item data

Billg doc. complete Complete item data

Former Member
0 Kudos

Hello,

could you please let us know the current status of the order. You may see the status in VA03 --> Order --> Environment --> Status overview.

If your set the reason for rejection in the line item level, you need to set for all the line items. Set it in the header level, it will be applicable to the whole document.

It is always advicable to reject the sales document with a reson for rejection. Once you delete the document, we will not be in a position to retrieve the same from the system.

Prase

Former Member
0 Kudos

Hi

Nihad

Check the doc flow of the sales order and check all the subsequent doc are deleted and the order qty is completly open. If any doc is not cancel / deleted do the same and then don't assign any reason if u want to delete the SO. In case if u want to short close the order u need not require to cancel the subsequent doc just assign the reason for rejection and save the order.

Thx.