How To Fix MDG_BS_MAT_SP092 - Deletion flag is set at company code level


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MDG_BS_MAT_SP - Message for MDG material SP

  • Message number: 092

  • Message text: Deletion flag is set at company code level

  • Show details Hide details
  • What causes this issue?

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

    System Response

    INCLUDE MDG_BS_MAT_DEL_FLAG OBJECT DOKU ID TX LANGUAGE EN

    How to fix this error?

    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 MDG_BS_MAT_SP092 - Deletion flag is set at company code level ?

    The SAP error message MDG_BS_MAT_SP092 indicates that a deletion flag has been set at the company code level for a material master record. This typically means that the material is marked for deletion in one or more company codes, which prevents certain operations from being performed on that material, such as creating or updating records.

    Cause:

    1. Deletion Flag Set: The material master record has been flagged for deletion in the company code view. This is often done when a material is no longer in use or is being phased out.
    2. Data Consistency: The system enforces data consistency and integrity, preventing changes to materials that are marked for deletion.

    Solution:

    To resolve this error, you can take the following steps:

    1. Check Deletion Flag:

      • Go to the material master record in transaction MM03 (Display Material).
      • Navigate to the Accounting view (or the relevant view for the company code).
      • Check if the deletion flag is set for the company code in question.
    2. Remove Deletion Flag:

      • If you determine that the deletion flag should be removed (for example, if the material is still in use), you can do this by:
        • Going to transaction MM02 (Change Material).
        • Select the relevant views (e.g., Accounting).
        • Uncheck the deletion flag for the company code.
        • Save the changes.
    3. Consult with Stakeholders:

      • If you are unsure whether to remove the deletion flag, consult with relevant stakeholders (e.g., inventory management, finance) to confirm the status of the material.
    4. Check for Dependencies:

      • Ensure that there are no dependencies or transactions that might be affected by removing the deletion flag.

    Related Information:

    • Material Master Views: The material master has multiple views (Basic Data, Sales, Purchasing, Accounting, etc.), and the deletion flag can be set at different levels (plant, storage location, company code).
    • Transaction Codes:
      • MM03: Display Material
      • MM02: Change Material
      • MM01: Create Material
    • Documentation: Refer to SAP Help documentation for more details on managing material master records and understanding deletion flags.

    By following these steps, you should be able to resolve the error and manage the material master record appropriately.

    • 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