首页 > 代码库 > [SAP ABAP开发技术总结]各种选择屏幕元素演示

[SAP ABAP开发技术总结]各种选择屏幕元素演示

<script type="text/javascript">// </script>

声明:原创作品转载时请注明文章来自SAP师太博客并以超链接形式标明文章原始出处否则将追究法律责任!
原文出自:

12.5.     各种屏幕元素演示

技术分享

TABLES: mara,marc.
DATA: g_pg(24).

SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-001.
 
PARAMETERS: p_bukrs LIKE t001-bukrs OBLIGATORY."Company code
 
SELECT-OPTIONS:
  s_werks
FOR marc-werks OBLIGATORY NO INTERVALS,
  s_matnr
FOR mara-matnr NO-EXTENSION ,
                   s_segme
FOR g_pg."参照普通变量
 
PARAMETERS: p_line(6).
 
SELECTION-SCREEN SKIP 1.
 
PARAMETERS: p_x1 RADIOBUTTON GROUP gp1 DEFAULT ‘X‘,
              p_x2
RADIOBUTTON GROUP gp1.
 
PARAMETERS: p_old TYPE c  AS CHECKBOX.
 
PARAMETERS: p_oldhir LIKE grpdynp-name_coall MODIF ID m1 DEFAULT ‘ABB_CHINA.XXXX‘.

 
SELECTION-SCREEN:SKIP 1.
 
SELECTION-SCREEN BEGIN OF LINE.
   
PARAMETERS: p_dwload AS CHECKBOX.
   
SELECTION-SCREEN COMMENT 5(29) text-001.
   
PARAMETERS: p_file TYPE string.
 
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK
bk1.

[SAP ABAP开发技术总结]各种选择屏幕元素演示