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

Close

How To Fix CPE101 - Either decimals or predecimals can be entered


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CPE - Commodity Pricing Engine

  • Message number: 101

  • Message text: Either decimals or predecimals can be entered

  • Show details Hide details
  • What causes this issue?

    For a rounding rule, both a number of decimals and a number of
    predecimals are defined.

    System Response

    A rounding rule with both values (for decimals and predecimals) greater
    than zero does not make sense. Results must be rounded either to a
    number of decimals or to a number of predecimals. The rounding rule
    cannot be created with both values.

    How to fix this error?

    Define either a number of decimals or a number of predecimals for the
    rounding rule.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CPE101 - Either decimals or predecimals can be entered ?

    The SAP error message CPE101 ("Either decimals or predecimals can be entered") typically occurs in the context of entering values in fields that require a specific format for decimal numbers. This error indicates that the system expects either a decimal value or a pre-decimal value, but not both, or that the input format is incorrect.

    Cause:

    1. Incorrect Input Format: The user may have entered a value that mixes decimal and pre-decimal formats incorrectly. For example, entering a value like "1.234,56" might trigger this error if the system expects either "1234.56" or "1234,56" based on the locale settings.
    2. Locale Settings: The system's locale settings may dictate how numbers are formatted (e.g., using commas or periods as decimal separators). If the input does not conform to these settings, the error can occur.
    3. Field Configuration: The field may be configured to accept only certain types of numeric input, and the entered value does not meet those criteria.

    Solution:

    1. Check Input Format: Ensure that the value you are entering adheres to the expected format. If the system uses a period as a decimal separator, make sure to use it consistently.
    2. Adjust Locale Settings: If you are working in a multi-locale environment, check your user settings to ensure that the correct locale is selected. This can usually be done in the user profile settings.
    3. Review Field Requirements: Check the field's documentation or help text to understand the expected input format. Ensure that you are entering a valid number according to those specifications.
    4. Use Correct Separators: If your system uses commas for decimals, ensure that you are using commas instead of periods, and vice versa.
    5. Consult SAP Documentation: If the issue persists, refer to SAP's official documentation or support resources for more specific guidance related to the version of SAP you are using.

    Related Information:

    • SAP Notes: Check for any SAP Notes related to this error message, as they may provide additional context or solutions.
    • User Forums: Consider visiting SAP community forums or user groups where similar issues may have been discussed.
    • Testing in Different Environments: If possible, test the input in a different environment (e.g., development or test system) to see if the issue is environment-specific.

    By following these steps, you should be able to resolve the CPE101 error and successfully enter the required values in SAP.

    • 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