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

Activating/ Deactivating Table Control display in Module Pool

Former Member
0 Likes
553

Hi,

I am developing module pool program which has two table control in a single screen. Among the two table controls one will be always active for User input. But the other table control will be active for input only after the input of data in a particular field on the same screen. please suggest how to achieve it.

Regards,

Pulokesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
531

In your PBO section have a module like this.

loop at <second tc > with <second itab>..

MODULE SECOND_TC_ENABLE.

endloop.

Module SECOND_TC_TABLE.

if <your field> <> space.

loop at screen.

if screen-name = <Name of your TC fields>

screen-output = 1.

screen-input = 0.

modify screen.

endif.

endloop.

endif.

endlmodule.

Regards,

Ravi Kanth Talagana

3 REPLIES 3
Read only

Former Member
0 Likes
532

In your PBO section have a module like this.

loop at <second tc > with <second itab>..

MODULE SECOND_TC_ENABLE.

endloop.

Module SECOND_TC_TABLE.

if <your field> <> space.

loop at screen.

if screen-name = <Name of your TC fields>

screen-output = 1.

screen-input = 0.

modify screen.

endif.

endloop.

endif.

endlmodule.

Regards,

Ravi Kanth Talagana

Read only

0 Likes
531

Hi,

Your reply solved other problems but didn't solve the problem that i mentioned above. Any way today i have solved the problem myself. thanks for the help.

Regards,

Pulokesh

Read only

Former Member
0 Likes
531

Table control itself is a separate screen. Use its own components to play with it.