on 10-09-2014 7:54 AM
Hi all,
Below is my Query result on which i need to ask a question.
The above table is named as "Material".
I want to create a tree-node type structure like this
Material
|
Plastic
Lead
Colour
Water
Wood
Aluminium
I am using iBrowser for this.
But i am receiving different structure like this -
Plastic
Lead
Colour
Water
Wood
Aluminium
How do i put material on the top as a Parent node and all these Material name as its child nodes.
Please reply ASAP!
Thanks and Regards
Anish Vyas
Yes Anish,
You can simply give the sequence of columns in the mapping like
Child level2, child level1, Parent
Regards,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No Anish,
That won't help. PLease refer the link below:
iBrowser - SAP Manufacturing Integration and Intelligence - SAP Library
Thanks,
Swaroop
Hi Swaroop,
If four columns are returned and the Data Link Mode checkbox is selected, the system assumes the first column includes an item, the second column includes the parent node, the third column includes the data link value for the item, and the fourth column includes the data link value for the parent node.
can you please elaborate on the meaning of above bold and underlined lines??
Hi Anish,
It's a limitation with iBrowsers. Max columns it can accomodate is only 2. Refer the link below:
iBrowser - SAP MII Workbench - SAP Library
Hope it helps.
Regards,
Swaroop
You can display 3 or more levels with a data set like this:
<Row>
<Item>Root Item</Item>
<ParentNode/>
<ItemDataLinkValue>Root</ItemDataLinkValue>
<ParentNodeDataLinkValue/>
</Row>
<Row>
<Item>Level1a Item</Item>
<ParentNode>Root Item</ParentNode>
<ItemDataLinkValue>Level1a</ItemDataLinkValue>
<ParentNodeDataLinkValue>Root</ParentNodeDataLinkValue>
</Row>
<Row>
<Item>Level2a Item</Item>
<ParentNode>Level1a Item</ParentNode>
<ItemDataLinkValue>Level2a</ItemDataLinkValue>
<ParentNodeDataLinkValue>Level1a</ParentNodeDataLinkValue>
</Row>
<Row>
<Item>Level1b Item</Item>
<ParentNode>Root Item</ParentNode>
<ItemDataLinkValue>Level1b</ItemDataLinkValue>
<ParentNodeDataLinkValue>Root</ParentNodeDataLinkValue>
</Row>
<Row>
<Item>Level2b Item</Item>
<ParentNode>Level1b Item</ParentNode>
<ItemDataLinkValue>Level2b</ItemDataLinkValue>
<ParentNodeDataLinkValue>Level1b</ParentNodeDataLinkValue>
</Row>
HI Anish,
I still doubt if Christian is talking about MII specific case. But anyways, here's something that i found out:
http://www.dreamincode.net/forums/topic/170613-xml-tree-view/
Download the zip file and use it. You would have to do a little modification in xml to iunclude third element. Here's what i did:
<topic text="Cascading Style Sheets">
<article text="Style Sheets Now!" articleID="13" >
<Subarticle text="Swaroop was here!" articleID="1" />
</article>
<article text="CSS Quick Tutorial" articleID="14" />
<article text="CSS Structure and Rules" articleID="15" />
</topic>
And the result:
Hope this helps!!
Warm Regards,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anish,
There would be a slight change on the dataset you are using. You need to group the data with respect to your parent element.
Then select the child first for mapping and then the parent.
Hope this helps!!
This way it will help achieve a solution for Vishal as well.
Warm Regards,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.