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

MR21-Sales Order Cost

Hello Experts,

We are implementing SAP ECC 6 with EHP 7 at our client.

As per requirement we need to maintain price of material (standard) with reference to Sales Order directly.

We enter material cost with reference to the sales order using tcode “MR21, variant: Special Stock – Sales Order” manually once the sales document has been created in the system.

We have observed an unusual system behavior while performing this activity. When we create the sales order for a material and enter the price of the material through MR21 (MR21_KUNDENAUFTRAG_BWKEY_0250 Special Stock Sales Order) with sales order reference, the system issues an error with message number MM124 (Valuation data for material xxxx for sales order item xxxx xxxx does not exist).

If we GR for the same material for Sales Order Stock E using tcode “MIGO”, the system does not generate any accounting document due to the standard rate missing against Sales Order as mentioned above BUT after that without changing any configuration once we repeat the same step i.e. enter the price of the material through MR21 (MR21_KUNDENAUFTRAG_BWKEY_0250 Special Stock Sales Order) with sales order reference, the system does not prompt any error and the price of material w.r.t Sales Order will be updated successfully.

After price maintenance through MR21, if we post GR for the same material again, the system generates Accounting document perfectly as required.

If we conclude the above observation; system allows us to enter the material price for a specific order once we post the GR for the material in the system.

We have to repeat the cycle for every new material to avoid the error.

It does not appear to be a configuration issue rather it seems to be some technical issue.

Kindly suggest the solution

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jun 11, 2014 at 08:39 AM


    This is standard design

    You are unable to maintain standard cost for the MAT + Sales Order because the stock segment is not generated in EBEW Table..

    Stock segment is generated only after GR is posted. Hence, you are able to maintain MR21 after GR is done. However, GR is valuated at zero cost and inventory revaluation is posted later on when you maintain the cost

    If you want to have Cost for the MAT + SO before GR, calculate cost estimate for the sales order item using Unit Costing

    In Unit costing, you can enter the Value you want and save it.. It is as good as MR21

    The requirement class of your sales order must allow Unit Costing

    Br, Ajay M

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 07, 2015 at 08:47 PM


    Check Snote-2157123 & also compare the material code in EBEW & VBRP table. For my case today, it was due to a change of material code in sale order item however there was a material movement earlier (which was reversed though).

    So in this case either you need to reverse the changes in the SO, or create a new SO.

    Updated for other's information.



    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.