2024 Apr 12 7:11 PM
hi,
basically I am redefining an inherited method. In this method there is a call to another methode in the super class that carries the same name.
As I wanted to activate the redefinition an error occured which states that the methode called in my code is reither unknown or protected or private which means I need to change visibility. Long story short I could not change the visibility in the change options of the methode.
This is my first post so any help is appreciated
Thank you in advance
2024 Apr 13 7:36 AM
Hi @_Baker can you share a screenshot of the class definition showing how the method is defined and a screenshot of your code inside the redefined method?
2024 Apr 13 7:57 AM
You can only redefine public or protected methods.
You cannot change the visibility of a redefined method.
See the ABAP documentation for the official details.