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: 

OOPS + Persistent class

Former Member
0 Kudos

Hi,

I want to know the basic use of Persistent class.

what r the situations that we get to use Persistent class.

need some documents if possible.

Regards,

sarath.

sarath.chip

@gmail.com

1 ACCEPTED SOLUTION

ak_upadhyay
Contributor
0 Kudos

Hi,

Creating Persistent Classes

Persistent classes are created and managed in the Class Builder.

Prerequisites

Use of the prefix CL_ (or a corresponding naming convention in the customer namespace) is required for persistent classes since generation of the corresponding auxiliary classes assumes exactly this naming convention.

Procedure

To create a persistent class from the initial screen of the Object Navigator (SE80):

Select the category Class/Interface in from the object list.

Enter the name of the new class according to the naming conventions.

Confirm your entries with ENTER.

Confirm that you want to create the class.

The system displays the Create Class ... dialog box.

Enter the rest of the basic data for the class:

Select Persistent class as the class type.

Choose Save.

The Create Object Catalog Entry dialog box is displayed.

Enter the Package.

Choose Save again.

Or check these links....

http://help.sap.com/saphelp_nw70/helpdata/en/06/f23c3d638d11d4966d00a0c94260a5/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/06/f23c46638d11d4966d00a0c94260a5/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/06/f23c52638d11d4966d00a0c94260a5/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/06/f23c58638d11d4966d00a0c94260a5/content.htm

Reward points if usefull....

Regards

AK

2 REPLIES 2

ak_upadhyay
Contributor
0 Kudos

Hi,

Creating Persistent Classes

Persistent classes are created and managed in the Class Builder.

Prerequisites

Use of the prefix CL_ (or a corresponding naming convention in the customer namespace) is required for persistent classes since generation of the corresponding auxiliary classes assumes exactly this naming convention.

Procedure

To create a persistent class from the initial screen of the Object Navigator (SE80):

Select the category Class/Interface in from the object list.

Enter the name of the new class according to the naming conventions.

Confirm your entries with ENTER.

Confirm that you want to create the class.

The system displays the Create Class ... dialog box.

Enter the rest of the basic data for the class:

Select Persistent class as the class type.

Choose Save.

The Create Object Catalog Entry dialog box is displayed.

Enter the Package.

Choose Save again.

Or check these links....

http://help.sap.com/saphelp_nw70/helpdata/en/06/f23c3d638d11d4966d00a0c94260a5/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/06/f23c46638d11d4966d00a0c94260a5/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/06/f23c52638d11d4966d00a0c94260a5/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/06/f23c58638d11d4966d00a0c94260a5/content.htm

Reward points if usefull....

Regards

AK