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: 

cell in alv invisible

Former Member
0 Kudos
160

Dear Friends,

I have requirment of making a cell in alv invisible,

that is it should not be ready for input and the

contents not display,because that partiuclar field

doesnot have display and change authorization.

kind regards

kaushik hegde

4 REPLIES 4

Former Member
0 Kudos
48

This makes it two posts for having an ALV Cell Invisible. After all, there is a requirement. I still wonder why !!!

There has been some code samples posted recently, you can check that out.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/abap code sample for alv grid.doc

Regards,

Subramanian V.

Former Member
0 Kudos
48

Create a field catalog and for the field you want to be invisible, set TECH = 'X'. No feature of the ALV grid will allow a TECH field to be displayed. If instead you set HIDE = 'X', then the user has ALV features available that will allow them to unHIDE.

Let us know how it goes.

Former Member
0 Kudos
48

Dear Subramanian,

THe suggestion given in the pdf will not work for

numeric values,since you cannot have a space in the numeric value,showing zero in the numeric value will

give a wrong indication.

kind regards

kaushik hegde

Former Member
0 Kudos
48

Hi Kaushik,

Just creat

1)Field Catalogue Table with type SLIS_T_FIELDCAT_ALV.

2)Field Catalogue Work Area with type SLIS_FIELDCAT_ALV

The first one will be your field catalogue table and

Put a loot on your field catalogue Table into Work Area and check the name of your Database field.

Put <b>NO_OUT = 'X'</b> for that field and modify your table from your work area.

Try it our.

Regards,

Sandip.