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 Object Creation

Former Member
0 Likes
690

Gurus,

How come there is no method like get_persistent or create_persistent created in the base class? Do i have to create these methods manually or is it automatically created?

Thanks!

1 ACCEPTED SOLUTION
Read only

matt
Active Contributor
0 Likes
658

They're in the AGENT class.

matt

6 REPLIES 6
Read only

matt
Active Contributor
0 Likes
659

They're in the AGENT class.

matt

Read only

Former Member
0 Likes
658

This message was moderated.

Read only

Former Member
0 Likes
658

Hi Frederick,

I am also facing the same issue.

The get_persistent method is also not present in AGENT class.

Please revert back if you have got any clue.

I will be doing the same if i got any clue.

Thanks.

Regards,

Sumit Oberoi

Read only

Former Member
0 Likes
658

Hi,

get_persistent and create_persistent and a couple of other methods are not in the actor class at first but they are generated in the actor class when you have done the persistent mapping in the persistent class and activated it.

Best regards,

Erik

Read only

Former Member
0 Likes
658

Hi Frederick,

I have solved the issue.

I followed following steps:

1)Delete the persistent class.

2)Create new class and follow below link after creating persistence class.

[Defining persistent representation|http://help.sap.com/saphelp_nw70/helpdata/EN/06/f23c46638d11d4966d00a0c94260a5/content.htm]

Please revert back if you have any queries.

Regards,

Sumit Oberoi

Read only

0 Likes
658

Thanks a ton man!!!!!!!