Application Development and Automation 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: 
Read only

how to write a programm in abap to the variables in tree format using inter

Former Member
0 Likes
390

if we take the elements as A,X,Y,D,E,F,G,H,Z.

A is parent node.

X,Y are child nodes of A.

D,E,F,are child nodes of X.

G,H,Z,are child nodes of Y.

the output will be like this if we any elements

A X D E F Y G H Z.

here a has two child nodes.

X has a parent node A and child nodes D E F.

Y has parent node A and child nodes G H Z.

if we take the elements as A,X,Y,D,E,F,G,H,Z.

A is parent node.

X,Y are child nodes of A.

D,E,F,are child nodes of X.

G,H,Z,are child nodes of Y.

the output will be like this if we any elements

A X D E F Y G H Z.

here a has two child nodes.

X has a parent node A and child nodes D E F.

Y has parent node A and child nodes G H Z.

1 REPLY 1
Read only

Former Member
0 Likes
357

Hi Ramana,

Welcome to SDN

Just go through the demo programs provided by SAP. Goto SE38, type BCALV_TREE* and hit F4. You'll get a list of demo programs for trees.

Hope this helps.

Regards

Anil Madhavan