03-12-2009 12:36 PM
hi
i have just read the class, method instance etc i have created Class defination and Class Implementation created a method . any one can help me that how to call the method ?? kindly explain with example
regards
Ammad
03-12-2009 12:57 PM
Use:
Class->Method (Instance of a class is required)
Ex:
Data: t_grid type ref to cl_gui_alv_grid.
Create object T_grid.
Call T_grid->Set_table_for_first_display.
Class=>Method ( Call a static class no instance required.)
Ex:
CL_GUI_ALV_GRID=>GET_FOCUS (Static Method)
Regards,
Gurpreet
03-12-2009 12:41 PM
use like thi
CL_JAVA_SCRIPT=>CREATE( ).
where CL_JAVA_SCRIPT is class.
and CREATE( ). is method
кu03B1ятu03B9к
03-12-2009 12:57 PM
Use:
Class->Method (Instance of a class is required)
Ex:
Data: t_grid type ref to cl_gui_alv_grid.
Create object T_grid.
Call T_grid->Set_table_for_first_display.
Class=>Method ( Call a static class no instance required.)
Ex:
CL_GUI_ALV_GRID=>GET_FOCUS (Static Method)
Regards,
Gurpreet