zoukankan      html  css  js  c++  java
  • AT SELECTIONSCREEN的用法

    *&---------------------------------------------------------------------*
    *& Report  AT
    *& 作成者:張玉剛
    *&---------------------------------------------------------------------*
    *& 作成日  :2009/08/04
    *& 処理概要:AT SELECTION-SCREEN
    *&---------------------------------------------------------------------*

    REPORT  AT.

    *&---------------------------------------------------------------------*
    *& AT SELECTION-SCREEN ON.....
    *&---------------------------------------------------------------------*
    SELECT-OPTIONS SEL0 FOR SY-TVAR0.

    SELECTION-SCREEN BEGIN OF BLOCK BL0.
      SELECT-OPTIONS SEL1 FOR SY-TVAR1.

      SELECTION-SCREEN BEGIN OF BLOCK BL1.
        PARAMETERS P0 RADIOBUTTON GROUP RADI.
        PARAMETERS P1 RADIOBUTTON GROUP RADI.

        SELECTION-SCREEN BEGIN OF BLOCK BL2.
          PARAMETERS P3.
        SELECTION-SCREEN END   OF BLOCK BL2.

        SELECT-OPTIONS SEL2 FOR SY-TVAR2.

      SELECTION-SCREEN END   OF BLOCK BL1.

    SELECTION-SCREEN END   OF BLOCK BL0.


    *AT SELECTION-SCREEN ON  SEL0.
    *  MESSAGE 'A AS' TYPE 'I'.
    *
    *AT SELECTION-SCREEN ON  RADIOBUTTON GROUP RADI.
    *  MESSAGE 'AASDFGDFGFG' TYPE 'I'.

    *&---------------------------------------------------------------------*
    *& AT SELECTION-SCREEN OUTPUT.....
    *&---------------------------------------------------------------------*
    SELECT-OPTIONS NAME FOR SY-REPID MODIF ID XYZ.
    ...
    "注意CHECK SCREEN-GROUP1的用法
    "SCREEN-INTENSIFIED的用法:修改现实的控件的颜色
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        CHECK SCREEN-GROUP1 = 'XYZ'.
        SCREEN-INTENSIFIED = '1'.
        MODIFY SCREEN.
      ENDLOOP.

  • 相关阅读:
    生成组合算法
    今天复习C++的const,又学到了很多内容,总结一下[原创]
    文字和图片在一行,文字靠左,图片靠右(div)[转]
    联合查询
    排序查询
    分页查询 ★
    分组查询
    基础查询
    条件查询
    连接查询 (二)sql99语法
  • 原文地址:https://www.cnblogs.com/wequst/p/1538409.html
Copyright © 2011-2022 走看看