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

selection-screen

Former Member
0 Likes
542

Hi,

how do i disable the field on selection screen. I want dissable not hide...

Thank you.

1 ACCEPTED SOLUTION
Read only

former_member582701
Contributor
0 Likes
524

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-name = 'P_LIFNR'. " name of parameter

screen-input = 0.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

regard and reward!

5 REPLIES 5
Read only

Former Member
0 Likes
524

Hi,

parameters: p_check type c.

parameters: p_group type c.

at selection-screen output.

loop at screen.

if screen-name = 'P_GROUP'.

screen-input = '0'.

modify screen.

endif.

endloop.

start-of-selection.

if sy-slset <> space.

clear p_group.

endif.

Reward if it helps..

Regards,

Omkar.

Read only

former_member582701
Contributor
0 Likes
525

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-name = 'P_LIFNR'. " name of parameter

screen-input = 0.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

regard and reward!

Read only

Former Member
0 Likes
524

Hi,

can you use

loop at screen.

if screen-field = 'field'.

screen-invisible = '1'.

modify screen

endif.

endloop.

thanks & regards,

Venkatesh

Read only

Former Member
0 Likes
524

Hi

select-option : s_field type i invisible.

reward if usefull

Read only

Former Member
0 Likes
524

if p_rad_button1 = 'X'

loop at screen .

if screen-name = p_value1.

screen-input = 0.

modify screen.

endloop .

else .

loop at screen .

if screen-name = p_value2.

screen-input = 0. " you have many options like inputut, active, try all those you will understand

modify screen.

endloop .

endif.

rewards if useful,

regards,

nazeer