How To Fix WS340 - Make a selection (recompilation of documents, database or archive)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 340

  • Message text: Make a selection (recompilation of documents, database or archive)

  • 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 WS340 - Make a selection (recompilation of documents, database or archive) ?

    SAP Error Message:
    WS340 - Make a selection (recompilation of documents, database or archive)


    Cause:

    The error message WS340 typically appears in the context of document processing in SAP, especially during activities like recompilation or reorganization of documents, database entries, or archive files. It indicates that the system requires the user to make a selection or specify certain parameters before proceeding.

    More specifically, this message is triggered when the user tries to execute a process (such as recompilation of documents or database entries) without selecting the necessary criteria or input data. The system cannot proceed because it does not know which documents, database entries, or archive files to process.


    When does it occur?

    • During recompilation or reorganization of documents in Financial Accounting (FI) or other modules.
    • When running report/programs that require selection criteria for documents or database entries.
    • When working with archive files and the system expects a selection of archive objects or files.
    • When the selection screen is left empty or incomplete.

    Solution:

    1. Make a proper selection:
      On the selection screen of the transaction or report you are running, ensure that you enter valid selection criteria. This could be:

      • Document numbers or document ranges
      • Posting dates or document dates
      • Company codes
      • Document types
      • Archive file names or IDs (if working with archives)
    2. Check the selection screen:
      Review the selection screen fields carefully and fill in the mandatory fields. The system expects at least one valid selection criterion to proceed.

    3. Use default values if applicable:
      If you are unsure what to select, check if the program or transaction provides default values or suggestions.

    4. Consult documentation or SAP notes:
      If the selection criteria are unclear, refer to the SAP documentation for the specific transaction or report you are using. Sometimes, SAP Notes provide additional guidance on how to use the selection screen properly.

    5. Check authorization:
      Ensure you have the necessary authorizations to view or process the documents or archives you want to select.


    Related Information:

    • Transaction codes:
      This message can appear in various transactions related to document processing, such as:

      • SARA (Archive Administration)
      • RFBIBL00 (Recompile FI documents)
      • Other custom or standard reports for document reprocessing.
    • SAP Notes:
      Search for SAP Notes related to WS340 or the specific transaction you are using for additional troubleshooting.

    • Logs and dumps:
      If the error persists despite making selections, check system logs (SM21), short dumps (ST22), or application logs (SLG1) for more detailed error information.


    Summary:

    • Cause: No selection criteria entered for recompilation or processing of documents/database/archive.
    • Solution: Enter valid selection criteria on the selection screen before executing the process.
    • Additional: Check authorizations, SAP Notes, and documentation for specific transaction guidance.

    If you provide the exact transaction or context where WS340 appears, I can give more tailored advice.

    • 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