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: 

How to Display Sub-Columns using ALV

Former Member
0 Kudos

Hi experts,

Could someone tell me how to display sub-columns under a parent column using ALV. Do we have any standard Program which has this scenario. points are guaranteed for the right answer.

Thanks in advance

Sreenivas

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

this can be achieved using hierarchial ALV display, here you have to pass 2 internal tables, header itab which is your parent and item itab which contains item data, your parent column should be present in both itabs.

check out demo programs,

BCALV_TEST_HIERSEQ_LIST ,

search using BCALVHIER

Regards,

Raghavendra

2 REPLIES 2

Former Member
0 Kudos

Hi,

this can be achieved using hierarchial ALV display, here you have to pass 2 internal tables, header itab which is your parent and item itab which contains item data, your parent column should be present in both itabs.

check out demo programs,

BCALV_TEST_HIERSEQ_LIST ,

search using BCALVHIER

Regards,

Raghavendra

Former Member
0 Kudos

you can check all with <b>BCALV* or RSDEMO*</b> in SE38 for all Std

check below

BCALV_DND_01 Drag ALV Row to Tree Folder

BCALV_DND_02 Drag Icons from Tree to Rows of the Grid

BCALV_GRID_DND_TREE ALV Grid: Drag and Drop with ALV Tree

BCALV_GRID_DND_TREE_SIMPLE ALV GRID: Drag and drop with ALV tree (simple)

BCALV_TEST_COLUMN_TREE Program BCALV_TEST_COLUMN_TREE

Rewards if useful............

Minal