Skip to Content
avatar image
Former Member

custom screen fields are grayed out(not able to edit) after EHP7 upgrade?

Hi,

I am stuck in the place where i have to edit/hide a custom screen field. But the screen fields are grayed out and starting with * in the attributes tab. I feel this is due to EHP7 upgrade(because the screen created after EHP7 upgrade are editable) the screen which i try to edit is created before upgrade.

Please help.

Thanks & Regards,

Prince.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 05, 2017 at 06:53 AM

    Hi Prince,

    In My knowledge i don't thing so its due to Upgrade because you are talking about CUSTOM SCREEN Field .

    just check with the code or activation thing.

    I am attaching code for graying out field

    Br,

    Rizu

     parameters: p_rad1 
         radiobutton group grp1 default 'X'
                        user-command check.
     parameters: p_rad2 
         radiobutton group grp1.
      
     parameters: p_field1 type c,
                 p_field2 type c.
      
      
     at selection-screen output.
      
       loop at screen.
         if ( p_rad1 = 'X' and screen-name =
         'P_FIELD2' )
         or ( p_rad2 = 'X'
         and screen-name = 'P_FIELD1' ).
           screen-input = '0'.
         endif.
         modify screen.
    
    
      endloop.
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 05, 2017 at 08:49 AM

    Hi Rizu,

    Thanks for your reply.

    i forgot to mention, that field is in maintenance view(TMG), previously it is given for user to update but now it should get updated through event. So i want to hide the field from the screen.

    Regards,

    Prince.

    Add comment
    10|10000 characters needed characters exceeded