How To Fix EDOCUMENT_BR064 - Only numbers are allowed for CNPJ.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EDOCUMENT_BR - eDocument Brazil Message Class

  • Message number: 064

  • Message text: Only numbers are allowed for CNPJ.

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

    The SAP error message EDOCUMENT_BR064 indicates that there is an issue with the CNPJ (Cadastro Nacional da Pessoa Jurídica) number format in the Brazilian electronic document processing. The CNPJ is a unique identifier for Brazilian companies, and it must adhere to specific formatting rules.

    Cause:

    The error occurs when the CNPJ field contains characters that are not numeric. The CNPJ should consist of 14 digits, and any non-numeric characters (such as letters, special characters, or spaces) will trigger this error.

    Solution:

    To resolve the EDOCUMENT_BR064 error, follow these steps:

    1. Check the CNPJ Input: Ensure that the CNPJ number you are entering or processing contains only numeric characters (0-9). Remove any non-numeric characters, such as punctuation marks, letters, or spaces.

    2. Format the CNPJ Correctly: The correct format for a CNPJ is 14 digits. If you have a CNPJ in a different format (e.g., with slashes or hyphens), make sure to strip those characters before processing.

    3. Validation: Implement validation checks in your application or data entry process to ensure that only valid CNPJ numbers are accepted. This can include regex patterns to match the expected format.

    4. Data Source Review: If the CNPJ is being pulled from an external source (like a database or an API), review the data source to ensure that it is providing valid CNPJ numbers.

    5. SAP Configuration: If you are using custom developments or enhancements in SAP, ensure that the logic handling CNPJ values is correctly implemented to enforce numeric-only entries.

    Related Information:

    • CNPJ Structure: The CNPJ is structured as follows: XX.XXX.XXX/0001-XX, but for processing, it should be entered as a continuous string of 14 digits (XXXXXXXXXXXXXX).
    • SAP Notes: Check SAP Notes and documentation for any updates or patches related to electronic document processing in Brazil, as there may be specific fixes or enhancements that address this issue.
    • Testing: After making corrections, test the process again to ensure that the error no longer occurs and that the CNPJ is accepted by the system.

    By following these steps, you should be able to resolve the EDOCUMENT_BR064 error and ensure that the CNPJ is correctly processed in your SAP system.

    • 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
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