01-23-2005 6:20 AM
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
01-23-2005 9:43 AM
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.
01-23-2005 3:29 PM
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.
01-24-2005 3:52 AM
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
01-24-2005 6:34 AM
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.