11-16-2006 9:31 AM
hi,
I want to set condition in my table control at row level that
whichever rows contains scheme field = 'U' then particular fields get disable.
otherwise user can enter data.
regards
raj
11-16-2006 9:53 AM
<b>Defien the screen group for the fields in ur internal table of table control.</b>
can you explain to me this in detail.
in table control with internal table how to define group.
thanks
raj
11-16-2006 9:37 AM
in PBO section.
loop at itab with control.....
module display.
endloop.
module display.
if itab-scheme = 'U'.
loop at screen.
if screen-group = <Screen group for al the fields in the TC>.
screen-input = 0.
modify screen.
endif.
endloop.
endif.
endmodule.
11-16-2006 9:42 AM
Hi,
Defien the screen group for the fields in ur internal table of table control.
Use the code below in PBO.
loop at itab_screen with control.
module disable.
endloop.
module disable.
if itab_screen-scheme = 'U'.
loop at screen.
if screen-group = 'ITAB_SCREEN-<fieldname>'
screen-input = 0.
screen-active = 1.
modify screen.
endif.
endloop.
endif.
endmodule.
Hope it would solve the purpose kindly rewards the points...
regards
manish
11-16-2006 9:53 AM
<b>Defien the screen group for the fields in ur internal table of table control.</b>
can you explain to me this in detail.
in table control with internal table how to define group.
thanks
raj
11-16-2006 10:03 AM
field group name in that was assigned at the layout editor(properties). use that group name in the loop at screen of the pbo event , so that your problem will be definetely solved.
11-16-2006 10:38 AM
I tried to group from edit->grouping->step loop->define.
but it is giving me error that not enough space for step loop.
regards,
raj
11-16-2006 10:44 AM
thanks ravi yogendra v.s.n.a. - points for all
problem is solved
raj
01-30-2008 11:03 PM