Tuesday, 19 February 2013

Module Pool : To make few fields in a screen to INVISIBLE



Group a number of fields ( whether it is input or output  doesn't matter ) , give a group name to it.
Check the below example using group name.


Below is the example



  LOOP AT SCREEN.
    IF screen-group1 '001'.
      screen-invisible '1'.
      screen-input '0'.
      screen-output '0'.
      screen-active '0'.
      MODIFY SCREEN.
    ENDIF.

   IF screen-group2 '111'.
      screen-input '0'.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.