Application Development 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: 

table contol

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

<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

7 REPLIES 7

former_member181962
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

<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

0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

thanks ravi yogendra v.s.n.a. - points for all

problem is solved

raj

0 Kudos

can you pls give the solution.

I too have the same problem.