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: 

How to make editable the colums of table control in the PBO

mariano_gallicchio2
Participant
0 Kudos
99

Hello Experts!

I`m using the table control in dynpro, and i want to make editable some colums depending of some values.

How can i do that?

Thanks!

1 ACCEPTED SOLUTION

Former Member
0 Kudos
73

Hi

U need to change the screen attributes of colunm by statament LOOP AT SCREEN/ENDLOOP into the loop of table control in PBO:

PROCESS PBO.
  
   LOOP AT ITAB ......
        
        MODULE LOOP_SCREEN_TC.

  ENDLOOP.

MODULE LOOP_SCREEN_TC.

  IF ITAB-FIELD1 = .........
     LOOP AT SCREEN.
        IF SCREEN-NAME = 'ITAB-FIELD2'.
           SCREEN-INPUT = 0.
           MODIFY SCREEN.
        ENDIF. 
    ENDLOOP.
  ENDIF.
ENDMODULE.

Max

3 REPLIES 3

Former Member
0 Kudos
73

Hi.. have alook on the faloowing threads.

Regards,

KP.

Former Member
0 Kudos
74

Hi

U need to change the screen attributes of colunm by statament LOOP AT SCREEN/ENDLOOP into the loop of table control in PBO:

PROCESS PBO.
  
   LOOP AT ITAB ......
        
        MODULE LOOP_SCREEN_TC.

  ENDLOOP.

MODULE LOOP_SCREEN_TC.

  IF ITAB-FIELD1 = .........
     LOOP AT SCREEN.
        IF SCREEN-NAME = 'ITAB-FIELD2'.
           SCREEN-INPUT = 0.
           MODIFY SCREEN.
        ENDIF. 
    ENDLOOP.
  ENDIF.
ENDMODULE.

Max

0 Kudos
73

Thanks a lot Max!