屏幕中判断必输

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF p_gre = 'X'.
      IF screen-name = 'P_BUK' OR screen-name = 'SE_EKG-LOW'. " 公司代码/采购组上线必输
        screen-required = '2'.
        MODIFY SCREEN.
        CLEAR: se_eko[]. " 清空采购组织
      ENDIF.
    ENDIF.
    IF p_alv = 'X'.
      IF screen-name = 'P_BUK' OR screen-name = 'SE_EKO-LOW'. " 公司代码/采购组织上线必输
        screen-required = '2'.
        MODIFY SCREEN.
        CLEAR: se_ekg[]. " 清空采购组
      ENDIF.
    ENDIF.
  ENDLOOP.
posted @ 2014-01-22 09:20  胡来  阅读(136)  评论(0编辑  收藏  举报