on 02-04-2010 9:40 AM
How to call a method of a zclass into web dynpro application
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In teh compoent controller, create the object of your zclaass and using this reference for accesing teh methods using the pattern button.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.