cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide columns in table (do not use standard component "SALV_WD_TABLE")

Former Member
0 Kudos

Hi Experts

I want to hide some columns in webdynpro,  i know how to hide comuns by standard component "SALV_WD_TABLE",but for some reasons, i can not use

the standrd component "SALV_WD_TABLE", anyone can give me some idea or sample code.

Many thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you are not using WD ALV means you are using a WD Table in your component?

If yes->

For the columns which you want to hide, create a context attribute of type WDUI_VISIBILITY, bind it tothe column property of visible in the table layout

and set the values 01 - none and 02 -visible based on your condition..

Former Member
0 Kudos

Sukumar,

This isssue have been fixed.many thanks!

Answers (1)

Answers (1)

former_member197425
Active Participant
0 Kudos

Hi,

If in your scenario columns in ALV  need to be hidden without  code means ,the only available option

which i feel is change the LAYOUT using "SETTINGS" of ALV display , in the settings we can make columns hide & unhide and save your settings,then those settings for that ALV will get applied...

Thanks,

Nandi