How To Fix MM335 - You want to change the profit center but material stock still exists


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 335

  • Message text: You want to change the profit center but material stock still exists

  • Show details Hide details
  • What causes this issue?

    You want to change the profit center in the material master record.
    However, changing the profit center could lead to inconsistencies in FI
    because stock data already exists for this material.
    &EXAMPLES&:
    Stock data already exists for a material and was posted with profit
    center 'A' according to the current assignment in FI. If you change the
    profit center in the material master (for example, to 'B') and the
    current stock is consumed, none of the old stock would be used up in FI
    (with profit center 'A'), and there would be a negative material stock
    posted on the new account assignment (profit center 'B').
    If there are price differences for the material on profit center 'A' and
    these are only offset in FI after the profit center was changed and were
    therefore offset against profit center 'B', this causes more problems.

    System Response

    The action is terminated.

    How to fix this error?

    If you want to enable the profit center to be changed, proceed as
    follows:
    Determine the potential effects of a profit center change on the
    corresponding balance sheet in FI.
    You can change this message from an error message to a warning. Do this
    in the IMG activity <DS:SIMG.SIMG_CFMENUOLMSOMT4>Define Attributes of
    System Messages</> (work area MM, message number 335).

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


    INCLUDE FAGL_R_MSG_CHANGE_PRCTR OBJECT DOKU ID TX

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message MM335 - You want to change the profit center but material stock still exists ?

    The SAP error message MM335 indicates that you are trying to change the profit center for a material, but there is existing stock for that material. This is a common issue in SAP Material Management (MM) when attempting to modify the master data of a material that has stock on hand.

    Cause:

    The primary cause of this error is that the profit center is a key field in the material master data, and changing it while there is stock can lead to inconsistencies in financial reporting and inventory management. The system prevents this change to maintain data integrity.

    Solution:

    To resolve this error, you can follow these steps:

    1. Check Stock Levels: First, check if there is any stock available for the material in question. You can do this by using transaction codes like MMBE (Stock Overview) to see the stock levels.

    2. Clear Stock: If there is stock, you will need to either:

      • Transfer Stock: Move the stock to another profit center using a stock transfer process (e.g., using transaction MB1B for transfer postings).
      • Consume Stock: If applicable, consume the stock through production or sales processes.
      • Adjust Stock: If the stock is not needed, you can adjust it through a write-off or other inventory adjustment methods.
    3. Change Profit Center: Once the stock has been cleared or transferred, you can proceed to change the profit center in the material master using transaction MM02.

    4. Recheck: After making the changes, recheck the material master to ensure that the profit center has been updated successfully.

    Related Information:

    • Transaction Codes:

      • MM02: Change Material Master
      • MMBE: Stock Overview
      • MB1B: Transfer Posting
      • MB1A: Goods Withdrawal
      • MB1C: Other Goods Receipts
    • Documentation: Refer to SAP Help documentation for detailed procedures on stock transfers and material master data management.

    • User Roles: Ensure that you have the necessary authorizations to perform stock adjustments and changes to the material master.

    • Consultation: If you are unsure about the implications of changing the profit center or handling stock, consult with your SAP MM module expert or your finance department.

    By following these steps, you should be able to resolve the MM335 error and successfully change the profit center for the material.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

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