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

Close

How To Fix WSTRN013 - Specify an assortment, a site group, or an allocation rule


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSTRN - Message for Prepack Creation and Planning Dialog

  • Message number: 013

  • Message text: Specify an assortment, a site group, or an allocation rule

  • 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 WSTRN013 - Specify an assortment, a site group, or an allocation rule ?

    SAP Error Message:
    WSTRN013 Specify an assortment, a site group, or an allocation rule


    Cause:

    This error occurs in SAP Retail (particularly in the Merchandise and Assortment Planning or Allocation modules) when the system expects you to specify one of the following to proceed with an allocation or assortment-related transaction:

    • An Assortment (a predefined set of products or articles grouped for planning or allocation)
    • A Site Group (a group of stores/sites for which the allocation or assortment is planned)
    • An Allocation Rule (rules that define how stock or sales quantities are allocated across sites or assortments)

    If none of these are specified, the system cannot determine the scope or basis for the allocation or assortment process, hence it throws this error.


    When does it typically occur?

    • During allocation runs or assortment planning transactions.
    • When creating or changing an allocation or assortment without specifying the required parameters.
    • When executing reports or planning functions that require a defined assortment, site group, or allocation rule.

    Solution:

    1. Specify an Assortment:

      • Enter a valid assortment ID in the relevant field.
      • Assortments are usually created and maintained in the Assortment Planning module.
    2. Specify a Site Group:

      • Enter a valid site group that includes the stores/sites relevant for the allocation or assortment.
      • Site groups are maintained in the Retail Store Master or Site Group maintenance.
    3. Specify an Allocation Rule:

      • Enter a valid allocation rule that defines how quantities are distributed.
      • Allocation rules are maintained in the Allocation module.
    4. Check Transaction Parameters:

      • Ensure that the selection screen or input fields for assortment, site group, or allocation rule are not left blank.
      • If the transaction allows multiple options, at least one must be filled.
    5. Verify Master Data:

      • Confirm that the assortment, site group, or allocation rule exists and is active.
      • Check for any inconsistencies or missing master data.
    6. Consult Documentation or SAP Notes:

      • Sometimes, specific SAP Notes or patches address issues related to allocation or assortment errors.

    Additional Information:

    • Assortment: A logical grouping of articles for planning and allocation purposes.
    • Site Group: A collection of stores/sites grouped for planning or reporting.
    • Allocation Rule: Defines the logic for distributing stock or sales quantities among sites or assortments.

    Example Scenario:

    If you run an allocation transaction (e.g., /SAPAPO/ALLOCATE) and do not specify an assortment or site group, the system will prompt with WSTRN013 because it does not know which products or stores to allocate stock to.


    Summary:

    Aspect Details
    Error Message WSTRN013 Specify an assortment, a site group, or an allocation rule
    Cause Missing required input: assortment, site group, or allocation rule
    Solution Enter a valid assortment, site group, or allocation rule before proceeding
    Module SAP Retail (Merchandise Planning, Allocation)

    If you continue to face issues after specifying these parameters, check for authorization problems or data inconsistencies in the master data.

    • 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