How To Fix EDOCUMENT_BR058 - Only numbers are allowed for CNPJ or CPF.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EDOCUMENT_BR - eDocument Brazil Message Class

  • Message number: 058

  • Message text: Only numbers are allowed for CNPJ or CPF.

  • 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 EDOCUMENT_BR058 - Only numbers are allowed for CNPJ or CPF. ?

    The SAP error message EDOCUMENT_BR058 indicates that there is an issue with the format of the CNPJ (Cadastro Nacional da Pessoa Jurídica) or CPF (Cadastro de Pessoas Físicas) numbers being entered in the system. This error specifically states that only numeric values are allowed for these fields.

    Cause:

    1. Non-numeric Characters: The CNPJ or CPF field may contain non-numeric characters such as letters, special characters (like dashes or slashes), or spaces.
    2. Incorrect Input Format: The input may not conform to the expected format for CNPJ (14 digits) or CPF (11 digits).
    3. Leading or Trailing Spaces: There may be unintended spaces before or after the numeric input.

    Solution:

    1. Check Input: Ensure that the CNPJ or CPF being entered consists only of numbers. Remove any non-numeric characters.
    2. Format Validation: Verify that the CNPJ has exactly 14 digits and the CPF has exactly 11 digits. If the input is in a different format, reformat it accordingly.
    3. Trim Spaces: Remove any leading or trailing spaces from the input.
    4. Data Entry: If the data is being imported or uploaded, ensure that the source data is clean and formatted correctly before importing it into SAP.
    5. Validation Rules: Implement validation rules in the data entry process to prevent non-numeric characters from being entered in the first place.

    Related Information:

    • CNPJ: This is a unique identifier for Brazilian companies, consisting of 14 digits. It is used for tax purposes and business identification.
    • CPF: This is a unique identifier for Brazilian individuals, consisting of 11 digits. It is also used for tax purposes and personal identification.
    • SAP Configuration: If you are consistently encountering this error, it may be worth checking the configuration settings in SAP related to the e-document framework or the specific module you are working with to ensure that they are set up correctly for handling CNPJ and CPF inputs.

    By following these steps, you should be able to resolve the EDOCUMENT_BR058 error and ensure that the CNPJ or CPF values are correctly processed 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