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

object

Former Member
0 Likes
459

Hi,

How to create a object in which transaction we go creating this.Can anyone please tell me the procedure to create an object.

Thanks & Regards,

Arun

3 REPLIES 3
Read only

Former Member
0 Likes
441

Specify the object you wish to create ????

Read only

Former Member
0 Likes
441

Hi Arun,

To create an object of a class

1. first define an object reference variable to the class

like Data: myobj type ref to class_new.

2. Create object of that class with the ref. variable

like create myobj.

you can also use SAP pattern for creating object.

3. Then use the object to call the methods of that class.

Regards

Sarath

Read only

Former Member
0 Likes
441

hi arun,

actually there are two classes u can create 1. global class and 2. local class

in the transaction se24 and other in local prg itself.

u can create object in se38 refering the class in the program itself.