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: 

Where do we get the help documents related to "Class"es we require

Former Member
0 Kudos
140

Hi Every One,

I have a requirement of developing a tree on the Custom container. And Iam trying to check the feasbility of usage of various classes. I would be better if I could have proper help document which helps me in understanding the features of a class. Could any one suggest the best way I can follow to explore a class.

Currently Iam trying to work with bdmt_control,cl_gui_alv_tree,cl_gui_column_tree.

It would be better if any one can suggest me where can I find the help doc's.

Regards ,

Nagaraju Donikena,

nagaraju.donikena@gmail.com

1 ACCEPTED SOLUTION

athavanraja
Active Contributor
0 Kudos
111

If the documentation is provided you can see the same from transaction se24 enter class name and hit F7 and then hit documentation button. but most of the time you wont find it particularly for newer classes. In case the documentation is not available in a particular language you can translate from master language to your desired language from transaction SE63.

but the demo programs will be helpful.

for cl_gui_alv_tree

BCALV_TREE_DEMO

for cl_gui_column_tree

SAPCOLUMN_TREE_CONTROL_DEMO

Best way is to do a where used list of the class and see how it is used in those programs.

Regards

Raja

6 REPLIES 6

athavanraja
Active Contributor
0 Kudos
112

If the documentation is provided you can see the same from transaction se24 enter class name and hit F7 and then hit documentation button. but most of the time you wont find it particularly for newer classes. In case the documentation is not available in a particular language you can translate from master language to your desired language from transaction SE63.

but the demo programs will be helpful.

for cl_gui_alv_tree

BCALV_TREE_DEMO

for cl_gui_column_tree

SAPCOLUMN_TREE_CONTROL_DEMO

Best way is to do a where used list of the class and see how it is used in those programs.

Regards

Raja

0 Kudos
111

Hi,

Even I have the same problem.For many classes I dont find documentation given by SAP in any language.So thought of asking a better way which I may not know.

Thanks for the reply.

Regards ,

Nagaraju Donikena.

0 Kudos
111

Hi,

I could not find the checked items in the the program BCALV_TREE_DEMO.I tried with the method GET_CHECKED_ITEMS , which is not getting me the checked items. And when I looked into the code it is simply using the attribute mt_checked_items.And also I was seeing whether any method exists to update this attribute , could not find any public method which updates this attribute using method 'UPDATE_CHECKED_ITEMS'.

Any help would be appreciated.

Regards ,

Nagaraju Donikena.

0 Kudos
111

i guess you have to register event

cl_gui_alv_tree=>eventid_checkbox_change

Regards

Raja

0 Kudos
111

Hi Raja,

That was a helpful answer.

We have the method SET_REGISTERED_EVENTS in classes.

Can u say me why are calling this method. I mean what is the purpose of this registration.

If u have any help docs u can mail them to me.

Regards,

Nagaraju Donikena.

nagaraju.donikena@gmail.com

0 Kudos
111

there will be many possible events for that particular class and only registered events will get triggered.

These calsses (control classes) work on activex controls or dlls.

to understand how it works., you may have to read a bit about controls programming in SAP.

check out the online documentation

http://help.sap.com/saphelp_47x200/helpdata/en/ea/6013361d5af835e10000009b38f839/frameset.htm

Regards

Raja