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: 

open up an grayed out field for input in module pool table control

Former Member
0 Kudos

Hi,

I have a requirement to open up grayed out fields for input in module pool table control.

I have designed a module pool screen with table control with fileds F1, F2, F3 in which it displays for suppose 3 entries.

in these F1 is grayed out and F2, F3 are open for modifications. Now i need to add another functionality to add new entries

in the same table control with all the fields F1, F2 & F3 as input fields and add that entry to the same internal table and update data base.

Can you please let me know how can I achieve this.

Thanks.

raviraj.

1 REPLY 1

Former Member
0 Kudos

Hi Ravi,

You can achieve it by grouping the fields F1, F2 and F3 in the screen painter. And write this piece of code in the PBO of the screen that has the Table control .

LOOP AT SCREEN.
      IF screen-group1 EQ 'G1' and some condition.
        screen-input = 1.                 "input enabled
        MODIFY SCREEN.
else.
        screen-input = 0.                 "input disabled
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.

If needed, add some more conditions too. And remember the forum rules, you can find the solution by searching in SDN before posting.

Hope this is helpful,

Cheers,

Vivek.

Edited by: Vivek91188 on Mar 15, 2011 8:56 AM