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

MD04 : issue with customer stock and purchase requisition

Hello,

This issue could be shared between SD / MM and PP modules. Here is the problem you meet and the description of the scenario.

1- A customer sales order has been created and then shown into the MD04. The sales order is partially incorrect as the quantity in "available quantity" is 0 instead of 1(but the problem is not there, this one is due to a wrong input in sales order repair tab).

2- The MRP has turn and a purchase requisition has been created for a quantity of 1 pce (no issue at this stage too).

3- For some reasons that I don't know, the sales order has been deleted in totality (no usage by the business of the reason for rejection)

4- But (the problem is there) the Purchase requisition is still into the MD04 and we would like to delete both documents.

But we can't :

- sales order in unknown ino the productive system.

- the purchase requisition can't be delete as well because, in account assignment tab, the sales order number is still present.

We try:

- by deleted PR but we get error message "SD document xxxx is not in the database or has been archived"

- by remoting the sales order and by changing the account assignment category (E by others codes) => no success

- by replacing the sales order n° by another one => no sucess as SAP "keeps" in memory the initial sales order and so display an error message.
We are in a deadlock situation.

So do you have ideas for succeeding into the deletion ? or do you know SAP program for a full cleaning (we try SDRQCR21 but there is no effect) ?

It should be great if you could give help to a "poor landsome cowboy"

Thanks in advance to the SNC community

Rgds

Marc (Paris)

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on Oct 01, 2014 at 04:23 PM

    Marc,

    SAP note 1723507 says If there is a planning element (such as a purchase requisition or planned order) still linked to the sales order stock, you must manually delete this planning element.

    As you said you can not delete manually and even report SDRQCR21 also could not help you to remove inconsistencies question did you run this report in test mode without update?


    Refer SAP Note 1992885 - MD04: Problems with sales orders and deliveries thoroughly for some reference.

    If possible can you please post a snap shot of MD04?

    BR
    KK

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2014 at 04:41 PM

    Hello all

    I appreciate your different advises and propsal. In fact I just found who to deal with the issue. By going throught MD03 you can access directly to thé purchase requisittion and delete directlyfrom there. By saving the MRP proposal, sales order and PR disappear. That's fine.

    Anyway I'll keep all the 3 replies, it could help in future.

    Thanks to everyone, you're "precious".

    Regards

    Marc.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 01, 2014 at 02:08 PM

    Hi,

    As this is a requisition coming from MRP did you try running MRP on this mtrl again - as no sales order exist also no requirement seem to exist so maybe MRP would be able to delete it?

    As this is one time action you may also try deleting the requisition while being in debug mode and just skip the error message popping up (any ABAP developer should easily assist you with this).

    Best Regards,

    Tomek

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 01, 2014 at 03:07 PM

    Hi,

    Yes i too think force deletion through debug is the best option . Take the debug access in your production for change mode and delete the PR line item .

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2014 at 04:43 PM

    Hello all

    I appreciate your different advises and propsals. In fact I just found who to deal with the issue. By going throught MD03 you can access directly to thé purchase requisittion and delete directly from there. By saving the MRP proposal, sales order and PR disappear. That's fine.

    Anyway I'll keep all the 3 replies, it could help in future.

    Thanks to everyone, you're "precious".

    Regards

    Marc.

    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.