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: 

hiding field when selecting one subtype

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

0 Kudos

It wont happen for subtype...can u tell me the functionality for subtype.??

Thanks

0 Kudos

can u plz send me the code?

0 Kudos

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.