Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Tree Structure using Alv oops conceps

Former Member
0 Kudos

Hi all,

Kindly can any one help me regarding this issue it is very urgent,

I created a tree structure for 5 levels

PlantSales DisdrictCustomer-equipmentMatnr,Sernr

I used containers and used add node method to create the sructure,

the problem is to display as follows

Plant plant text

salesdistrict descripption

Customer customername

equipment equipment description

I am able to display tree but at the same time I am not able to display descriptions

How to do this Kindly help mee ... ASAP

After this once I click on customer it has to go to XD03 when double clicking on customer it is not capturing the value as it is in tree hierarchy, how to handle this.

Rewarding Advance

Srilakshmi

1 ACCEPTED SOLUTION

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check this link for sample code.

http://www.sapdev.co.uk/reporting/alv/alvtree.htm

3 REPLIES 3

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check this link for sample code.

http://www.sapdev.co.uk/reporting/alv/alvtree.htm

Former Member
0 Kudos

Hi

YOu can search for std SAP programs - SE38 - BCALV* ->f4.

Suggest to do search in SDN with key - 'ALV TREE'

Will get a lot of helpful discussions.

See the demo programs

BCALV_TREE_DEMO Demo for ALV tree control

BCALV_TREE_SIMPLE_DEMO

and do accordingly

Former Member
0 Kudos

Hi I have already used the given examples and displaying tree structure but

my problem is

in 1 row if i have Tplnr(plant) with hierarchy symbol , in the end of that row I have to display pltxt regarding to that tplnr.

Then if I press on that hierarchy symbol I am getting sales district number

but still I have to display the the text regarding to that sales district.

Vice versa for customer,equipment.....

this is not there in any examples kindly help me..

regards,

Srilakshmi