Monday 25 June 2012

For dynamic screen in the modulepool program (loop at screen)

  LOOP AT SCREEN.
  if screen-group1 = 'G1' and gdf_sd ne gcf_x.
    screen-INVISIBLE = 1.

  ENDIF.

  if screen-group1 = 'G2' and gdf_mm ne gcf_x.
     screen-INVISIBLE = 1.

  ENDIF.

  if screen-group1 = 'G3' and gdf_fi ne gcf_x.
     screen-INVISIBLE = 1.
  ENDIF.

  if screen-group1 = 'G4' and gdf_fi ne gcf_x.
     screen-INVISIBLE = 1.
  ENDIF.

MODIFY SCREEN.

ENDLOOP.

No comments:

Post a Comment