Skip to Content
avatar image
Former Member

hiding field when selecting one subtype

Hi All,

I have 2 fields in subtype,if u select one subtype...one field should get hide for that subtype in that screen.

Thanks in Advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 13, 2008 at 09:34 AM

    Hi,

    First, assign them grioups while declaring.

    PARAMETERS t_tip(10). "transaction tip

    PARAMETERS: pa1 TYPE dmbtr modifid 'pa',

    pa2 TYPE dmbtr modifid 'pb',

    .

    And then,

    AT SELECTION-SCREEN OUTPUT.

    loop at screen.

    if screen-group1 = 'pa'.

    screen-active = '0'.

    modify screen.

    endif.

    endloop.

    Thanks,

    Paras

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      As it was confidential,I cant send u code...But i can explain u in detail.I got a subtype with an option of choosing 2 fields in it.

      If I select first subtype,I should need to hide some fields in that specific screen.

      And If I select the second subtype, I should be able to enable or watch those specific hided fields on that specific screen.

      Hope u understood my requirment now.So,let me know if there is any functionality for the same.

      Thanks in Advance.