Skip to Content
0
Former Member
Sep 07, 2007 at 01:11 PM

error Calling method in pattern

59 Views

Hi all,

I have gone thru a simple oops program locally in se38.

My doubt cant we call our local method using "pattern" .

while i m trying i m getting error.

my program is :

<code>

data : w_da type i.

class c1 definition.

public section.

methods : m1 importing input1 type i

input2 type i

returning value(result) type i.

endclass.

class c1 implementation.

method m1.

result = input1 * 2 + input2.

endmethod.

endclass.

start-of-selection.

data : obj1 type ref to c1.

create object obj1.

</code>

so after this when i m pressing "pattern" and in giving "in call method radiobutton"

obj1,c1 and m1.

then i m getting message as "unable to find method m1 for classs class c1.

can anyone hlep me regarding this.

Thnks,

kamal