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.

  • 相关阅读:
    函数Sort()
    数据窗口中数值型对象的显示格式
    函数IsValid()
    20130109显示器无反应
    DropDownPictureListBox设置默认项
    大数据
    字符串函数Mid()
    Jquery获取当前元素所在表格的行列数
    关于模式窗口中treeView问题
    格式化字符串长度 超出指定长度用....代替
  • 原文地址:https://www.cnblogs.com/wequst/p/1538409.html
Copyright © 2011-2022 走看看