Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SE24 abends after adding "abstract" to method declaration

Former Member
0 Kudos

Hello SDN Community,

I am needing to declare a method as "abstract". I can do that and it activates ok, but when I back out to previous screen, following error occurs...

Runtime Errors: MOVE_CAST_ERROR

Except. : CX_SY_MOVE_CAST_ERROR

Date and Time: 29.04.2009 11:22:53

Short Text: Dynamic type conflict when assigning references

What happened?: Error in the ABAP application program. The current ABAP program "CL_OO_CLASS_BUILDER===========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.

Please evaluate how I am declaring the method as "abstract", possibly I am doing this the wrong way. If I am correctly doing the key-clicks to declare a method "abstract", then possibly this is an SAP errror.

Key-clicks I am doing to declare an abstract method...

from existing SE24 class...

1) enter a new method "ABS3", level "instance", visibility "public", and save.

2) double-click the method

3) --> note buttons change on the application toolbar, now have button "public section"

4) click "public section" button on application toolbar.

5) code appears. note line at end "methods ABS3 ."

6) change this line to be "methods ABS3 abstract ." and activate.

7) it activates successfully.

😎 click the "green back arrow" on the system toolbar

9) aforementinoed error happens.

Any insight into why this happens would be greatly appreciated!

Thank you,

Dean Atteberry.

1 REPLY 1

Former Member
0 Kudos

Have been looking into this some more and I answered my own question.

The answer is...

Click the "detail view" icon in SE24 and select checkbox "abstract".

So do i get to give myself points? 8-)