Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WSD_MESSAGE013 - External material number is not permitted for this material type


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSD_MESSAGE - Message class for WSD

  • Message number: 013

  • Message text: External material number is not permitted for this material type

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WSD_MESSAGE013 - External material number is not permitted for this material type ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    WSD_MESSAGE013: External material number is not permitted for this material type


    Cause:

    This error occurs when you try to assign or use an external material number (also known as an external ID or external material code) for a material type that does not allow external material numbers in the system configuration.

    In SAP, materials can have multiple identifiers:

    • Internal material number: The primary material number assigned by SAP.
    • External material number: An additional number, often used for integration with external systems or customer/vendor references.

    However, not all material types are configured to accept external material numbers. The system checks the material type settings, and if the material type is configured to disallow external numbers, this error is triggered.


    Where does this happen?

    • When creating or changing a material master record.
    • When integrating materials from external systems.
    • When using transactions or interfaces that attempt to assign an external material number to a material type that does not permit it.

    Solution:

    1. Check Material Type Configuration:

      • Go to transaction OMS2 (or SPRO path: Logistics ? Materials Management ? Material Master ? Settings for Key Fields ? Define Material Types).
      • Select the relevant material type.
      • Check the setting for External Number Assignment or similar fields that control whether external numbers are allowed.
    2. Allow External Number for Material Type:

      • If business requirements allow, enable the option to permit external material numbers for the material type.
      • Save the configuration and try again.
    3. Use Allowed Material Types:

      • If external numbers are not allowed for the current material type, consider using a different material type that permits external numbers.
    4. Adjust the Process:

      • If the external number is not mandatory, avoid assigning it for this material type.
      • Alternatively, handle external numbers via other fields or custom fields if the standard external number is restricted.
    5. Check User Exits or Enhancements:

      • Sometimes, custom code or validations might enforce restrictions on external numbers.
      • Review any user exits, BADIs, or enhancements related to material master creation or change.

    Related Information:

    • Material Master Number Assignment: SAP allows internal and external number assignment. Internal numbers are assigned by SAP, external numbers are assigned by the user or external systems.
    • Material Type Settings: Material types control many aspects of material master behavior, including number assignment, field selection, and allowed transactions.
    • Transaction Codes:
      • MM01 – Create Material
      • MM02 – Change Material
      • OMS2 – Define Material Types
    • SAP Notes: Check SAP Notes for any known issues or patches related to material number assignment for your SAP version.

    Summary:

    Aspect Details
    Error External material number not permitted for material type
    Cause Material type configuration disallows external numbers
    Solution Enable external number assignment in OMS2 or use a different material type
    Transactions OMS2, MM01, MM02

    If you need help with the exact configuration steps or further troubleshooting, please provide your SAP system version and the material type involved.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


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


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author