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

hiding field when selecting one subtype

Former Member
0 Likes
738

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
Read only

Former Member
0 Likes
694

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

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.

4 REPLIES 4
Read only

Former Member
0 Likes
695

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

Read only

0 Likes
694

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

Thanks

Read only

0 Likes
694

can u plz send me the code?

Read only

0 Likes
694

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.