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: 

Regarding ALV Grid

Former Member
0 Kudos

Hai I am workig with ALV Grid..

I prepared the fieldcatlog...it has 10 entries..

when the list is displayed in the grid..Is it possible to hide a perticuler column...

like i need to hide 5th position col header...

Is is possible...if so how ...Please give me the solution

Thanks,

Srikanth.J

6 REPLIES 6

Former Member
0 Kudos

try

ifieldcat-no_out = 'X'.

for the perticular column.

regards

shiba dutta

Former Member
0 Kudos

Hello,

Make the <b>FIELDCAT-NO_OUT = 'X'</b>

If useful reward.

Vasanth

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi

Use

ifieldcat-no_out = 'X'.

for that perticular column.

Regards,

kumar

Former Member
0 Kudos

You can also delete field in fieldcatalog.

DELETE fieldcatalog where fieldname eq 'FIELD'.

Former Member
0 Kudos

hi,

WA_FIELDCAT-FIELDNAME = 'FIELD1'.

WA_FIELDCAT-NO_OUT = 'X'.

APPEND WA_FIELDCAT TO IT_FIELDCAT1.

CLEAR WA_FIELDCAT.

regards,

priya.

Former Member
0 Kudos

hi

please follow the below piece of code and prepare ur code:

w_fieldcat-col_pos = '1'. "Column no.

w_fieldcat-fieldname = 'KUNNR'. "Customer

w_fieldcat-seltext_m = 'Customer'. "Fieldcat description

w_fieldcat-no_out = 'X'. "Column 1 will not be displayed

append w_fieldcat to t_fieldcat.

clear w_fieldcat.

this solves the issue.

regards,

shamim