Application Development and Automation 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: 
Read only

Persistent Classes and inheritance

Former Member
0 Likes
292

Hello everyone,

i have a persistent class zcl_p_konto which should act as a base class for persistent subclasses in further development.

In order to support polymorphic instantiation of persistent subclasses through zcl_p_konto's agent, zcl_p_konto's persistence mapping contains a type identificator which is of the type os_guid in the underlying table.

When trying to activate zcl_p_konto and its agents, i get the following error message:

Class ZCB_P_KONTO, Method IF_OS_CA_PERSISTENCY~GET_PERSISTENT_BY_KEY_TAB

The component "TABLE_LINE" is not contained in the table

"KEY_TAB_FOUND_LOCAL", or the key is not statically declared.

cheers,

Jens

Edited by: Jens Barthel on Aug 8, 2008 11:13 AM

1 REPLY 1
Read only

Former Member
0 Likes
268

As the problem is still unsolved:

We have a class zcl_p_account and a subclass zcl_p_savings_account. They both share the same range of account numbers.

What we need is a service, that retrieves the object with a specific account number, which is of type zcl_p_konto or zcl_p_savings_account, depending on the account type.

Any hints why we get those compiler errors? push

kind regards