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

Error at the time of Production order cancellation.

Hi PP Gurus,

The transactions happened when Sales order costing was activated

1. Sales order created

2. Production order creation, release

3. Production order confirmation and QM lot created

4. QM lot cleared with Result recording and UD has taken

5. While doing PGI system started to ask about Sales order costing

Now as per CO requirements all the documents has to be reversed and Sales order has to be deleted. But when I'm trying to cancel production order confirmation, it's giving error that Stock of Sales order quantity is deficit in Quality stock (As it is already moved to unrestricted Sales stock). And when we reversed it through Movement type 322 its giving error like UD has already taken for partial lot....

We tried following options.

1. Another Sales order irrelevant to Sales order costing created and we tried to move stock from old sales order to new sales order through movement type 413E but got the same Sales order costing error.

2. We tried to move stock from old Sales order to unrestricted use, same error we got.

As per my knowledge UD can't be reversed in Standard system.... What could be done in that case... Please help if some one faced the same situation.

Thanks & Regards,

Abu Arbab

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 18, 2008 at 04:13 PM


    If you want to change UD code, it is very simple from QA12. But if you want to reverse goods movements also, it is some thing big process. please check OSS notes 175842.

    Please check SAP note note 33924 Reversing the UD and 175842-QM lot stock reversal.

    Please refer my reply in this thread also,


    Please go through the transaction CO09, you enter your plant,Material, MRP area (Plant) and Checking rule then execute, it will take you to next screen there you can able to see what are the conformed quantities for the Sales document wise(Reservations), and also you can see the current stock possition (Cummiletive ATP Quantity).



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member R Brahmankar

      Hi Rupesh,

      Thanks for your valuable inputs.

      We didn't adopt the way way you suggested though I think that might be the best.

      What we've done is

      1. Reversed dependent materials that was posted with production order (that was created against sales order) with Movement type 262.

      2. Created new sales order without Sales order costing and settings supporting Order based costing.

      3. Created new Production order through Transaction code CO08.

      4. Confirmed Production order again w.r.t Sales order.

      5. Now inventory of FG increased twice as it previous Sales order stock was also lying there. Reversed that quantity through Physical Inventory Transactions.

      I'm damn sure it'll impact on many processes mainly on Excise and Excise registers. Anyways for your inputs.

      Thanks & Regards,

      Abu Arbab

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 11:39 AM


    You can do reverse GR against the Order by removing the "X" for stock type field. This will reduce the stock. After this you can cancell the other operation confirmations.

    Hope this helps you.



    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.