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

Close

How To Fix WS353 - Save the selection parameters in a variant (see long text)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 353

  • Message text: Save the selection parameters in a variant (see long text)

  • Show details Hide details
  • What causes this issue?

    You set the 'New run' indicator. If the report is terminated before it
    is finished, e.g. because time was overrun, you can restart the report
    starting from the next payee to be processed. You should create a
    variant for this, otherwise the system may select too many documents
    when the program is restarted because there are insufficient selection
    criteria.
    The system automatically only retains the payee interval you entered
    and the payee processed most recently.
    When continue the program run, you must enter further selection
    criteria (purchasing organization, purchasing group etc.) for the
    report.

    How to fix this error?

    If necessary, create a variant. You can call this when you continue the
    program run. You then need only to delete the 'New run' indicator.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WS353 - Save the selection parameters in a variant (see long text) ?

    Certainly! Here's a detailed explanation for the SAP error message WS353:


    SAP Error Message: WS353

    Message Text:
    Save the selection parameters in a variant (see long text)


    Cause

    This message appears when you try to execute a report or transaction that requires the selection parameters to be saved in a variant, but you have not saved or specified a variant. Some SAP reports or programs are designed to run only if the selection criteria are stored in a variant, often for consistency, repeatability, or batch processing purposes.

    In other words, the program expects you to use a variant to provide the input parameters rather than entering them manually each time.


    Explanation / Long Text

    The long text of the message typically explains that the selection parameters must be saved in a variant before the report can be executed. This is often a design requirement for reports that are run in background jobs or where the selection screen is complex and needs to be reused.


    Solution

    1. Create and Save a Variant:

      • On the selection screen of the report or transaction, enter the required selection parameters.
      • Click on the Save as Variant button (usually a diskette icon or via menu: System ? User Profile ? Own Data ? Variants).
      • Provide a name and description for the variant.
      • Save the variant.
    2. Use the Variant to Execute the Report:

      • When running the report, choose the option to execute with variant.
      • Select the variant you saved.
      • Execute the report.
    3. If Running in Background:

      • When scheduling the job, specify the variant in the job parameters.

    Additional Information

    • Why Variants?
      Variants help standardize report execution, especially for background jobs or repetitive reporting tasks. They ensure that the same selection criteria are used every time.

    • Where to Manage Variants?
      Variants can be managed via transaction SE38 (ABAP Editor) or directly on the selection screen of the report. You can also use transaction SHD0 to create screen variants.

    • Authorization:
      Ensure you have the necessary authorization to create and use variants.

    • Common Scenarios:

      • Reports scheduled in background jobs.
      • Reports with mandatory variant usage enforced by the program logic.
      • Custom reports developed with variant enforcement.

    Summary

    Aspect Details
    Error WS353 - Save the selection parameters in a variant
    Cause Report requires selection parameters saved in a variant; none provided
    Solution Create and save a variant with selection parameters; execute report using this variant
    Related Transactions SE38, SA38 (execute reports), SM36 (schedule jobs), SHD0 (screen variants)

    If you need help creating a variant or running the report with a variant, please 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 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