Skip to Content
0
Former Member
Mar 02, 2011 at 03:54 PM

ALV CellTab issue

173 Views

Hello Friends,

I strucked in ALV Container problem. Not able to figure it out. Please help me to fix this issue.

My requirement is as follows

I took one container using OO programing to display ALV fields. This is editable screen.

My requirement is I have 6 fields in ALV with 10 rows, In 10 rows, first 2 fields always are enabled mode. Once user entered data in 2nd field, remaining 4 fields should be either enabled/disabled depending upon my logic. I am using CELLTAB and er_data_changed in my 2nd field logic. I am able to enable/disable fields for 1st row. Supponse 3,4,5,6 fields are enabled mode and making change in GT_OUTPUT internal table. it works fine

When I goto 2nd row, my celltab is going empty for 1st row, so 1st row 3,4,5,6 fields are now in disabled mode.

My CELLTABL declarition is wlt_celltab TYPE lvc_t_styl.

My question is once I modify my CELLTAB in GT_OUTPUT internal table for 1st row, why GT_OUTPUT-CELLTAB contains 0 values.

Please respond with your answers.