Application Development and Automation 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: 
Read only

Regarding ALV Grid

Former Member
0 Likes
672

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

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
Read only

Former Member
0 Likes
651

try

ifieldcat-no_out = 'X'.

for the perticular column.

regards

shiba dutta

Read only

Former Member
0 Likes
651

Hello,

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

If useful reward.

Vasanth

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
651

Hi

Use

ifieldcat-no_out = 'X'.

for that perticular column.

Regards,

kumar

Read only

Former Member
0 Likes
651

You can also delete field in fieldcatalog.

DELETE fieldcatalog where fieldname eq 'FIELD'.

Read only

Former Member
0 Likes
651

hi,

WA_FIELDCAT-FIELDNAME = 'FIELD1'.

WA_FIELDCAT-NO_OUT = 'X'.

APPEND WA_FIELDCAT TO IT_FIELDCAT1.

CLEAR WA_FIELDCAT.

regards,

priya.

Read only

Former Member
0 Likes
651

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