How To Fix CS087 - The formatting character '*' is only allowed at the end


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CS - Logistics Customizing

  • Message number: 087

  • Message text: The formatting character '*' is only allowed at the end

  • 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 CS087 - The formatting character '*' is only allowed at the end ?

    The SAP error message CS087 indicates that there is an issue with the formatting of a string in a specific context, typically related to the use of wildcard characters in selection criteria or similar fields. The error message states that the formatting character '*' (asterisk) is only allowed at the end of the string, meaning that it cannot be placed in the middle or at the beginning of the string.

    Cause:

    The error is usually caused by one of the following:

    1. Improper Use of Wildcards: The asterisk () is being used incorrectly in a search or selection string. For example, if you are trying to search for a material number or a similar identifier, placing the asterisk in the middle of the string (e.g., "123456") will trigger this error.
    2. Incorrect Input Format: The input format for a field does not allow for wildcards in certain positions, and the user has entered the wildcard incorrectly.

    Solution:

    To resolve the CS087 error, you can take the following steps:

    1. Check the Input: Review the input string where the error occurred. Ensure that any asterisks are placed only at the end of the string. For example, if you are searching for all materials starting with "123", you should enter "123*".
    2. Modify the Search Criteria: If you need to search for a pattern that includes characters before and after the wildcard, consider breaking the search into multiple queries or using other search methods that do not rely on wildcards.
    3. Consult Documentation: If you are unsure about the correct format for a specific field, refer to the SAP documentation or help files related to the transaction or module you are working with.

    Related Information:

    • Wildcards in SAP: In SAP, the asterisk (*) is commonly used as a wildcard character to represent any number of characters. However, its placement is crucial for the system to interpret the search correctly.
    • Transaction Codes: This error can occur in various transaction codes where selection criteria are used, such as MM01 (Create Material), ME51N (Create Purchase Requisition), etc.
    • SAP Notes: If the issue persists or if you believe it is a bug, check SAP Notes for any related issues or patches that may address this error.

    By following these guidelines, you should be able to resolve the CS087 error and proceed with your tasks in SAP.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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