2005 Sep 05 5:26 AM
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
2005 Sep 05 5:34 AM
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
2005 Sep 05 5:34 AM
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
2005 Sep 05 7:17 AM
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.
2005 Sep 05 9:40 AM
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.
2005 Sep 05 9:58 AM
i guess you have to register event
cl_gui_alv_tree=>eventid_checkbox_change
Regards
Raja
2005 Sep 05 10:21 AM
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
2005 Sep 05 10:33 AM
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