Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CLASS CL_GUI_CFW DEFINITION LOAD.

Former Member
0 Kudos

CLASS CL_GUI_CFW DEFINITION LOAD.

what is the meaning of this?

4 REPLIES 4

uwe_schieferstein
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member188685
Active Contributor
0 Kudos

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.