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

Issues with Persistent Classes

Former Member
0 Likes
352

Hi,

I am trying to use persistent classes because I don't want to write "handmade" code to access/modify/... my Class-Data.

I could persist my class, but I have Issues to acces the complete list of persistet class objects.

I "googled" a IF_OS_QUERY_MANAGER but I couldn't find this query manager within 6.40. Could anyone tell me how to query or access the complete class-list?

Thnx

P.S.: Are there any examples how I can work with persistent work references.

For instance I have a persistent Userobject whicht contains an persistent adress-object. Should I create an explicit foreign key "userid" in the address object or can I access cia os_guid the user object?)

2 REPLIES 2
Read only

uwe_schieferstein
Active Contributor
0 Likes
324

Hello Alex

Perhaps the tutorial

<a href="/people/thomas.jung3/blog/2005/05/15/abap-46c-to-640-delta-training 46C to 640 Delta Training</a> written by Thomas Jung may be helpful.

I have seen already a few postings regarding object references (as instance attributes) within persistent classes. However, so far I have not seen a solution for saving such compositions of object instances into their corresponding DB tables.

Regards

Uwe

Read only

0 Likes
324

Hello Uwe and Alex,

as write Uwe there are some postings without solution. I have used for better understanding in SAP R/3 Enterprise also bloq from Thomas Jung: <a href="/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql Persistent Classes: Coding without SQL</a>.

Bye,

Peter