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

Make invisible a table control in a dynpro

Former Member
0 Likes
693

Hi experts,

I need to make invisibile a table control in a dynpro.

I'have assigned a sceen-group to all element of table control and I disactivate them but in don't work fine:



  IF wa_risposta EQ 'DIRET'.

    LOOP AT SCREEN.
      IF screen-group4 EQ 'NAS'.
        screen-active = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.

  ENDIF.

I positioned this code in a module in the PBO loop at table control.

Can someone help me??

THANKS

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
652

I have no idea if this will work, but try setting mytablecontrol-invisible to 'X'.

I tested it. It does work.

Rob

Edited by: Rob Burbank on Sep 9, 2010 1:10 PM

Hi experts,

I need to make invisibile a table control in a dynpro.

I'have assigned a sceen-group to all element of table control and I disactivate them but in don't work fine:



  IF wa_risposta EQ 'DIRET'.

    LOOP AT SCREEN.
      IF screen-group4 EQ 'NAS'.
        screen-active = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.

  ENDIF.

I positioned this code in a module in the PBO loop at table control.

Can someone help me??

THANKS

2 REPLIES 2
Read only

Former Member
0 Likes
653

I have no idea if this will work, but try setting mytablecontrol-invisible to 'X'.

I tested it. It does work.

Rob

Edited by: Rob Burbank on Sep 9, 2010 1:10 PM

Read only

0 Likes
652

Thank you very much it work fine.