Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix MM158 - You cannot maintain costing details here


MM158 - Overview

  • Message type: E = Error

  • Message class: MM - Messages for material master maintenance and Customizing

  • Message number: 158

  • Message text: You cannot maintain costing details here

  • Show details Hide details
  • What causes this issue?

    You wanted to maintain costing details. This requires you to first
    specify a plant or company code (depending on the valuation level).

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Check and extend your data as required.

    What causes this issue?

    System Response

    How to fix this error?


    Error message extract from SAP system. Copyright SAP SE.


MM158 - Details

  • The SAP error message MM158, "You cannot maintain costing details here," typically occurs in the Materials Management (MM) module when a user attempts to access or modify costing information for a material in a context where it is not allowed. This can happen for several reasons, and understanding the cause is essential for finding a solution.
    Causes of MM158 Error
    
    
    Material Status: The material may have a status that prevents changes to costing details. For example, if the material is marked as "blocked" or "inactive," you won't be able to maintain costing information.
    
    
    Transaction Context: The transaction you are using may not allow for the maintenance of costing details. For instance, if you are in a transaction meant for other purposes (like creating a purchase order), you may not have access to costing information.
    
    
    User Authorizations: The user may lack the necessary authorizations to maintain costing details. This can be due to role restrictions

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


MM158 - Related SAP Errors

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant