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

Close

How To Fix WR159 - Also enter a document number or a date of retail price change


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WR - Messages for Revaluation at Retail

  • Message number: 159

  • Message text: Also enter a document number or a date of retail price change

  • Show details Hide details
  • What causes this issue?

    You want to select retail revaluation document items with status A (to
    be counted) and use materials managed on a value-only basis as the
    template for partial revaluation at retail.
    You did not, however, enter any document number or date of the retail
    price change. At least one of these two parameters is required for the
    selection (also see the online help for retail revaluation document
    templates on the initial screen of partial revaluation at retail).

    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?

    Enter a document number and/or a date for the retail price change or
    use the F4 help on the retail revaluation document field to select the
    required retail revaluation document items with status A.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WR159 - Also enter a document number or a date of retail price change ?

    SAP Error Message WR159: "Also enter a document number or a date of retail price change"


    Cause:

    This error occurs in SAP Retail pricing or condition maintenance when you attempt to create or change a retail price condition record without specifying either a document number or a date of retail price change. SAP requires one of these fields to track the validity or reference of the price change.

    • The system needs a reference to either:
      • A document number (e.g., a price change document or approval number), or
      • A date indicating when the retail price change takes effect.

    If neither is entered, the system cannot process the price change, hence the error.


    When does it occur?

    • During creation or modification of retail price conditions (e.g., in transaction VK11, VK12, or retail-specific pricing transactions).
    • When maintaining retail price changes in the SAP Retail module (IS-Retail).
    • When the configuration or user input requires a reference to a price change document or date, but none is provided.

    Solution:

    1. Enter a Document Number:

      • Provide a valid document number related to the price change.
      • This could be a price change approval document or any internal reference number configured in your system.
    2. Enter a Date of Retail Price Change:

      • Specify the effective date when the new retail price should become valid.
      • This date helps the system determine the validity period of the price condition.
    3. Check Configuration:

      • Verify if the pricing procedure or condition type requires a document number or date.
      • In some cases, the requirement is controlled by customizing in Retail Pricing or Condition Maintenance.
      • Consult your SAP Retail configuration team to adjust settings if necessary.
    4. User Training:

      • Ensure users are aware of the mandatory fields when entering retail price changes.
      • Provide guidelines or screen variants that highlight these fields.

    Related Information:

    • Transaction Codes:

      • VK11 – Create Condition
      • VK12 – Change Condition
      • VK13 – Display Condition
      • Retail-specific pricing transactions (e.g., in IS-Retail)
    • SAP Notes / Documentation:

      • Check SAP Notes related to retail pricing and condition maintenance for any known issues or patches.
      • SAP Help Portal for IS-Retail pricing configuration.
    • Configuration Path:

      • SPRO ? Retail ? Pricing ? Condition Types ? Define Condition Types
      • SPRO ? Retail ? Pricing ? Price Change Documents
    • Additional Tips:

      • If the document number is not applicable, always ensure the date field is filled.
      • If both fields are optional in your business process, check if a recent system change or patch has altered the mandatory status.

    Summary:
    The WR159 error is triggered because SAP requires either a document number or a date to process retail price changes. To resolve it, enter one of these mandatory fields when maintaining retail price conditions. If unsure, consult your SAP Retail configuration or support team.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author