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: 

Hide Unhide columns of ALV grid Report.

Former Member
0 Kudos

Hi,

CAn anyone help me out to How to Hide Unhide columns of ALV grid Report?

Thanks in advance.

Sheetal

10 REPLIES 10

former_member188685
Active Contributor
0 Kudos

Hi

using NO_OUT = 'X' . option of fieldcatalog you can do that.

regards

vijay

0 Kudos

fieldcar-fieldname = 'VBELN'.

..

...

fieldcat-NO_OUT = 'X' . "this will make vbeln hide.

if you don't want to hide give No_out = ' '.

regards

vijay

Former Member
0 Kudos

Hi Sheetal,

You can use the field NO_OUT of the fieldcatalog to hide and unhide fields of the ALV Grid Report

With Regards,

Nelson

Former Member
0 Kudos

Hi,

Thanks for the inputs...But my requirement is to hide or unhide the columns of the output after the report is displayed.

Same like we have the option in excel.

Thanks.

0 Kudos

Hi,

then using layout you can hide and unhide the columns after display.

just click on the Layout button on application tool bar and choose the field which you want to show and exclude the others.

regards

vijay

0 Kudos

Sheetal,

You can simply select the columns you want to hide, do a right click and you will see a HIDE option.

Regards,

Ravi

Former Member
0 Kudos

Hi,

Thanks for the inputs...But my requirement is to hide or unhide the columns of the output after the report is displayed.

Same like we have the option in excel.

Thanks.

0 Kudos

hi

select the column u want to hide afte rthe report is displayed

click on change layout button in application toolbar,select the required fields and move to the column set window

if ur problem is solved ,pls award points and close the post

Message was edited by: chandrasekhar jagarlamudi

Former Member
0 Kudos

Hi,

Thanks for all the inputs.

andreas_mann3
Active Contributor
0 Kudos

Hi,

1) append your toolbar with button hide/unhide

2) set fcat-no_out = 'X' / = space

3) call method SET_FRONTEND_FIELDCATALOG

regards Andreas