Skip to Content
author's profile photo Former Member
Former Member

Exception Classes in Eclipse

SAP_ABA 740 0011 SAPKA74011

I Managed to create an Exception class in Eclipse and use the constructor to accept more information.

When back in SAPGUI, it refused to let me changed the constructor.

Error 00198

The constructor of an exception class is generated when saving the class

definition. Changing or implementing the interface is not permitted.

What is going on ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 28, 2016 at 01:03 PM
    What is going on ?

    The automatic generation of the constructor is suppressed by the pragma ##ADT_SUPPRESS_GENERATION


    For further info you can refer to this post- .

    In ABAP 740 you cannot regenerate the constructor of the exception class from Eclipse. You'll have to manually adjust it in Eclipse.

    Does removing the pragma help?


    Add a comment
    10|10000 characters needed characters exceeded

    • Ok so its a big hole ? Se24 says you CANT change it. Yet in Eclipse, there is no issue, Just suppress. regenerate paragma. Which is an ugly concept anyway.

      I don't think one could ever change the CONSTRUCTOR of an exc.class manually in SE24. When you added new attributes, the constructor would be regenerated automatically.

      In Eclipse when you add new attributes to the exc. class, the constructor would not be automatically regenerated. Therefore the developer was given the possibility of changing the constructor manually in Eclipse.

      This has been fixed in ABAP750 => one can regenerate the Constructor via a Quick-Fix 😊

      BR,

      Suhas

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.