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: 

do tree have the standard functoin to export data to local file ?

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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