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: 

How to 'Gray Out ' Parameter field

jandrivay
Participant
0 Kudos

Hi All,
Please help how to grey out this parameter.
i need when i tick p_3m,
parameter p_3mrp active, else parameter p_3mrp is grey.
Thank you.

   IF p_3m = 'X'.
      IF screen-name = 'P_3MRP'.
        screen-input = 1.
      ELSE.
        screen-input = 0.
    ENDIF.
   ENDIF.
3 REPLIES 3

FredericGirod
Active Contributor

Your code is OK, you just need a MODIFY SCREEN.

former_member1716
Active Contributor
0 Kudos

Hello Hotman Jandri Vay Sianturi,

Below Code should work for you.

   IF p_3m = 'X'.
      IF screen-name = 'P_3MRP'.
        screen-input = 1.
      ELSE.
        screen-input = 0.
      ENDIF.
    MODIFY SCREEN.
   ENDIF.

Regards!

0 Kudos

thank you sir,
my problem resolved