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

Re: disable columns in table control based on condition

$
0
0

Hello

Firstly calculate current month using sy-datum(date) .

lv_month = date+4(6).

 

loop at my_control-cols into wa.

if wa-index <> lv_MONTH. "your hidden column (Column which is not equal to current month)

wa-invisible = 1. OR wa-input = 0.

endif.

modify my_control-cols from wa.

endloop.


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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