How To Fix EZ406 - Name of the form class library &1 contains invalid characters


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EZ - Print workbench

  • Message number: 406

  • Message text: Name of the form class library &1 contains invalid characters

  • Show details Hide details
  • What causes this issue?

    The name of the data retrieval program in the form class contains
    impermissible characters. Only letters and figures are permitted.

    System Response

    The system cannot save the form class.

    How to fix this error?

    Change the name of the data retrieval program by deleting all
    impermissible characters.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message EZ406 - Name of the form class library &1 contains invalid characters ?

    The SAP error message EZ406 indicates that the name of a form class library contains invalid characters. This error typically arises when you are trying to create or modify a form in SAPscript or Smart Forms, and the name you have provided does not conform to the naming conventions required by SAP.

    Cause:

    The error is caused by using invalid characters in the name of the form class library. SAP has specific rules regarding the naming of objects, which usually include:

    • Only alphanumeric characters (A-Z, a-z, 0-9)
    • Underscores (_) are often allowed
    • No special characters (e.g., @, #, $, %, etc.)
    • Names should not start with a number
    • Length restrictions (usually a maximum of 30 characters)

    Solution:

    To resolve the EZ406 error, follow these steps:

    1. Check the Name: Review the name of the form class library you are trying to create or modify. Ensure that it adheres to the naming conventions mentioned above.

    2. Rename the Library: If the name contains invalid characters, rename the form class library using only valid characters. For example, if your original name was Form@Library1, change it to Form_Library1 or FormLibrary1.

    3. Avoid Reserved Words: Ensure that the name does not conflict with any reserved words or existing objects in the SAP system.

    4. Test the Changes: After renaming, try to save or activate the form again to see if the error persists.

    5. Documentation: If you are unsure about the naming conventions, refer to the SAP documentation or guidelines for naming conventions in your specific version of SAP.

    Related Information:

    • SAP Notes: Check SAP Notes for any specific updates or patches related to this error.
    • SAP Community: Engage with the SAP Community forums for additional insights or similar experiences from other users.
    • SAP Help Portal: Refer to the SAP Help Portal for detailed documentation on Smart Forms and SAPscript, including naming conventions and best practices.

    By following these steps, you should be able to resolve the EZ406 error and successfully create or modify your form class library 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
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant