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: 

tree like spro

Former Member
0 Kudos

Hi,

how can I add documentation button and execution button to a tree node like the screen in the spro?

7 REPLIES 7

raymond_giuseppi
Active Contributor
0 Kudos

Look at [SAP Tree and Tree Model (BC-CI)|http://help.sap.com/saphelp_nw04/helpdata/en/b7/147a36c70d2354e10000009b38f839/frameset.htm], look also at SAP demos like transactions [DWDM|https://www.sdn.sap.com/irj/scn/advancedsearch?query=dwdm&cat=sdn_all].

Regards

0 Kudos

Hello Raymond,

thank you for your answer, I know how to create a tree, but how can I add the symbols of documentation and execution to the node like in the transaction spro->SAP Reference IMG?

Where in the coding do I have to handle these functions?

0 Kudos

Really, look at demo transactions in DWDM, then find more information on [Methods of Class CL_GUI_LIST_TREE|http://help.sap.com/saphelp_nw70/helpdata/en/1b/2a75baa9fd11d2bd6f080009b4534c/frameset.htm]

Regards

0 Kudos

The following steps would help you add a node to SPRO

Steps:

1. Node creation

- Use transaction S_IMG_EXTENSION and select the IMG structure that u want to extend.

- Create a new enhancement and select the same and click on option ENHANCE STRUCTURE.

- Navigate to the point where you need the node and click on icon create activity

- Give the IMG ACTIVITY ID and NAME .

- Provide an ID and name in the tab MAINTAIN OBJECTS and give the object description in the same.

- Eg : If a maintenace view, enter the customizing object name as the view name, type as V and the transaction as SM30 and save.

2. Add supporting help documentation for the node:

-Use the tab DOCUMENTATION and create a document.

- To insert hyperlinks in the documentation which are mapped to the data element documentation (same as SAP standard).

-Use LINK option in the INSERT menu in the documentation window.

-Select u2018Data elementu2019 option from the drop down

-Provide the data element name to create the hyperlink.

0 Kudos

In DWDM did you look at report SAPTLIST_TREE_CONTROL_DEMO....

Regards

Former Member
0 Kudos

HI,

Refer to the demo program SALV_DEMO_HIERSEQ_SELECTIONS

Refer to this link ..https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0f03986-046c-2910-a5aa-e5364e96ea2c

0 Kudos

Thank you for your answer, what I want is the same like SPRO->SAP Reference IMG. But how can I add the same documentation symbol and execution symbol to the tree, its not a issue to create the tree, I don't know how to add these mentioned symbold which have several functions as when I click on the text of a node.