07-14-2008 9:58 AM
Hi:
do tree have the standard functoin to export data to local file? you know ALV have the standard button to do it.
thanksss.
qimingxing.
07-14-2008 10:44 AM
SAP Tree, introduced in Release 4.6A, can be used to display data at the frontend. The SAP Tree Model, new in Release 4.6C, also allows you to administer the data within the control instance.
When deciding whether to use the SAP Tree or the SAP Tree Model, you should remember that the SAP Tree Model provides some useful functions that are not available in the SAP Tree. For example, the SAP Tree Model allows you to:
Check node keys before you send them to the frontend (to ensure that there are no duplicates)
Search within the tree
Print the tree
07-14-2008 10:28 AM
I don't think there is a method built into the tree object for doing this.
[SAP Tree and Tree Model|http://help.sap.com/saphelp_47x200/helpdata/EN/b7/147a36c70d2354e10000009b38f839/frameset.htm]
I think one way you could do it is have an option on the application menu, then manually parse the data in the tree and build up an itab yourself from the expanded nodes (or all nodes or whatever). Then you could export the data from the itab.
07-14-2008 10:44 AM
SAP Tree, introduced in Release 4.6A, can be used to display data at the frontend. The SAP Tree Model, new in Release 4.6C, also allows you to administer the data within the control instance.
When deciding whether to use the SAP Tree or the SAP Tree Model, you should remember that the SAP Tree Model provides some useful functions that are not available in the SAP Tree. For example, the SAP Tree Model allows you to:
Check node keys before you send them to the frontend (to ensure that there are no duplicates)
Search within the tree
Print the tree