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

call the CALL METHOD and CREATE OBJECT

Former Member
0 Likes
1,338

Hi Friends,

How to call the CALL METHOD and CALL OBJECT in the se38 edit program.For example for calling the FUNCTION MODULE we can use the pattern in that using the call function we can get the function module in the se38 edit.but in METHOD hoe to call if you explain me in detail it would be very much usefulfor me.

Thanks,

Regards,

Rajendra Kumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,155

Hi rajendra,

its the same way we do. call pattern ..there will be another radiobutton whcich says 'ABAP objects' , give the method name and the class name there.. this will call the method similar to function module..

we can also write our own classes and methods...

say..you created your own class c1 and method m1

then first create the instance of the object..

data:obj1 type ref to c1.

create object obj1.

call method obj1->m1.

Regards,

Vidya.

2 REPLIES 2
Read only

Former Member
0 Likes
1,156

Hi rajendra,

its the same way we do. call pattern ..there will be another radiobutton whcich says 'ABAP objects' , give the method name and the class name there.. this will call the method similar to function module..

we can also write our own classes and methods...

say..you created your own class c1 and method m1

then first create the instance of the object..

data:obj1 type ref to c1.

create object obj1.

call method obj1->m1.

Regards,

Vidya.

Read only

0 Likes
1,155

Hi Vidya,

Thanks a lot for the explaination and i understood to do.

Thanks,

Raj.