How To Fix AJ167 - Quantity bases for price &1 and price &2 do not match


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AJ - Billing program

  • Message number: 167

  • Message text: Quantity bases for price &1 and price &2 do not match

  • Show details Hide details
  • What causes this issue?

    During the comparison of two price amounts, the system determined that
    the quantity bases of prices &v1& (quantity base &v3&) and &v2&
    (quantity base &v4&) are not identical.
    It makes no sense to directly compare price amounts with different
    quantity bases.

    System Response

    INCLUDE ISU_VERARB OBJECT DOKU ID TX

    How to fix this error?

    Enter the same quantity basis for both prices in the
    <DS:TRAN.EA89>price maintenance transaction</>.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AJ167 - Quantity bases for price &1 and price &2 do not match ?

    The SAP error message AJ167 indicates that there is a mismatch between the quantity bases for two different prices in a pricing condition. This typically occurs in the context of pricing in sales documents, purchase orders, or other transactions where multiple pricing conditions are applied.

    Cause:

    The error arises when the quantity bases for two pricing conditions (e.g., price condition A and price condition B) do not align. This can happen due to several reasons:

    1. Different Quantity Units: The pricing conditions may be defined with different units of measure (e.g., one condition is based on pieces while another is based on weight).
    2. Inconsistent Condition Records: The condition records for the pricing conditions may not be set up correctly, leading to discrepancies in how quantities are interpreted.
    3. Incorrect Configuration: The configuration in the pricing procedure may not be set up to handle the specific conditions being applied.

    Solution:

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

    1. Check Condition Records:

      • Go to the condition records for the pricing conditions involved and verify that the quantity bases are consistent. Ensure that they are using the same unit of measure.
    2. Review Pricing Procedure:

      • Check the pricing procedure assigned to the document. Ensure that the conditions are correctly defined and that they are compatible with each other.
    3. Adjust Quantity Bases:

      • If necessary, adjust the quantity bases for the pricing conditions so that they match. This may involve changing the unit of measure or modifying the condition records.
    4. Consult Documentation:

      • Review SAP documentation or consult with your SAP functional consultant to understand the specific configuration settings that may be causing the issue.
    5. Test Changes:

      • After making adjustments, test the transaction again to ensure that the error is resolved.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like VK11 (Create Condition), VK12 (Change Condition), or VK13 (Display Condition) to manage condition records.
    • Pricing Procedure Configuration: The pricing procedure can be configured in the SPRO transaction under Sales and Distribution > Basic Functions > Pricing > Pricing Control.
    • Unit of Measure: Ensure that the units of measure used in the pricing conditions are consistent with the units used in the sales or purchase document.

    If the issue persists after following these steps, it may be beneficial to involve your SAP support team or a consultant with expertise in pricing configuration.

    • 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