How To Fix WS291 - Enter a currency


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 291

  • Message text: Enter a currency

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WS291 - Enter a currency ?

    SAP Error Message:
    WS291 - Enter a currency


    Cause:

    The error message WS291 - Enter a currency occurs when a currency field in a transaction or program is left empty but is required. This typically happens in financial or controlling modules where currency information is mandatory for processing amounts, such as in invoices, payments, cost postings, or currency conversion transactions.


    When does it occur?

    • When you try to save or post a document without specifying the currency.
    • When a currency field is missing in a master data record or during data entry.
    • When the system expects a currency for amounts but none is provided.
    • In custom programs or reports where currency input is mandatory but not entered.

    Solution:

    1. Enter the required currency:
      Make sure to fill in the currency field with a valid currency code (e.g., USD, EUR, INR) before saving or posting the document.

    2. Check default currency settings:

      • Verify if the system or master data has a default currency assigned.
      • For example, check the company code currency or controlling area currency in configuration (transaction codes like OB22, OX02).
    3. Validate master data:
      Ensure that the relevant master data (vendor, customer, cost center, profit center, etc.) has the correct currency assigned.

    4. Check field status groups:
      If the currency field is missing or not prompted, check the field status group settings in the configuration to ensure the currency field is set as required or optional as per business needs.

    5. Review custom code or user exits:
      If this error appears in a custom program or enhancement, verify that the currency field is properly populated before processing.


    Additional Information:

    • Transaction codes related to currency settings:

      • OB22: Define currencies
      • OX02: Define company code
      • OBBS: Define field status groups
      • FS00: G/L account master data (currency settings)
      • XK02/FD02: Vendor/Customer master data currency check
    • Currency fields in SAP:
      Currency fields are usually 3-character ISO currency codes. SAP uses these to determine exchange rates, currency conversion, and reporting.

    • Common scenarios:

      • Posting vendor invoices without currency
      • Entering cost center or internal order postings without currency
      • Creating financial documents where currency is mandatory

    Summary:

    Error WS291 means you must enter a currency in the required field. To fix it, simply provide a valid currency code in the currency field before proceeding. If the field is missing or not prompted, check configuration and master data settings to ensure currency is properly maintained and required fields are enabled.


    If you provide the exact transaction or context where this error occurs, I can give more specific guidance.

    • 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