Skip to Content
0
Former Member
Dec 27, 2007 at 11:43 AM

setting column to input enabled in table control at run time

24 Views

Hi friends,

I have one table control in that all columns are

set as display only field or ( output only).

Now, when I press enter key one column should be

enabled as input field. HOW TO DO THAT?

my coading.

loop at ztblctrl-cols into s_cols.

if s_cols-screen-name = 'ZGATEPASS-MENGE'.

s_cols-screen-input = 1.

s_cols-screen-output = 1.

s_cols-screen-invisible = 0.

s_cols-screen-active = 1.

s_cols-screen-required = 1.

move s_screen to s_cols-screen.

modify ztblctrl-cols from s_cols.

endif.

endloop.

Regards,

s.senthil kumar