Do you have any question about this error?
Message type: E = Error
Message class: MZ - Message for the EWS in LIS
Message number: 089
Message text: The name of an exception cannot begin with ~
The name of an exception cannot begin with ~
Please choose a name that does not begin with ~.
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.
MZ089
- The name of an exception cannot begin with ~ ?The SAP error message MZ089, which states "The name of an exception cannot begin with ~," typically occurs in the context of ABAP programming when defining exceptions in a method or function module. This error indicates that the name of an exception you are trying to define or use starts with the tilde character (
~
), which is not allowed in ABAP.Cause:
- Invalid Exception Name: The exception name you are trying to define or reference starts with the tilde character (
~
). In ABAP, exception names must follow specific naming conventions and cannot start with certain special characters.- Typographical Error: It could also be a typographical error where the tilde was mistakenly included in the exception name.
Solution:
- Rename the Exception: Change the name of the exception to ensure it does not start with the tilde character. For example, if your exception is named
~my_exception
, rename it tomy_exception
orexception_my
.- Check for Typos: Review your code to ensure that there are no unintended characters in the exception name. Correct any typos that may have led to the inclusion of the tilde.
- Follow Naming Conventions: Ensure that the exception names you are using adhere to ABAP naming conventions. Typically, exception names should be descriptive and start with a letter.
Related Information:
By following these steps, you should be able to resolve the MZ089 error and ensure that your ABAP code is functioning correctly.
Get instant SAP help. Start your 7-day free trial now.
MZ088
Proposal from exception: & to &
What causes this issue? A period of time with &V1& period(s) was chosen for the standard analysis. A quantity of &V2& was saved in t...
MZ087
Not possible to delete (periodic analysis)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
MZ090
Exception & blocked by other users
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
MZ091
System problems blocking exception
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.