‎2007 Apr 13 5:23 AM
hi,
there is perform in normal abap program i have convert it into object oriented program we can write in call method but how to write the stmt in object oriented programing
perform abb (sapmov101) or perform asd in program sapmov101
think sapmov101 is module pool program.
how to convert to
call method
is it posible to have program parameter in object oriented programing .
‎2007 Apr 13 7:23 AM
Why should you use it ? Then you want to call a method of a local class in a program. What you always can do, is to make the local class a global class. So define it in transaction SE24
regards,
Hans
Please reward all helpful answers !!!!!
‎2007 Apr 13 7:32 AM
Hi,
You have to define a class in Se24 and methods for that class
You can define some parameters for that method.
define a object type ref to class
call the method with the parameters..
something like below
CALL METHOD im_header->get_data
RECEIVING
re_data = re_data.
reward if useful
regards,
Anji