cancel
Showing results for 
Search instead for 
Did you mean: 

iBrowser customization

former_member453678
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

swaroop_anasane
Active Contributor
0 Kudos

Yes Anish,

You can simply give the sequence of columns in the mapping like

Child level2, child level1, Parent

Regards,

Swaroop

former_member453678
Participant
0 Kudos

Do i need to enable Data Link Mode? Because i tried the way you told me but it is only showing me child level2,child level1(NO PARENT).

Should i share the pictures of both tables??

Thanks and Regards

Anish

swaroop_anasane
Active Contributor
0 Kudos

No Anish,

That won't help. PLease refer the link below:

iBrowser - SAP Manufacturing Integration and Intelligence - SAP Library

Thanks,

Swaroop

former_member453678
Participant
0 Kudos

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??

swaroop_anasane
Active Contributor
0 Kudos

This means, there would be one parent and one child node. Each would have text and data link properties.

Ultimately it would be two levels/node only.

Regards,

Swaroop

former_member453678
Participant
0 Kudos

Hi Swaroop,

That is exactly the issue which i am facing.

I am trying to display a three level tree but it is not displaying me a two level tree.

There is no reference of a 3-level tree in that note.

Thanks and Regards

Anish Vyas

swaroop_anasane
Active Contributor
0 Kudos

H Anish,

For this you can use css. Google it there are some open source snippets available. I would get back to you on iBrowser.

Warm Regards,

Swaroop

swaroop_anasane
Active Contributor
0 Kudos

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

former_member453678
Participant
0 Kudos

Okay.

Thank you for your help BTW.

You were really helping.

If you do find anyway to display a three-level tree please share with me.

Thanks and Regards

Anish Vyas

former_member185280
Active Contributor
0 Kudos

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>

former_member453678
Participant
0 Kudos

Hi Christian,

Can you please describe how can i achieve this?

i mean, can you please describe it in detail?

Thanks and Regards

Anish

Answers (2)

Answers (2)

swaroop_anasane
Active Contributor
0 Kudos

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

swaroop_anasane
Active Contributor
0 Kudos

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

swaroop_anasane
Active Contributor
0 Kudos

You should use an iBrowser, it should by default give you and tree if drop down and multi selection mode is not enabled.

Thanks,

Swaroop

former_member453678
Participant
0 Kudos

Hi Swaroop

Thankyou for your help. I made a few changes in the query and mapped the parent and child and got the result.

Can you suggest any method by which i can create a three-level tree with or without the use of iBrowser?

Thanks & Regards

Anish Vyas