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 Grid(Enabling and Disabling)

Former Member
0 Likes
387

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.

2 REPLIES 2
Read only

amit_khare
Active Contributor
0 Likes
364

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.

Read only

0 Likes
364

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?