2010 Dec 28 2:25 PM
hi sap gurus,
i want to use persistent classes and require to use in inheritance in them . can any one tell me how to do that
thanks in advance.
2010 Dec 29 5:07 AM
The class actor generated by the persistent objects wizard (CA_persistent) inherits from the abstract CB_persistent class.
This means you cannot inherit from another class into the persistent class because ABAP does not support multiple inheritance.
Cheers
Graham Robbo
The class actor generated by the persistent objects wizard (CA_persistent) inherits from the abstract CB_persistent class.
This means you cannot inherit from another class into the persistent class because ABAP does not support multiple inheritance.
Cheers
Graham Robbo
2010 Dec 29 5:07 AM
The class actor generated by the persistent objects wizard (CA_persistent) inherits from the abstract CB_persistent class.
This means you cannot inherit from another class into the persistent class because ABAP does not support multiple inheritance.
Cheers
Graham Robbo
2010 Dec 29 5:35 AM
thank you for reply.
but i have used inheritance when defining the persistent class.
now when i try to call method create persistent of CA class it only creates the instance of subclass not the base class
any idea?
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |