Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to override attributes of one class into another class in OOPS ABAP

I was trying to override attribute(data memeber) defined in super class into subclass ,

but I didnt find any solution to that.

Please tell me ho to do that?


Class ABC definition

Public section

data : x type i.



end class

Calss XYZ definition inheriting from ABC.

Publec section.

data : x type i. <<----

here is the problem




Not what you were looking for? View more on this topic or Ask a question