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

table contol

Former Member
0 Likes
784

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
Read only

Former Member
0 Likes
717

<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
Read only

Former Member
0 Likes
717

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.

Read only

Former Member
0 Likes
717

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

Read only

Former Member
0 Likes
718

<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

Read only

0 Likes
717

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.

Read only

Former Member
0 Likes
717

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

Read only

Former Member
0 Likes
717

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

problem is solved

raj

Read only

0 Likes
717

can you pls give the solution.

I too have the same problem.