How To Fix LB164 - Not all proportion units/product units could be deleted


SAP Error Message - Details

  • Message type: E = Error

  • Message class: LB - Logistics: Batch - Management

  • Message number: 164

  • Message text: Not all proportion units/product units could be deleted

  • Show details Hide details
  • What causes this issue?

    You want to delete one or more proportion units or product units.

    System Response

    Not all proportion units or product units could be deleted as

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

    they are being used to define <DS:DE.MSEHI_WS>units of measurement</>;
    they are being used in one or more materials.

    How to fix this error?


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message LB164 - Not all proportion units/product units could be deleted ?

    The SAP error message LB164, which states "Not all proportion units/product units could be deleted," typically occurs in the context of managing product units of measure (UoM) in the SAP system, particularly when dealing with material master data or when trying to delete or modify units of measure associated with a product.

    Cause:

    1. Dependencies: The error often arises because there are existing dependencies or references to the proportion units or product units that you are trying to delete. For example, if the unit of measure is being used in transactions, sales orders, purchase orders, or inventory records, it cannot be deleted.

    2. Configuration Issues: There may be configuration settings in the material master that prevent the deletion of certain units of measure.

    3. Data Integrity: The system may have integrity checks that prevent the deletion of units of measure that are still in use or linked to other data.

    Solution:

    1. Check Dependencies: Before attempting to delete a unit of measure, check if it is being used in any transactions or linked to any materials. You can do this by:

      • Reviewing the material master data for the specific product.
      • Checking for open purchase orders, sales orders, or stock movements that reference the unit of measure.
    2. Remove References: If you find that the unit of measure is in use, you will need to remove or change those references before you can delete the unit. This may involve:

      • Changing the unit of measure in existing documents.
      • Closing or deleting any transactions that reference the unit.
    3. Use Transaction Codes: Utilize transaction codes like MM02 (Change Material) to modify the material master data and check the units of measure assigned.

    4. Consult Documentation: Review SAP documentation or help files for specific instructions related to managing units of measure.

    5. Check Configuration: If you have the necessary permissions, check the configuration settings in the SAP system to ensure that there are no restrictions on deleting units of measure.

    6. Contact Support: If you are unable to resolve the issue, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as MM01 (Create Material), MM02 (Change Material), and MM03 (Display Material) for managing material master data.
    • Unit of Measure Configuration: Understand how units of measure are configured in SAP, including the relationship between base units, alternative units, and proportion units.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.

    By following these steps, you should be able to identify the cause of the error and take appropriate action to resolve it.

    • 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