Do you have any question about this error?
Message type: E = Error
Message class: L6 - LVS Link R/2 - ECC
Message number: 040
Message text: Unit of measure & not allowed according to material master; (&)
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Enter a valid <GL:unit_of_measure>unit of measure</>.
Error message extract from SAP system. Copyright SAP SE.
L6040
- Unit of measure & not allowed according to material master; (&) ?The SAP error message L6040 indicates that there is an issue with the unit of measure (UoM) being used in a transaction that is not allowed according to the material master data. This typically occurs in scenarios such as inventory management, goods movements, or sales and distribution when the system checks the UoM against the settings defined in the material master.
Cause:
- Incorrect Unit of Measure: The unit of measure being used in the transaction does not match any of the allowed units defined in the material master for that specific material.
- Missing UoM Configuration: The material master may not have the required unit of measure set up correctly, or the UoM is not maintained in the relevant views (e.g., purchasing, sales, or inventory).
- UoM Conversion Issues: If there are conversion factors defined, they may not be set up correctly, leading to the error when trying to convert between units.
- Material Type Restrictions: Certain material types may have restrictions on which units of measure can be used.
Solution:
Check Material Master Data:
- Go to the material master record (transaction code
MM03
) and check the relevant views (Basic Data, Purchasing, Sales, etc.) to ensure that the unit of measure you are trying to use is listed as an allowed unit.- If the UoM is not present, you may need to add it using transaction code
MM02
(Change Material).Maintain Units of Measure:
- Ensure that the unit of measure is correctly maintained in the material master. You can add or modify units of measure in the Basic Data view or the relevant views for purchasing and sales.
Check UoM Conversion:
- If you are using a unit of measure that requires conversion, ensure that the conversion factors are correctly defined in the material master.
Review Transaction:
- Verify the transaction you are trying to perform and ensure that you are using the correct unit of measure as per the material master.
Consult Documentation:
- If you are unsure about the allowed units of measure for a specific material, consult the SAP documentation or your organization's SAP support team for guidance.
Related Information:
MM03
: Display Material MasterMM02
: Change Material MasterMM01
: Create Material MasterSPRO
), under Logistics General > Material Master > Basic Settings > Define Units of Measure.By following these steps, you should be able to resolve the L6040 error and ensure that the correct units of measure are being used in your transactions.
Get instant SAP help. Start your 7-day free trial now.
L6039
Base unit of measure & not defined in material master; (&)
What causes this issue? A material was created with a <GL:base_unit_of_measure>base unit of measure</> in the R/2 System. This unit of ...
L6038
Alternative unit of measure & not defined in material master; (&)
What causes this issue? A material with an <GL:alternative_unit_of_measure>alternative unit of measure</> was created in the R/2 system....
L6041
Counter & for conversion <> from material master &; (&)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
L6042
Factor & for conversion <> from material master &; (&)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.