on 10-20-2007 10:10 AM
Hello sap guru's,
Can any body say how to check a method is existing r not .
how to cal a method.
example :
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
Hi
A method is always called with repect to a class using class name
for all global Classes see SE24
you can maintain local classes also in your program and can define local methods and use.
To call the methods in code follow the same principlae which we follow for function modules
press PATTERN button on menu
select the radiobutton ABAP objects pattern
enter
in the next screen enter INSTANCE or CLASS /INTERFACE
and the method
enter
the method is copied to your program with the corresponding parameters like import and export.
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check in SE24 for class and its corresponding method.
To call method in your program click on patter button which is used to call FM, there is option to call methods also.
Regards,
Atish
Message was edited by:
Atish Sarda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.