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

Disable a field

Former Member
0 Likes
544

Hi Experts

How to disable a particular field in dialog programming.

Thanks in advance

Regards

Rajaram

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
520

Try this:


  loop at screen.
    if screen-name eq 'PARTICULAR_FIELD'.
      screen-invisible = '1'.
      modify screen.
    endif.
  endloop.

Regards Martin

3 REPLIES 3
Read only

Former Member
0 Likes
520

Hi

goto that filed properties and there you will find some options for that filed

like disable input output etc...

so click on that check box disable and then activate it

then that field will disable

Reward if usefull

Read only

former_member194152
Contributor
0 Likes
520

hi,

for disable field go to screen painter and then click on the property of field then in attribut window there is a tab with name program in that tab a property is mentioned with input field you choos not possible then activate object now run the program you field now disabled.

cheers.........

rewards if helpful.

Regards

Gagan

Read only

Former Member
0 Likes
521

Try this:


  loop at screen.
    if screen-name eq 'PARTICULAR_FIELD'.
      screen-invisible = '1'.
      modify screen.
    endif.
  endloop.

Regards Martin