‎2007 May 23 9:57 AM
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
‎2007 May 23 9:59 AM
‎2007 May 23 10:01 AM
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
‎2007 May 23 10:11 AM
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.