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

Close

How To Fix WZRE_EXT_POST029 - Selection option &1 unpermitted (allowed: EQ, NE, BT, NB, CP, NP)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WZRE_EXT_POST -

  • Message number: 029

  • Message text: Selection option &1 unpermitted (allowed: EQ, NE, BT, NB, CP, NP)

  • Show details Hide details
  • What causes this issue?

    The logical system name is part of the document key of the
    Transportation Management documents within the SAP solution. If you do
    not specify any logical system name<(>,<)> some of the generic selection
    options cannot be used to select data from the database.

    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?

    Please adjust your selection criteria or maintain the logical system
    name.

    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 WZRE_EXT_POST029 - Selection option &1 unpermitted (allowed: EQ, NE, BT, NB, CP, NP) ?

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


    SAP Error Message:

    WZRE_EXT_POST029 Selection option &1 unpermitted (allowed: EQ, NE, BT, NB, CP, NP)


    Cause:

    This error occurs when a selection option in a report, query, or program uses a comparison operator that is not allowed by the underlying logic or validation rules. The message indicates that the selection option operator you used is invalid, and only the following operators are permitted:

    • EQ (Equal)
    • NE (Not Equal)
    • BT (Between)
    • NB (Not Between)
    • CP (Contains Pattern, i.e., wildcard)
    • NP (Not Contains Pattern)

    If you use any other operator (for example, GT (Greater Than), LT (Less Than), GE (Greater or Equal), LE (Less or Equal)), the system will raise this error.


    Typical Scenario:

    • You are running a report or query and enter a selection criterion.
    • You choose an operator like "Greater than" (GT) or "Less than" (LT) which is not allowed for that particular selection field.
    • The program validates the selection options and throws this error because it only supports the operators listed above.

    Solution:

    1. Check the selection criteria you entered:
      Review the selection screen and ensure that the operator you use for the field is one of the allowed operators: EQ, NE, BT, NB, CP, or NP.

    2. Adjust your selection operator:

      • If you used GT, LT, GE, or LE, change it to an allowed operator.
      • For example, instead of GT (greater than), you might use BT (between) with a range starting from the next value.
    3. If you are a developer or customizing consultant:

      • Check the code or the selection screen definition (e.g., in ABAP program or query).
      • The selection option might be restricted programmatically using SELECT-OPTIONS or PARAMETERS with a restricted set of operators.
      • Modify the code if necessary to allow additional operators, but only if business logic permits.
    4. Consult documentation or functional specs:
      Sometimes, the limitation is intentional due to business rules or data consistency requirements.


    Related Information:

    • Selection Option Operators in SAP:
      SAP selection options allow various operators, but some reports or programs restrict these to ensure valid data retrieval.

    • Common Operators:

      • EQ = Equal
      • NE = Not Equal
      • GT = Greater Than
      • LT = Less Than
      • GE = Greater or Equal
      • LE = Less or Equal
      • BT = Between
      • NB = Not Between
      • CP = Contains Pattern (wildcards allowed)
      • NP = Not Contains Pattern
    • Where to check:

      • Selection screen of the report or transaction
      • ABAP code for SELECT-OPTIONS or PARAMETERS statements
      • User input validation logic

    Summary:

    Aspect Details
    Cause Use of an unpermitted selection operator in a selection option (e.g., GT, LT not allowed)
    Allowed Operators EQ, NE, BT, NB, CP, NP
    Solution Change the operator to one of the allowed ones; adjust selection criteria accordingly
    Additional Check program logic or consult functional specs if modification is needed

    If you provide the exact selection option and operator you used, I can help you suggest the correct operator or workaround.

    • 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