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

alv tree concept using OO concept

Former Member
0 Likes
907

Hi every body,

I have to display my output in hierarchy display like, for every orgunit there will be some positions those positions must be dispalyed under respective orgunit. for this program i am using OO concept for the ALV output. I know that we have to use IS_HIERARCHY_HEADER for the hierarchy display. how to develop the code for this .can any body send the code for how to display this type output.

NOTE: here i am not using any LDB's.

thankking u,

giri.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
600

You can check the following Demo Programs.

BCALV_GRID_DND_TREE

BCALV_GRID_DND_TREE_SIMPLE

BCALV_TEST_COLUMN_TREE

BCALV_TEST_SIMPLE_TREE

BCALV_TREE_01

BCALV_TREE_02

BCALV_TREE_03

BCALV_TREE_04

BCALV_TREE_05

BCALV_TREE_06

BCALV_TREE_DEMO

classed used in this are

CL_GUI_ALV_TREE

CL_GUI_LIST_TREE

CL_GUI_COLUMN_TREE

in all these one thing you have to do is create nodes and populate nodes is tough task , rest all simple.

3 REPLIES 3
Read only

Former Member
0 Likes
601

You can check the following Demo Programs.

BCALV_GRID_DND_TREE

BCALV_GRID_DND_TREE_SIMPLE

BCALV_TEST_COLUMN_TREE

BCALV_TEST_SIMPLE_TREE

BCALV_TREE_01

BCALV_TREE_02

BCALV_TREE_03

BCALV_TREE_04

BCALV_TREE_05

BCALV_TREE_06

BCALV_TREE_DEMO

classed used in this are

CL_GUI_ALV_TREE

CL_GUI_LIST_TREE

CL_GUI_COLUMN_TREE

in all these one thing you have to do is create nodes and populate nodes is tough task , rest all simple.

Read only

Former Member
0 Likes
600

Hi,

Please refer the link below:

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

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
600

Hi,

If you are familiar with object oriented concepts then you can use ALV tree to display values in single line.

You can refer demo program BCALV_TREE_DEMO.

Regards,

Prabhat