Quantcast
Viewing all articles
Browse latest Browse all 8451

Disabling field is not working

SELECTION-SCREEN:begin of BLOCK b1 with FRAME TITLE text-000.

     SELECT-OPTIONS:s_matnr for mara-matnr,

     s_werks for mard-werks,

     s_lgort for mard-werks.

     SELECTION-SCREEN:end of BLOCK B1.


INITIALIZATION.

select matnr from mara into TABLE it_mara where matnr in s_matnr.

   loop at it_mara into wa_mara.

     s_matnr-low = wa_mara-matnr.

     s_matnr-sign = 'I'.

     s_matnr-option = 'EQ'.

     append s_matnr.

     ENDLOOP.

 

     at selection-SCREEN output.

       loop at screen.

         if screen-name = 's_matnr-low' or screen-name = 's_matnr-high'.

           screen-input = 0.

           MODIFY SCREEN.

           ENDIF.

         ENDLOOP.



This should make my selection screen matnr field readonly but this doesn't work...any thoughts??


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>