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.

  • 相关阅读:
    后海日记(6)
    后海日记(6)
    后海日记(5)
    后海日记(5)
    TCP 连接的握手信息详解
    TCP 连接的握手信息详解
    java枚举类型的优势在哪里?--一个实例
    java枚举类型的优势在哪里?--一个实例
    网络基础之网络协议篇
    mysql之innodb引擎的共享表空间和独立表空间
  • 原文地址:https://www.cnblogs.com/wequst/p/1538409.html
Copyright © 2011-2022 走看看