on 09-25-2007 2:32 PM
Hi All,
I need to create a tree structure in a view as a lookup for my profit center. I have a BAPI that will return a table structure that has a parentid and childid relationship
Example Structure
ID ProfitCtr ChildID ParentD
1 ABC 1 0
2 DEF 2 1
3 GHI 3 1
4 IJK 4 2
5 LMN 5 2
6 OPQ 6 3
7 RST 7 3
So I want to display
ABC
---- DEF
---- IJK
---- LMN
---- GHI
---- OPQ
---- RST
How do I create a tree structue from the model node of the context. Do I need to create Value Node/attributes and populate from the model node or can i directly bind the model node to tree structure.
I would appreciate if some one can email me the code sample to
sapnwportal@yahoo.com
Thanks
Hi Ravi,
Check this links.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c8780... [original link is broken]
Regards,
Mithu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.