Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8538

Re: disable columns in table control based on condition

$
0
0

Hi Susmitha,

 

   I made with this

w_month = sy-datum+4(2).

*IF cols-SCREEN-name = .

       LOOP AT tc-cols INTO cols.

 

         IF w_month = 01 AND

            cols-screen-name = 'ZEXT_RPT_WA-JANY'.

           cols-screen-active = 1.

           cols-screen-input = 1.

           cols-screen-output = 1.

         ELSEif cols-screen-name = 'ZEXT_RPT_WA-JANY' .

           cols-screen-active = 0.

*           cols-screen-input = 1.

*           cols-screen-output = 1.

         ENDIF.

         MODIFY tc-cols FROM cols.

 

Its working fine but for new entry it would work but what about change if the user clicked on change will the values entered before for others months be visible or not.

 

Thanks

Gaurav


Viewing all articles
Browse latest Browse all 8538

Trending Articles



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