on 12-10-2012 11:24 AM
Hi experts,
I'm developing a Web Dynpro Application using ABAP; Creating Tree view dynamically using Supply Function as below;
Level 1 (Tree Node) - expanded property checked
Level 2 (Tree Node) - Expanded property checked
Level 3 (Tree Node) - Expanded Property un checked
For Example:
Level 1 (Purchase Order)
Level 2 (Purchase Item)
Level 3 (Material Number)
For the given PO, all the items will be fetched and populated using supply function of context node created for Level 2; and materials in the respective items will be displayed as sub node of Item node using suply function of context node for Level 3;
Now, if the material is marked for deletion, then the material should have icon to denote that it is deleted; something like cancelled mark ('X') and if the material is not marked for deletion, then it should have tick mark to denote that it is not marked for deletion.
can someone suggest how to populate the Icon_Source property for Tree_Node while building the level 3 (material number) for items based on deletion indicator for that material;
Thanks,
Amal
Hi Amal,
Take a look at component WDR_TEST_EVENTS view TREE_MAPPED (or another of the TREE_* views). In their example, they have bound several of the TreeNodeType properties to attributes in the 0..n context node. You could similarly bind the iconSource property to a context attribute.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.