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

How to cancel/delete SO which has a PO, but the PO has archive

Dear,

I have a SO with PO. I want to cancel the SO. The PO has been archived ,but I still can't delete the SO.

From the document flow, The PO is exist although PO is been archived.

How to reslove the question, thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 07, 2009 at 09:32 AM

    Pleaes breif the scenario...

    Have u created subsequent del. or billing document for the same.

    If yes then start cancelling from the last document.....

    and if no then put a resaon for Rejection in the Header of the order......it will not proceed further

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 19, 2008 at 05:11 PM

    Hi ,

    My under standing

    if sales order is having subsequent documents you can not delete Sales order , first need to cancel all subsequent document then try to delete the SO.

    Hope it helps you.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 19, 2008 at 07:32 PM

    Reject every item on the sales order, and put a Billing block at the header. I think that's the best you can "simply" do.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 06, 2009 at 05:15 AM

    See note 210470. There is no way to delete a TAB/TAS item if a purchase order is already created! Imagine for example that later the item is created again, as a TAB item. Then one would get easily two purchase orders reffering to the same sales order. The problem becomes even more complicated since the deletion flag on a PO can be reset easily u2013 deads becoming alive. Thus, SD could not even allow the deletion of an item if the status of the PO is 'Flagged for Deletion'. It is recommended to reject the item instead.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 06, 2009 at 06:32 AM

    Hi,

    You cannot delete the Sales order unless & until the subseuqent documents are cancelled.

    First check if the subsequent documents i.e delivery & billing are cancelled.

    Then try to delete the sales order.

    Regds.......

    Sumit

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2010 at 12:57 PM

    Hi Fang Hua!

    Did you get a solution for your problem?

    I think I am in the same situation. I have a SO which only subsequent document is a PO. The PO has been archived, and (possible) therefore, the items in the PO are cancelled (I guess the PO items are cancelled by archiving, since I cannot see any log for cancellation at PO menu->Enviroment->Item changes, and I know the PO is archived).

    Dispite of this, if I try to reject the SO item I get the message that I first must cancelled the PO item! Even if I, as said, I can see the PO item cancelled!

    Any idea?

    Thanks!

    Javier

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 29, 2010 at 07:49 AM

    Hello,

    Are you sure that the purchasing document was archived?

    In order to check if sales documents can be archived you Could use the program S3VBAKPTS (Preprocessing step for the archiving object SD_VBAK)

    In the selection screen specify as selection parameters the sales document, the tick all the checkboxes.

    I had a look at the source code of the ABAP program S3VBAKPTS in routine that performs the archiving check of the sales documents vs. purchasing documents.

    If a purchase order exists in the sales document flow, then the program checks if it exists in the database table EKKO . If itu2019s true, you cannot archive the sales order.

    Thus, if the purchase order was archived, it should not exist in the database and then the sales document might be archivedu2026

    Maybe you only launched the pre-processing program for the archiving object MM_EKKO, which sets the deletion flag only, but doesnu2019t delete the purchasing document from the database.

    Please could you verify?

    Regards,

    Andrea

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2015 at 05:40 PM

    This message was moderated.

    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.