cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a method of a zclass into web dynpro application

Former Member
0 Kudos

How to call a method of a zclass into web dynpro application

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

if the method is of type static then u can access it directly as below.

call method class_name=>method_name

If the method is instance method then U need to create the object of that class. then through this object u can access the method.

CALL METHOD Obj_name->method_name

Former Member
0 Kudos

Call method of any class using :

Call method {your class name}=>{your method name}

( ).

Use Pattern button to achieve the same.(control + F6 )

Patern->Select ABAP Object -> give name of class and method.

Former Member
0 Kudos

Hi,

In teh compoent controller, create the object of your zclaass and using this reference for accesing teh methods using the pattern button.