on 10-09-2007 8:41 AM
Hello,
in se80 I work on class which has a super class.
I redefined a method of this class.
Later on I deleted the redefined method.
When activiating, the compiler throws an error that the method is already implemented.
When navigating to the error it shows the method stub, which is supposed to be deleted. In addition, the method is not shown in the tree view. When navigating to the method definition it shows the definition of the super class.
Can you tell me how I get rid of this method.
Best regards
Michael
Hi ,
In the class , where u have deleted that method , create a new method with the same name and signature.Go to super class and copy the codes and paste it in your new method.
Then you try to activate the class.
Note : If you redefine a method , again u can redo your redefenition . Dont need to delete that method.
Revert for further clarifications.
Regards
Meikandan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
thank you for your answer, but I think it does not solve the problem.
The situation is.
class child has super class parent.
In class child I redefined method foo.
Then I delete the redefined method foo in class child.
Result: The class is deleted in the class definition.
The compiler throws an error "Class already" defined and shows the implementation of child->foo.
A new definition as u suggested is not possible, se80 states, that method is already defined. Only a new redefiniton of the method is possible.
What I hav done now is.
1. delete the defintion of the redefined method
2. Comment or delete the implementation of method
Result: The class can be activated.
But I am not sure that this this the correct way, but it temporarily solves my problem.
Best regards
Michael
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.