cancel
Showing results for 
Search instead for 
Did you mean: 

Table Tree with Webdynpro ABAP

former_member187651
Active Participant
0 Kudos

Hello Gurus,

I have successfully implemented table tree up to 4 levels, which was previous requirement with the client. But now I need table tree with the multiple levels. Here we don't know that, up to how much level the tree will expand in the table. I have to configure out at the run time only.

Here I have taken the help of code with the following URL.

http://wiki.sdn.sap.com/wiki/display/profile/2007/09/11/Integration+of+Tree+Structure+in+a+Table+usi...

Now, I have searched the SDN, but didn't found any relevant solution.

Please help. Its urgent.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

former_member187651
Active Participant
0 Kudos

Thanks to all for their great ideas. I solved my problem to get multilevel table tree. check the link below...its really works for me..

http://www.divulgesap.com/blog.php?p=Nzg=
http://divulgesap.com/blog.php?p=ODQ=


former_member197870
Participant
0 Kudos

The person is asking about webdynpro and examples quoted are of Floor plan manager.

Request readers to be bit careful.

Answers (2)

Answers (2)

former_member197870
Participant
0 Kudos

I got a similar program done in SE80.

WDT_TREE_TABLE_BY_KEY.

Now there is a supply finction and on that we need to addd dynamic rows.

What is this architecture of software design man ?.

I am doing every petty thing to achieve an interface.

I request sap to discard webdynpro in coming version.It is not a RAD tool atleast.

Former Member
0 Kudos

This message was moderated.

former_member187651
Active Participant
0 Kudos

Hello Manish,

Thanks for your Quick reply.

Can you share the code or Guide for step by step process to implementing the FPM.

I am trying to implement the same but getting problem.

Thanks.

Former Member
0 Kudos

Hi Chandan,

You can refer below link for FPM development.

http://scn.sap.com/docs/DOC-30668

In this cook book you can find All the UIBB example.

Another link:

http://www.scribd.com/doc/74011526/116/Hierarchical-List-Component-GUIBB-TREE

-Manish

former_member187651
Active Participant
0 Kudos

Hey Manish,

Problem is not yet resolved. Client is looking for Table tree style with multiple level.

Any idea for the same.

Do you have any idea to manipulate the code given in the link to create multilevel tree in the  table.

http://wiki.sdn.sap.com/wiki/display/profile/2007/09/11/Integration+of+Tree+Structure+in+a+Table+usi...

On the other side I am trying with FPM also.

Thanks

Aliaksandr
Active Participant
0 Kudos

Hi Chandan,

Unfortunately I didn't exactly understand why you can not use example in your link. But...

If your application isn't based on FPM it would be problematically to use FPM table tree.

I recommend you to refer on standard example in the system - on DEMO_TABLE_WITH_TREE_BY_NST application.

I hope it would be helpful for you.

Kind regards, Aliaksandr.

Former Member
0 Kudos

This message was moderated.

former_member187651
Active Participant
0 Kudos

Thank you Manish.

It seems that FPM concept will work with my requirement. I m trying for the same based on you code and guidelines. But problem is I have never implemented FPM before. can you give me the document which will explain me step by step process to implement the scenario I am looking for.

I am new to it, tha'ts why I am getting problem.

I will be really thankful to you for the same. Please let me help on this.

Waiting....

former_member187651
Active Participant
0 Kudos

Hello Aliaksandr,

I have tried with DEMO_TABLE_WITH_TREE_BY_NST application.

SAP has made the tree with path assigning to it but in my case I nee to work with my internal table.

my structure is like:

data:

number type string, "master column for the table

node_level "current level

parent_level

expanded  "wdy_boolean

is_leaf "wdy_boolean

childrend_loaded  "wdy_boolean

Any suggestion is helpful to me.....

Former Member
0 Kudos

Hi Chandan,

The cookbook will solve all your problems

http://scn.sap.com/docs/DOC-30668

In this cook book you can find All the UIBB example.

-Manish

Aliaksandr
Active Participant
0 Kudos

Hi Chandan,

I think your tree can not work correctly with this structure. Fields NODE_LEVEL and PARENT_LEVEL are not very important. You can use them only for your own purposes. For building strict hierarchical model all nodes must be stored information about parent (PARENT_LEVEL field stores only level of parent node but you can have several nodes with this level in your tree). It would be more suitable to add field PARENT_NUMBER in your structure. But you must remember that model with this structure will work only if values in NUMBER field is unique for all tree. If it is not so you must use two additional technical fields (e.g. NODE and PARENT_NODE) and generate unique values for these fields in run-time.

As an example I suggest you to look more simple approach in standard DEMO_TABLE_WITH_TREE_BY_KEY application.

Kind regards, Aliaksandr.

former_member187651
Active Participant
0 Kudos

Hi Manish,

Thanks for your reply.

I have gone through the cook book. This book is good but I did not found any practical Example given, which could solve my problem . Do you have any another document which explains the same practically, step wise with screen shot if possible.

Can you give me the detail with screen shot.

Thanks.