Skip to Content
0
Former Member
Jul 20, 2009 at 09:14 AM

Dynamic Screen in Table Control

14 Views

Hello Guys,

I have a problem on screen dynpro. In the screen, i have a table control and i set all the field can be input.

But i have 2 t-code where 1 of the t-code can edited the data and another one only display.

So in screen status, i insert this code.

  IF sy-tcode = 'ZDLKWPP3'.
    LOOP AT SCREEN.
      IF screen-group1 = 'ZKP'.
        screen-input = 0.
        screen-output = 1.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
ENDIF.

but when i execute, the screen still can be input. can anyone help me please...!!!!