07-11-2008 8:18 AM
07-11-2008 8:20 AM
Hello
If you want to access constants or static attributes of this class you need to make the class definition "known" to your program on SAP release < 6.20 (e.g. 4.6c).
On 4.6c the following statement will give a syntax error without the DEFINITION LOAD statement:
ld_flag = cl_gui_cfw=>false.
Regards
Uwe
07-11-2008 8:20 AM
Hii!
Check out these links
team.theconsultinginstitute.com/Training%20Archive/073_leseprobe.pdf
http://www.saptechies.com/demo-program-on-alv-tree-control/
http://help.sap.com/saphelp_nw70/helpdata/en/2a/755b94ca5911d299af5c9604c10e27/content.htm
Regards
Abhijeet
Edited by: Abhijeet Kulshreshtha on Jul 11, 2008 9:20 AM
07-11-2008 8:24 AM
To access the static methods of a class we define it with LOAD.
As in BADI we use the static methods of the Class which is been used in the BADI.
so we define the class using the kewowrd LOAD.
Hope it helps
Regards
Bhanu
07-11-2008 8:39 AM
inoder to access parameters and method we will use Definition load.
In Higer versions with out using the definition load you can access the static data and methods.