Application Development 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: 

object oriented program

Former Member
0 Kudos

Hi,

Can u help me with the persistent classes

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Persistent class

A special class, the attributes of which are linked to database tables via object-relational mapping. Since Release 6.10 they can be created using the Mapping

http://help.sap.com/saphelp_nw04/helpdata/en/f5/a36828bc6911d4b2e80050dadfb92b/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/ab/9d0a3ad259cd58e10000000a11402f/frameset.htm

/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql

Reward if usefull

2 REPLIES 2

Former Member
0 Kudos

Hi

Persistent class

A special class, the attributes of which are linked to database tables via object-relational mapping. Since Release 6.10 they can be created using the Mapping

http://help.sap.com/saphelp_nw04/helpdata/en/f5/a36828bc6911d4b2e80050dadfb92b/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/ab/9d0a3ad259cd58e10000000a11402f/frameset.htm

/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql

Reward if usefull

Former Member
0 Kudos

Hi

Persistent classes are used to implement Object Relational DBMS (ORDBMS) concept is SAP. That means each instance of Class in persistently stored in the Database.

To use the Persistence Service for objects, the classes of these objects must be created as persistent classes in the Class Builder. The term persistent class does not imply that a class is persistent. (As a template for objects, every class is persistent). Rather, it means that the objects of that class and their state are managed by the Persistence Service. For example, the objects of these classes are instantiated in the ABAP program with a method of the Persistence Service, which ensures that the initialization is correct (not with the usual CREATE OBJECT statement). When the Class Builder creates a persistent class, it automatically generates an associated class, known as the class actor or class agent, whose methods manage the objects of persistent classes. As well as their identity, persistent classes can contain key attributes, which allow the Persistence Service to ensure that the content of each persistent object is unique.

<b>coding with persistent classes</b> refer this link

/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql

<b>Reward if usefull</b>