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 certain columns in CL_GUI_ALV_TREE alv

former_member505773
Active Participant
0 Kudos

Hi All,

I've a scenario whereby i need to display certain columns in ALV tree.

For eg : 1st level of alv = Inv.doc numner ==>table LINP

             2nd lvl of alv = Storage bin number ===> table LINP

             3rd lvl of alv = matertial number, qty, description ==> table LINV

How do we set that the header is only display material number column, qty column, and description column?

Thanks in advance for all the opinion.

Regards,

Sham,          

1 ACCEPTED SOLUTION

Sijin_Chandran
Active Contributor
0 Kudos

Hello Sham ,

Check the below Demo code BCALV_TREE_DND and check how  FORM build_hierarchy_header  is filling the header values.

This may help you out.

2 REPLIES 2

Sijin_Chandran
Active Contributor
0 Kudos

Hello Sham ,

Check the below Demo code BCALV_TREE_DND and check how  FORM build_hierarchy_header  is filling the header values.

This may help you out.

0 Kudos

Hi Sijin,

Thanks for your advise. I've build the header using catalogue.

What i need to do is pass in the 3rd level data structure as this will be the last child/leaf.

Then from the catalogue field, set "tech" = 'X' and "no_out" = 'X' to avoid unnecessary field being display.

Regards,

Sham.