SAP 选择屏幕的上方 (sscrfields) 按钮设置

TABLES sscrfields.                 

PARAMETERS: p_carrid TYPE s_carr_id,

            p_cityfr TYPE s_from_cit.

SELECTION-SCREEN: FUNCTION KEY 1,   "激活按钮

                  FUNCTION KEY 2.

INITIALIZATION.

  sscrfields-functxt_01 = 'LH'.    "定义按钮文本

  sscrfields-functxt_02 = 'UA'.

AT SELECTION-SCREEN.

  CASE sscrfields-ucomm.          "处理按钮命令

      WHEN'FC01'.

      p_carrid = 'LH'.

      p_cityfr = 'Frankfurt'.

    WHEN 'FC02'.

      p_carrid = 'UA'.

      p_cityfr = 'Chicago'.

  ENDCASE.

START-OF-SELECTION.
--------------------- 
作者:雾气 
来源:CSDN 
原文:https://blog.csdn.net/qq_16116183/article/details/80071881 
版权声明:本文为博主原创文章,转载请附上博文链接!

结果显示:

 

posted @ 2019-06-27 09:26  犹冷  阅读(974)  评论(0编辑  收藏  举报