How To Fix COM_ATTRFRG_GEN058 - Data type 'Unit of measure' requires the length 3


SAP Error Message - Details

  • Message type: E = Error

  • Message class: COM_ATTRFRG_GEN - Message Class for Generating Attributes and Sets

  • Message number: 058

  • Message text: Data type 'Unit of measure' requires the length 3

  • 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 COM_ATTRFRG_GEN058 - Data type 'Unit of measure' requires the length 3 ?

    The SAP error message COM_ATTRFRG_GEN058 indicates that there is an issue with the data type for "Unit of Measure" (UoM) in your SAP system. Specifically, it states that the length of the UoM must be 3 characters, but the data being processed does not meet this requirement.

    Cause:

    1. Incorrect Length: The UoM being used in the transaction or data entry is either too short or too long. The system expects a UoM code that is exactly 3 characters long.
    2. Data Entry Error: There may have been a typographical error when entering the UoM.
    3. Configuration Issue: The UoM might not be properly configured in the system, or the relevant master data might be missing or incorrect.

    Solution:

    1. Check UoM Length: Verify the UoM being used in the transaction. Ensure that it is exactly 3 characters long. If it is not, correct it to meet the requirement.
    2. Review Master Data: Go to the relevant master data (like material master, vendor master, etc.) and check the UoM settings. Ensure that the UoM is defined correctly and adheres to the length requirement.
    3. Configuration Settings: If you have access to configuration settings, check the settings for Units of Measure in the relevant customizing transaction (e.g., SPRO). Ensure that the UoM definitions are set up correctly.
    4. Data Validation: Implement data validation checks in your data entry processes to prevent incorrect UoM entries in the future.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like MM02 (Change Material) or MM03 (Display Material) to check and modify the material master data.
    • Unit of Measure Table: The UoM definitions are typically stored in the table T006. You can check this table to see the defined UoMs and their lengths.
    • SAP Notes: Check for any relevant SAP Notes that might address this specific error or provide additional guidance on UoM configuration.
    • Documentation: Refer to SAP documentation or help resources for more information on how to manage Units of Measure in your specific SAP module.

    By following these steps, you should be able to resolve the error and ensure that the UoM data is correctly configured in your SAP system.

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker