Message type: E = Error
Message class: OO - Class Builder/API
Message number: 620
Message text: Sequence of exceptions has been adjusted
When you use exception classes in a method interface, they must be
sorted according to the inheritance hierarchy. Classes that are further
down this hierarchy must be specified first. If you do not comply with
this sorting rule, the compiler returns a syntax error. The background
to this is that a user of a method can recognize the sequence in which
it must catch the exceptions by the signature.
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.
OO620
- Sequence of exceptions has been adjusted ?The SAP error message OO620, which states "Sequence of exceptions has been adjusted," typically occurs in the context of object-oriented programming within SAP, particularly when dealing with exception handling in ABAP (Advanced Business Application Programming).
Cause: This error usually arises when there is a mismatch in the sequence of exception handling in your ABAP code. Specifically, it can occur when: An exception is raised that is not handled in the expected order. The program attempts to handle exceptions that are not defined in the correct sequence. There is an inconsistency in the way exceptions are declared and raised in the method or function module.
Solution: To resolve the OO620 error, you can take the following steps: Check Exception Handling: Review the code where the exception is raised and ensure that the exceptions are being handled in the correct order. Make sure that the exceptions are declared in the method signature and that they are being caught in the
Get instant SAP help. Sign up for our Free Essentials Plan.
OO619
The prefix 'BC_' is reserved for business classes
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OO618
Business classes must start with the prefix 'BC_'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OO621
The exception class & is derived from CX_NO_CHECK
What causes this issue? You cannot specify exception classes derived from CX_NO_CHECK in the interface of a method.System Response The system issues...
OO622
Method & is abstract
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.