How To Fix AJ036 - Reference base &1 for discount &2 is not permitted in the variant


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AJ - Billing program

  • Message number: 036

  • Message text: Reference base &1 for discount &2 is not permitted in the variant

  • Show details Hide details
  • What causes this issue?

    The variant you have specified requires a certain reference base for
    discounts. However, the corresponding discount has a different
    reference base. Processing was canceled for this reason.
    This constellation is caught in the billing master data and should not
    have occurred.

    System Response

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

    How to fix this error?

    Check whether the correct discount was allocated to the discount
    operand in the variant.
    Report the error to SAP.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AJ036 - Reference base &1 for discount &2 is not permitted in the variant ?

    The SAP error message AJ036 indicates that there is an issue with the reference base for a discount in a variant. This typically occurs in the context of pricing and discount management within SAP, particularly in the Sales and Distribution (SD) module or the Controlling (CO) module.

    Cause:

    The error message AJ036 is triggered when:

    1. Invalid Reference Base: The reference base specified for the discount is not valid for the variant being used. This could be due to incorrect configuration or settings in the pricing procedure.
    2. Inconsistent Data: There may be inconsistencies in the master data or transaction data that do not align with the expected reference base for the discount.
    3. Missing Configuration: The discount type or its reference base may not be properly configured in the system.

    Solution:

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

    1. Check Configuration:

      • Go to the pricing procedure configuration in SPRO (Transaction Code: SPRO).
      • Verify that the discount type and its reference base are correctly defined in the pricing procedure.
      • Ensure that the reference base is allowed for the specific variant you are using.
    2. Review Master Data:

      • Check the master data for the customer, material, or condition records related to the discount.
      • Ensure that the relevant condition records are maintained correctly and that they correspond to the expected reference base.
    3. Analyze Transaction Data:

      • Look at the specific transaction (e.g., sales order, invoice) that triggered the error.
      • Check if the discount is being applied correctly and if the reference base is appropriate for the transaction.
    4. Consult Documentation:

      • Review SAP documentation or help resources related to pricing and discounts to understand the expected configurations and settings.
    5. Testing:

      • After making any changes, test the scenario again to see if the error persists.
      • If possible, replicate the issue in a test environment to avoid impacting production data.
    6. Seek Help from SAP Support:

      • If the issue cannot be resolved through the above steps, consider reaching out to SAP support for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as VK11 (Create Condition), VK12 (Change Condition), and VK13 (Display Condition) for managing condition records.
    • Pricing Procedure: Understand how pricing procedures work in SAP and how they relate to discounts and reference bases.
    • SAP Notes: Check for any SAP Notes related to this error message, as they may provide specific fixes or patches.

    By following these steps, you should be able to identify the root cause of the AJ036 error and implement a solution 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant