Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WR071 - Reason for price change & not maintained in table TWBN


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WR - Messages for Revaluation at Retail

  • Message number: 071

  • Message text: Reason for price change & not maintained in table TWBN

  • Show details Hide details
  • What causes this issue?

    The entered reason for the price change does not exist in table TWBN
    (reason for retail price change).

    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?

    If the system entered the reason for the price change, the system
    setting is incorrect. Contact your system administrator.
    If you entered the reason for the price change youself, correct your
    entry.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WR071 - Reason for price change & not maintained in table TWBN ?

    Certainly! Here's a detailed explanation regarding the SAP error message WR071:


    SAP Error Message: WR071 - Reason for price change & not maintained in table TWBN


    1. Cause

    The error WR071 occurs during pricing in Sales and Distribution (SD) when the system detects a price change reason that is not maintained in the customizing table TWBN.

    • TWBN is the SAP table that stores the allowed reasons for price changes.
    • When a price condition changes (e.g., discount, surcharge, price), the system requires a valid "Reason for Price Change" to be entered.
    • If the reason code entered or determined by the system is not maintained in table TWBN, the system throws the error WR071.
    • This is a control mechanism to ensure that all price changes are properly documented and justified.

    2. Solution

    To resolve the error WR071, you need to maintain the reason for price change in the customizing table TWBN.

    Steps:

    1. Identify the Reason for Price Change Code:

      • Check the pricing procedure or the document where the error occurs to find the reason code that is causing the issue.
    2. Maintain the Reason in TWBN:

      • Go to transaction SPRO ?
        Sales and Distribution ?
        Basic Functions ?
        Pricing ?
        Pricing Control ?
        Define Reasons for Price Change
      • Or directly use transaction SM30 to maintain table TWBN:
        • Enter table name: TWBN
        • Add the missing reason code with a description.
    3. Assign the Reason Code Appropriately:

      • Ensure that the reason code is assigned correctly in the pricing procedure or user exit/custom logic if applicable.
    4. Test the Pricing:

      • After maintaining the reason, reprocess the sales document or pricing to confirm the error is resolved.

    3. Related Information

    • Table TWBN: Stores valid reasons for price changes.
    • Pricing Procedure: The pricing procedure may require a reason for price change when a condition value changes.
    • User Exits / BAdIs: Sometimes, custom logic enforces or sets the reason for price change. Ensure that the reason code used in custom code is maintained in TWBN.
    • Transaction Codes:
      • SPRO: For customizing.
      • SM30: For table maintenance.
      • VA01/VA02: Sales order creation/change where pricing is triggered.
    • SAP Notes: Check for any SAP Notes related to WR071 for your specific SAP version.

    Summary

    Aspect Details
    Error Message WR071 - Reason for price change & not maintained in table TWBN
    Cause Price change reason code not maintained in TWBN
    Solution Maintain the missing reason code in TWBN via SPRO or SM30
    Related Tables TWBN (Reasons for price change)
    Related Transactions SPRO, SM30, VA01, VA02

    If you need, I can also provide the exact customizing path or sample entries for TWBN. Let me know!

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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