Skip to Content

how to hide a entire tablecontrol without using subscreen....

hiiiiiii

iam using input/out and tablecontrol in screen 100...my input/output field is matnr.. before entering matnr tablecontrol should not visible....i.e i want entire tablecontrol to hide not particular column....n tablecontrol is hide.... when iam entering matnr tablecontrol should visible.....

how to visible and invisible a tablecontrol without using subscreen.....is tre a way to do it...

table-invisible = 'x'.

where table is name of tablecontrol n it hides the tablecontrol... but again after entering matnr how to make tablecontrol visible....

if any one knows how to do it pls help....

rewards if any tell correctly.......

thanks...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 17, 2007 at 09:06 AM
    in PBO.
     MODULE HIDE_UNHIDE.
    
    in PAI
    MODULE HIDE_UNHIDE.
    
    
    MODULE HIDE_UNHIDE.
     if not p_matnr is initial.
          loop at screen.
             if screen-name eq 'TC1'.
                screen-active = '0'.
                modify screen.
             endif.
           endloop.
     endif.
    ENDMODULE.
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 17, 2007 at 09:07 AM

    In screen painter, open the table control attributes, enter the some value in group column.

    ex:

    PROCESS BEFORE OUTPUT.

    MODULE SCR_INIT.

    &----


    *& Module SCR_INIT OUTPUT

    &----


    • text

    ----


    MODULE SCR_INIT OUTPUT.

    LOOP AT SCREEN.

    if g_auth = 'BM'.

    if screen-group1 = 'GR1'.

    SCREEN-ACTIVE = '0'.

    SCREEN-INPUT = '0'.

    endif.

    modify screen.

    endloop.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 17, 2007 at 09:15 AM

    thanksss n will assign rewards...

    Add comment
    10|10000 characters needed characters exceeded