2007 Apr 06 10:24 AM
Hi all,
I am using a grid to display my internal table contents. some columns are disabled and some are enabled.
In the enabled columns, I need to disable particular field(not the entire column) depending on some conditions.
Direct Problem:
My internal table has columns: sentdate, resent date, target recipient date, actual recipient date, reminder date.
At any time, only 'sent date' or 'resent date' should be enabled.
If both are initial then 'sentdate' should be enabled and 'resentdate' is disabled.
If both are not initial then 'sentdate' should be disabled and 'resentdate' is enabled.
Hi all,
I am using a grid to display my internal table contents. some columns are disabled and some are enabled.
In the enabled columns, I need to disable particular field(not the entire column) depending on some conditions.
Direct Problem:
My internal table has columns: sentdate, resent date, target recipient date, actual recipient date, reminder date.
At any time, only 'sent date' or 'resent date' should be enabled.
If both are initial then 'sentdate' should be enabled and 'resentdate' is disabled.
If both are not initial then 'sentdate' should be disabled and 'resentdate' is enabled.
2007 Apr 06 10:26 AM
Check this blog -
/people/community.user/blog/2007/01/10/displaychange-mode-of-editable-fields-in-alv-using-function-modules-but-not-custom-containers
Regards,
Amit
Reward all helpful replies.
2007 Apr 06 10:56 AM
So to do such actions , we have to have the column like 'CELLTAB TYPE LVC_T_STYL' .
Right now I don't have that field for my internal table.
Should I include that field to my internal table?
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |